Create from text
Generate a thumbnail from a text prompt.
Generated output URLs expire after 24 hours.
Authorizations
Your Pikzels API key (prefix: pkz_)
Body
Cannot contain URLs. Prompts longer than 750 characters may be automatically shortened before generation; the response reports this via prompt_compacted
1 - 3000^(?!.*[Hh][Tt][Tt][Pp]).+$Allowed values: "pkz_2", "pkz_3", "pkz_4", "pkz_4_5".
pkz_2, pkz_3, pkz_4, pkz_4_5 Allowed values: "16:9", "9:16", "1:1".
16:9, 9:16, 1:1 Reference image (pkz_4 and pkz_4_5 only), HTTPS URL. A YouTube watch URL resolves to that video's current thumbnail. If both support_image_url and support_image_base64 are provided, support_image_url is used.
^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.
^data:image/[a-zA-Z0-9.+-]+;base64,Persona ID. Only personas created through this API can be used, and only on pkz_4 and pkz_4_5
Style ID. Only styles created through this API can be used, and only on pkz_4 and pkz_4_5
