Image Editing
Editing works like image generation with images added to the request. Pass their URLs ininput_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β.
- cURL
- Python
Start the edit
Wait for it to finish
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
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.
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.