> ## Documentation Index
> Fetch the complete documentation index at: https://docs.vibetoken.cn/llms.txt
> Use this file to discover all available pages before exploring further.

# Seedream 4.0 — 文本生成图像

> 使用字节跳动 Seedream 4.0 从文本提示词生成图像。

|           |                          |
| --------- | ------------------------ |
| **模型 ID** | `bytedance/seedream-4.0` |
| **系列**    | `seedream-4-0`           |
| **任务**    | `text-to-image`          |
| **提供方**   | ByteDance                |
| **模态**    | 图像                       |
| **价格**    | \$0.03 / 图（刊例价），按 95 折计费 |

## 参数

<ParamField body="prompt" type="string" required>
  要生成图像的文本描述。
</ParamField>

<ParamField body="size" type="string" default="2K">
  输出分辨率。取值为 `1K`、`2K`、`4K` 之一。
</ParamField>

## 示例

```bash theme={null}
curl https://vibetoken.cn/v1/images/generations \
  -H "Authorization: Bearer $VIBETOKEN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "bytedance/seedream-4.0",
    "prompt": "a red panda barista pulling an espresso shot, warm morning light",
    "size": "2K"
  }'
```
