POST
/
ideogram
/
edit
curl -X POST https://api.example.com/ideogram/edit \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "image": "https://example.com/original.png",
    "prompt": "Add a rainbow in the sky"
  }'
Edit existing images using the Ideogram Generate 3.0 model.

Request Parameters

image
string
required
Original image (base64 or URL).
prompt
string
required
Edit instruction.
mask
string
Mask image (for partial editing).
curl -X POST https://api.example.com/ideogram/edit \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "image": "https://example.com/original.png",
    "prompt": "Add a rainbow in the sky"
  }'