Create image
Last updated
Last updated
Create an image from a prompt.
/images
The prompt to generate the image from.
The aspect ratio of the image.
9:16
, 16:9
, 1:1
The ID of the image style to use. Use the List image styles endpoint to get a list of available image styles.
If you want to add the generated image to a video scene you can specify it here.
If false, this endpoint immediately returns the incomplete image record, and you can poll the Get image endpoint until the task completes. If true, this endpoint waits until the image generation completes, then returns the complete image record. Defaults to false.