Tools
Generation
Design operations
Editing
Brand templates and autofill
Help
generate-image
Generate a standalone image from a text prompt, or edit reference images.
Use generate-image to create photos, illustrations, stickers, icons, graphics, or 2D vectors, or to edit uploaded or generated images.
Example prompt
"Generate a watercolor illustration of a lighthouse at sunset."
Pass a prompt. To edit existing images, pass their media IDs in imageReferences.
Example response
IDs below are placeholders; field names and structure are exactly as returned.
This tool starts an asynchronous job.
{"jobId": "job_EXAMPLE"}
JSON
Returns a jobId. Pass it to get-generate-image-job to get the image.