curl -X POST "https://api.pikzels.com/v2/thumbnail/edit" \
-H "X-Api-Key: pkz_yourapikey" \
-H "Content-Type: application/json" \
--data-raw '{
"prompt": "I bought my own island",
"image_url": "https://cdn.pikzels.com/example.png",
"image_base64": "I bought my own island",
"format": "16:9"
}'{
"output": "https://cdn.pikzels.com/example.png",
"request_id": "18b2ad5e-2a9e-4d3f-b9a8-9f2a1e0b1234"
}Edit an existing thumbnail.
Generated output URLs expire after 24 hours.
curl -X POST "https://api.pikzels.com/v2/thumbnail/edit" \
-H "X-Api-Key: pkz_yourapikey" \
-H "Content-Type: application/json" \
--data-raw '{
"prompt": "I bought my own island",
"image_url": "https://cdn.pikzels.com/example.png",
"image_base64": "I bought my own island",
"format": "16:9"
}'{
"output": "https://cdn.pikzels.com/example.png",
"request_id": "18b2ad5e-2a9e-4d3f-b9a8-9f2a1e0b1234"
}Your Pikzels API key (prefix: pkz_)
Cannot contain URLs
1 - 1000HTTPS URL -- provide this or image_base64
Base64 data URL -- provide this or image_url
Allowed values: "16:9", "9:16", "1:1".
Mask for inpainting area, HTTPS URL -- provide this or mask_base64
Mask for inpainting area, base64 data URL -- provide this or mask_url
Reference image, HTTPS URL -- provide this or support_image_base64
Reference image, base64 data URL -- provide this or support_image_url