Skip to main content

Image Generation

Generate an image from a text prompt. To find models, filter the Models page by β€œText to image”.
Start the generation
Wait for it to finish

Parameters

  • model: Model name, for example gpt-image-2-5-sunburst
  • prompt: What to generate
  • num_generations: Number of images, 1 to 4 (optional, default 1)
Models can take more parameters, listed in each model’s API reference. The queue reference covers the rest of the queue API.