Skip to main content

Text to image

Set seed_mode to custom and provide an integer seed from 0 through 1999999999 when you need repeatable sampling.

Generated-library image input

image_to_image and image_edit require source_creation_id. The ID must belong to the API key’s account and reference a completed, safety-passed image from the generated library.
Direct file uploads, base64 media, remote image URLs, and arbitrary upload IDs are unsupported.