Bytedance Seedream 5.0 Pro Image Generate

From 54 credits/call
ae_bytedance_seedream_5_0_pro_image_generate

Seedream 5.0 Pro text to image. Use when a prompt should produce a new image.

Image
From 54 credits/call

Pricing

From 54 credits/call
ConditionCharge
1K or 1.5K54 credits/call
2K108 credits/call

Charges follow the selected settings and the rates below.

Parameters

Optional parameters use the platform defaults when omitted.

ParameterTypeRequiredDescriptionDefault
request_bodyobjectYesNo parameter description.—
request_body.promptstringYesThe positive prompt for the generation.—
request_body.resolutionenum (1k | 1.5k | 2k)NoThe output resolution tier used for billing. 1k is the lower-cost tier; 2k is the higher-cost tier.1k
request_body.aspect_ratioenum (1:1 | 1:2 | 2:1 | 1:3 | 3:1 | 2:3 | 3:2 | 3:4 | 4:3 | 4:5 | 5:4 | 9:16 | 16:9 | 9:21 | 21:9)NoThe aspect ratio of the generated image. Defaults to 1:1.1:1
request_body.output_formatenum (jpeg | png)NoThe format of the output image.jpeg
request_body.prompt_optimization_modeenum (standard | fast)NoPrompt optimization mode. The model rewrites your prompt before generating. 'standard' uses the full rewrite; 'fast' uses a lighter one that generates several times quicker but follows long or intricate prompts less closely.standard

Invocation example

Copy the request and explore its response example.

POST/agent-api/v1/tool/executeX-Api-Key

Submit first, then query with the returned task_id until the task completes.

Request coderequest.sh
curl --request POST \
  --url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_bytedance_seedream_5_0_pro_image_generate' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "request_body": {
      "aspect_ratio": "4:3",
      "output_format": "jpeg",
      "prompt": "极简产品氛围图,虚构的极简旗舰智能手机平放于浅灰色微水泥台面上,以 45 度俯角拍摄:直板造型,亚光钛灰铝合金平直中框,无边框全面屏亮起但显示纯黑无内容(体现极窄边框),背部磨砂深灰玻璃与竖排三摄矩阵。机身无任何文字、无logo、无品牌标识。背景为一整片浅灰无缝空间,交界处柔和过江;冷调侧顶光从左侧透过,在台面上拉出一道淡淡的柔和阴影,空气中浮尘极淡。构图大量留白,左侧或右侧留出空白区域供排版;安静、克制、高级,现代设计杂志风,科技时尚感,无文字、无水印、无人物、无其他多余道具。",
      "prompt_optimization_mode": "standard",
      "resolution": "1.5k"
    }
  }
}'
Response exampleresponse.json
JSONPartial content
{
  "description": "task accepted; poll the result via query_tool with this task_id",
  "query_tool": "ae_get_result",
  "status": "created",
  "task_id": "7c8222ce-979d-4a2e-962e-6df9b2f058c4"
}

This example shows part of the response. Copied content is valid JSON.