edit_image
Modify an existing image by sending a public image URL and a change description to add, remove, or restyle elements while preserving the rest.
Instructions
Edit an existing image with GPT Image 2.5 — change, add, remove or restyle parts of it while keeping the rest. Takes a publicly reachable image URL and a description of the change. $0.029 per edit (2.9 credits), 1024px output. Requires a you.bot API key in YOUBOT_API_KEY — NOT an OpenAI key. Free key with 50 starting credits (~17 images) at https://you.bot.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | The change to make, e.g. 'replace the background with a snowy forest, keep the subject and lighting unchanged'. | |
| image_url | Yes | Public https URL of the source image. Local file paths do not work — the image must be reachable from the internet. | |
| aspect_ratio | No | Shape of the output image. Defaults to 1:1 (square). | 1:1 |