Media · Image · Magic inpaint — AI object removal / replacement
Remove or replace objects in an image, guided by prompt, with no mask
needed (the model locates the target). Use for “remove the person” /
“replace the car with a bike”. With an explicit mask region use
generativeFill; to extend beyond the borders use imageOutpainting.
Async — returns a task_id (auto-polled).
Authentication
AuthorizationApi-Key
Header authentication of the form Api-Key <token>
OR
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
image_url
URL of the source image.
prompt
Text description of the desired result.
scale
Guidance scale for generation strength.
Response
Async task queued.
task_id
Poll GET /api/v1/tasks/{task_id} until SUCCESS or FAILURE.
