Bytedance Seedream 5.0 Pro Image Generate
54积分/次起
ae_bytedance_seedream_5_0_pro_image_generate
Seedream 5.0 Pro 文生图。
54积分/次起
价格说明
54积分/次起
| 条件 | 费用 |
|---|---|
| 1K 或 1.5K | 54积分/次 |
| 2K | 108积分/次 |
按所选档位及计费规则收费。
工具参数
未传入的可选参数将使用平台默认值。
| 参数 | 类型 | 必填 | 说明 | 默认值 |
|---|---|---|---|---|
request_body | object | 是 | 暂无参数说明。 | — |
request_body.prompt | string | 是 | The positive prompt for the generation. | — |
request_body.resolution | enum (1k | 1.5k | 2k) | 否 | The output resolution tier used for billing. 1k is the lower-cost tier; 2k is the higher-cost tier. | 1k |
request_body.aspect_ratio | enum (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) | 否 | The aspect ratio of the generated image. Defaults to 1:1. | 1:1 |
request_body.output_format | enum (jpeg | png) | 否 | The format of the output image. | jpeg |
request_body.prompt_optimization_mode | enum (standard | fast) | 否 | Prompt 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 |
调用示例
提交任务并查询完成结果
POST
/agent-api/v1/tool/executeX-Api-Key先提交任务,再用返回的 task_id 查询,直至完成。
请求代码request.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.json
{
"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"
}返回示例仅展示部分内容,不代表完整响应;复制内容为合法 JSON。







