Skip to main content
POST
/
v1
/
images
/
generations
doubao-seededit-3-0-i2i-250628 (image edit)
curl --request POST \
  --url https://api.example.com/v1/images/generations
BytePlus’s GPTProto format for the image edit API.
curl -X POST "https://gptproto.com/v1/images/generations" \
  -H "Authorization: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "doubao-seededit-3-0-i2i-250628",
  "prompt": "Change bubbles into heart shape",
  "image": "https://ark-project.tos-cn-beijing.volces.com/doc_image/seedream_i2i.jpeg",
  "response_format": "url",
  "size": "adaptive",
  "seed": 21,
  "guidance_scale": 5.5,
  "watermark": true
}'
{
  "error": {
    "message": "Invalid signature",
    "type": "401"
  }
}

Parameters

ParameterTypeRequiredDefaultDescription
modelstring✅ Yesdoubao-seededit-3-0-i2i-250628The model to use for the request
promptstring✅ YesChange bubbles into heart shapeImage generation prompt describing the desired image content
imagestring❌ Nohttps://ark-project.tos-cn-beijing.volces.com/doc_image/seedream_i2i.jpegInput image URL(s) for image-to-image generation
response_formatstring❌ NourlResponse format: “url” (image URL) or “b64_json” (base64 encoded)
sizestring❌ NoadaptiveOutput image resolution (e.g., 1024x1024, 2K, 4K)
seedinteger❌ No21Random seed for reproducible results
guidance_scalenumber❌ No5.5Controls how closely the image follows the prompt (higher = more strict, typical range: 1.0-7.0)
watermarkboolean❌ NotrueWhether to add watermark to generated image