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

# Seedream 3.0 文生图

> 字节跳动 Seedream 3.0 文生图 模型，从文本提示词生成图片。

Seedream 3.0 文生图 是字节跳动 Seedream 系列的文生图模型，通过 Starrise AI API 提供服务。

## 核心能力

* **文生图** — 从文本提示词生成图片
* **自定义尺寸** — 灵活的输出尺寸
* **水印控制** — 可选水印和 Logo 配置

## 快速示例

```bash cURL theme={null}
curl https://dayu.cdn-fly.com/v1/images/generations \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "doubao-seedream-3-0-t2i-250415",
    "prompt": "生成女孩和奶牛玩偶在游乐园开心地坐过山车的图片",
    "size": "1024x1024",
    "watermark": false
  }'
```

```python Python theme={null}
import requests

response = requests.post(
    "https://dayu.cdn-fly.com/v1/images/generations",
    headers={
        "Authorization": "Bearer YOUR_API_KEY",
        "Content-Type": "application/json"
    },
    json={
        "model": "doubao-seedream-3-0-t2i-250415",
        "prompt": "生成女孩和奶牛玩偶在游乐园开心地坐过山车的图片",
        "size": "1024x1024",
        "watermark": False
    }
)

task = response.json()
print(f"任务 ID: {task['id']}")
```

## 参数说明

| 参数 | 类型 | 必填 | 说明 |
| - | - | - | - |
| `model` | string | 是 | 固定为 `doubao-seedream-3-0-t2i-250415` |
| `prompt` | string | 是 | 图片生成提示词 |
| `size` | string | 否 | 输出图片尺寸，如 `1024x1024`、`2K` |
| `watermark` | boolean | 否 | 默认 `false` |
| `seed` | integer | 否 | 随机种子，用于复现结果 |
| `logo_info` | object | 否 | 自定义 Logo 水印配置：`add_logo`、`position`、`language`、`opacity` |

> **[API 参考](/zh/api-reference/model-api/bytedance/doubao-seedream-3-0-t2i-250415)**
>
> 查看 Seedream 3.0 文生图 的交互式 API Playground。


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.