Skip to main content

Editing

Instruction-based image editing via natural-language prompts. Change scenes, swap objects, and adjust composition without masks.

POST /edit/image/v1 — edit input_image according to prompt.

curl https://api.imagepipeline.io/edit/image/v1 \
-H "X-API-Key: $IMAGEPIPELINE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input_image": "https://.../photo.webp",
"prompt": "change the jacket to navy blue and add soft rim lighting",
"faster_inference": true
}'
FieldDefaultNotes
promptRequired. The edit instruction.
input_imageImage to edit.
modeOptional editing mode.
refine_strengthHow aggressively to apply the edit.
faster_inferencetrueTrade a little quality for speed.
output_formatwebpwebp, jpeg, or png.
seed-1Set for reproducibility.

Returns a job_id; poll GET /edit/image/v1/status/{job_id} or use a webhook.