cURL
Thumbnails
Create from text
Generate a thumbnail from a text prompt.
Generated output URLs expire after 24 hours.
POST
cURL
Authorizations
Your Pikzels API key (prefix: pkz_)
Body
application/json
Cannot contain URLs
Required string length:
1 - 3000Pattern:
^(?!.*[Hh][Tt][Tt][Pp]).+$Allowed values: "pkz_2", "pkz_3", "pkz_4", "pkz_4_5".
Available options:
pkz_2, pkz_3, pkz_4, pkz_4_5 Allowed values: "16:9", "9:16", "1:1".
Available options:
16:9, 9:16, 1:1 Reference image (pkz_4 and pkz_4_5 only), HTTPS URL. If both support_image_url and support_image_base64 are provided, support_image_url is used.
Pattern:
^https://\S+$Reference image (pkz_4 and pkz_4_5 only), base64 data URL. If both support_image_url and support_image_base64 are provided, support_image_url is used.
Pattern:
^data:image/[a-zA-Z0-9.+-]+;base64,Persona ID
Style ID
