Skip to main content

Image Editing

Editing works like image generation with images added to the request. Pass their URLs in input_image along with your prompt. Some models edit the image directly, while others generate images with optional image references. To see all image generation models that can take input images, visit the Models page and filter by β€œImage to image”.
Start the edit
Wait for it to finish
Pass more than one image to combine them:
Image URLs must be public, since the model downloads them.

Parameters

  • model: Model name, for example gpt-image-2-5-sunburst
  • input_image: Image URL, or an array of URLs
  • prompt: What to change or create
Models can take more parameters, listed in each model’s API reference. The queue reference covers the rest of the queue API.

Playground Interface

The model playground allows you to quickly test out the boundaries of any model in the UI. This is a great way to experiment with different prompts and see how the model performs before integrating it into your application. Image editing playground The generated images automatically get saved to a dataset that you can share with your team, download and use to train your own model, or use in your application.