image-editing
Edit or vary an existing image: inpaint masked regions, swap backgrounds, produce
variations from a seed, or upscale — routed to providers that support the edit API,
with governance applied before delivery. All adapters are scaffold-tier (dry-run) until promoted to stable.
When to use
- User asks to edit, modify, inpaint, or make a variation of an existing image.
- Background removal or swap on a provided asset.
- Upscaling or restyling an existing render from a prior generation run.
- Any task that starts from an image rather than a blank brief.
Procedure
- Identify the edit type — classify the request:
inpaint(replace a masked
region), background (remove or swap), variation (alternate version of the
same subject), or upscale (resolution increase).
- Confirm provider support — not all providers support image editing. GPT Image 2
and gemini-image both expose an edit/inpaint endpoint. Flux and Recraft support
variation via seed/ref-image only; Ideogram is largely generate-only. Check
the provider's capability before proceeding.