Перейти к основному содержанию
POST
/
api
/
v2
/
inpaint
Inpaint
curl --request POST \
  --url https://api.example.com/api/v2/inpaint

Documentation Index

Fetch the complete documentation index at: https://docs.elumenta.ru/llms.txt

Use this file to discover all available pages before exploring further.

Regenerate a selected region of an image. Send original image + mask as multipart form.
curl -X POST https://elumenta.ru/api/v2/inpaint \
  -H "Authorization: Bearer nb_YOUR_API_KEY" \
  -F "image=@original.jpg" \
  -F "mask=@mask.png" \
  -F "prompt=A red balloon floating in the sky"
Poll status: GET /api/v2/inpaint/{generation_id}