Skip to main content
POST
/
api
/
v3
/
bytedance
/
seedream-4-5-251128
/
image-edit
seedream-4-5-251128 (image edit)
curl --request POST \
  --url https://api.example.com/api/v3/bytedance/seedream-4-5-251128/image-edit
BytePlus’s GPTProto format for the image edit API.
curl --location 'https://gptproto.com/api/v3/bytedance/seedream-4-5-251128/image-edit' \
--header 'Authorization: sk-xx' \
--header 'Content-Type: application/json' \
--data '{
  "enable_base64_output": false,
  "enable_sync_mode": false,
  "images": [
    "https://d1q70pf5vjeyhc.cloudfront.net/media/92d2d4ca66f84793adcb20742b15d262/images/1757414555847323990_Si8cqCBF.jpeg"
  ],
  "prompt": "Turn this photo into a characterfigure. Behind it, place a box withthe character'\''s image printed on it,and a computer showing the Blendermodeling process on its screen. In frontof the box, add a round plastic basewith the character figure standing on it .set the scene indoors if possible.",
  "size": "2227*3183"
}'

{
  "error": {
    "message": "Invalid signature",
    "type": "401"
  }
}

Parameters

ParameterTypeRequiredDefaultDescription
enable_base64_outputboolean❌ NofalseWhether to output the result as base64 encoded string
enable_sync_modeboolean❌ NofalseWhether to enable synchronous mode (wait for result)
imagesarray✅ Yes["https://d1q70pf5vjeyhc.cloudfront.net/media/92d2d4ca66f84793adcb20742b15d262/images/1757414555847323990_Si8cqCBF.jpeg"]Input image URL(s) for image-to-image generation
promptstring✅ YesTurn this photo into a characterfigure. Behind it, place a box withthe character's image printed on it,and a computer showing the Blendermodeling process on its screen. In frontof the box, add a round plastic basewith the character figure standing on it .set the scene indoors if possible.Image generation prompt describing the desired modifications
sizestring❌ No2227*3183Output image resolution (format: width*height)