Create from image
Generate a thumbnail from a reference image.
Generated output URLs expire after 24 hours.
Authorizations
Your Pikzels API key (prefix: pkz_)
Body
- Option 1
- Option 2
HTTPS URL -- provide this or image_base64. A YouTube watch URL resolves to that video's current thumbnail
^https://\S+$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 Optional instructions for the image. Ignored for pkz_2. 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]).+$Base64 data URL -- provide this or image_url
^data:image/[a-zA-Z0-9.+-]+;base64,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,Only applies to the pkz_2 model. Other models ignore it Allowed values: "low", "medium", "high".
low, medium, high 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
