#imageediting
Modify images using natural language. The specific use of Qwen or Flux is configured by the server backend, and the client does not need to specify a model.
http
POST /v1/images/edit| Parameters | Type | Required | Description |
|---|---|---|---|
image | string | Yes | Original image URL or base64, maximum 10MB |
prompt | string | Yes | A clear description of what is to be modified and what is to be left unchanged |
webhook_url | string | No | Completion callback address |
bash
curl -X POST https://api.modelgo.moneygo.ai/v1/images/edit \
-H "Authorization: Bearer sk-your-key" \
-H "Idempotency-Key: edit-order-1001" \
-H "Content-Type: application/json" \
-d '{"image":"https://example.com/photo.jpg","prompt":"Change the background to a park at sunset while preserving the person and composition"}'