创建文生图任务
ByteDance
Seedream 4.0 文生图
使用 doubao-seedream-4-0-250828 模型从文本生成图片。
POST
创建文生图任务
授权
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
请求体
application/json
Model ID
可用选项:
doubao-seedream-4-0-250828 示例:
"doubao-seedream-4-0-250828"
图片生成提示词。
示例:
"生成女孩和奶牛玩偶在游乐园开心地坐过山车的图片"
输出图片尺寸。
可用选项:
1024x1024, 864x1152, 1152x864, 1312x736, 736x1312, 832x1248, 1248x832, 1568x672, 2048x2048, 1728x2304, 2304x1728, 2848x1600, 1600x2848, 2496x1664, 1664x2496, 3136x1344, 4096x4096, 3520x4704, 4704x3520, 5504x3040, 3040x5504, 3328x4992, 4992x3328, 6240x2656 示例:
"1024x1024"
是否添加水印。
随机种子,用于复现结果。
自定义 Logo 水印配置。

