ComfyUI Node
SeeDream Generate Image
使用豆包SeeDream API生成图像,支持文生图、图生图、多图生图和序列图像生成
SeeDream Generate Image
- image
- image1
- image2
- image3
- image4
- image
- response_text
◄api_key►
◄modeldoubao-seedream-4.0►
◄prompt—►
◄width2048►
◄height2048►
◄sequential_image_generationdisabled►
◄max_images1►
◄response_formaturl►
◄retry_count1►
◄regioncn-beijing►
◄proxy_url►
◄seed-1►
◄timeout0►
◄extra{}►
CategoryYogurtNodes/LLM
Inputs (19)
| Name | Type | Default | Description |
|---|---|---|---|
| api_key | STRING | 豆包SeeDream API密钥 (ARK_API_KEY) | |
| model | STRING | doubao-seedream-4.0 | 豆包SeeDream模型名称 |
| prompt | STRING | 图像生成的提示词 | |
| width | INT | 20481024–4096 | 生成图像的宽度 |
| height | INT | 20481024–4096 | 生成图像的高度 |
| sequential_image_generation | COMBO | disabled | 序列图像生成模式 |
| max_images | INT | 11–10 | 序列生成时的最大图像数量 |
| response_format | COMBO | url | 响应格式:URL或base64编码 |
| retry_count | INT | 11–10 | 请求失败时的重试次数 |
| region | STRING | cn-beijing | — |
| proxy_url | STRING | 代理URL,格式: protocol://user:pass@addr:port,支持http,https,socks5,socks5h | |
| seed | INT | -1-1–2147483647 | 随机种子 |
| timeout | INT | 00–2147483647 | Timeout for the request in seconds, 0 means no timeout |
| imageopt | IMAGE | 输入图像(用于图生图) | |
| image1opt | IMAGE | 输入图像1(用于多图生图) | |
| image2opt | IMAGE | 输入图像2(用于多图生图) | |
| image3opt | IMAGE | 输入图像3(用于多图生图) | |
| image4opt | IMAGE | 输入图像4(用于多图生图) | |
| extraopt | STRING | {} | Extra parameters for the request, in JSON format |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | — |
| response_text | STRING | — |