Skip to main content
GET
/
api
/
v1
/
generate
/
{template}
Serve a signed image URL
curl --request GET \
  --url https://api.kynva.ai/api/v1/generate/{template}
import requests

url = "https://api.kynva.ai/api/v1/generate/{template}"

response = requests.get(url)

print(response.text)
const options = {method: 'GET'};

fetch('https://api.kynva.ai/api/v1/generate/{template}', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
<?php

$curl = curl_init();

curl_setopt_array($curl, [
  CURLOPT_URL => "https://api.kynva.ai/api/v1/generate/{template}",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.kynva.ai/api/v1/generate/{template}"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.get("https://api.kynva.ai/api/v1/generate/{template}")
  .asString();
require 'uri'
require 'net/http'

url = URI("https://api.kynva.ai/api/v1/generate/{template}")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
Drop the URL straight into an og:image meta tag, an <img> src, or a no-code tool — it authenticates by signature, not headers. Mint URLs with sign first. Rendering is deterministic and cached: the same URL never renders twice, and only the first render of a unique URL costs a credit.

Path Parameters

template
string
required

Design preset slug, optionally version-pinned ("promo-bold@3")

Query Parameters

headline
string
subhead
string
body
string
cta
string
profile_id
string

Export profile (default facebook_16x9 — 1200×630, the OG size)

format
enum<string>
Available options:
png,
jpg
seed
string

Deterministic seed override (digits)

uid
string
required

Account attribution — embedded and signed at mint time; do not construct manually

_sig
string
required

URL signature (from POST /sign)

_exp
string

Expiry timestamp (Unix ms); absent = non-expiring

Response

Redirect to the rendered image (immutable CDN URL)