Skip to main content
POST
/
v2
/
thumbnail
/
text
cURL
curl -X POST "https://api.pikzels.com/v2/thumbnail/text" \
  -H "X-Api-Key: pkz_yourapikey" \
  -H "Content-Type: application/json" \
  --data-raw '{
  "prompt": "I bought my own island",
  "model": "pkz_4",
  "format": "16:9"
}'
{
  "output": "https://cdn.pikzels.com/example.png",
  "request_id": "18b2ad5e-2a9e-4d3f-b9a8-9f2a1e0b1234"
}

Headers

X-Api-Key
string
required

Your Pikzels API key (prefix: pkz_)

Body

application/json
prompt
string
required
Required string length: 1 - 1000
model
string
default:pkz_4
required

Allowed values: "pkz_2", "pkz_3", "pkz_4".

format
string
required

Allowed values: "16:9", "9:16", "1:1".

support_image_url
string

Reference image (pkz_4 only), HTTPS URL -- provide this or support_image_base64

support_image_base64
string

Reference image (pkz_4 only), base64 data URL -- provide this or support_image_url

persona
string

Pikzonality persona ID

style
string

Pikzonality style ID

Response

Success

output
string

URL to generated thumbnail (expires in 24h)

request_id
string