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

# Seedream 5.0 Lite 文生图

> 通过 AnyFast 调用 ByteDance Seedream 5.0 Lite，根据文本生成单图或连贯组图。

Seedream 5.0 Lite 文生图是 ByteDance 面向单图与连贯组图输出的文本生成图片工作流，在提示词理解、知识型视觉内容、文字渲染及组图一致性方面表现出色。

模型 ID 为 `seedream-5-0-lite-260128`。

<Info>
  对于特定内容请求，请选择 **Special-Ns** 资源分组。
</Info>

## 核心能力

* **文生图** — 根据自然语言提示生成图片。
* **组图生成** — 生成风格和角色一致的分镜、漫画、品牌物料或其他系列图片。
* **知识型视觉内容** — 生成图表、公式、教学插图和高信息密度图片。

## 文生图

```bash cURL theme={null}
curl https://www.anyfast.ai/v1/images/generations \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "seedream-5-0-lite-260128",
    "prompt": "一张讲解水循环的简洁信息图，标注准确，信息层级清晰，蓝绿色配色",
    "size": "2K",
    "output_format": "png",
    "response_format": "url",
    "watermark": false
  }'
```

## 组图生成

将 `sequential_image_generation` 设为 `auto`，并通过 `max_images` 限制图片数量。

```json theme={null}
{
  "model": "seedream-5-0-lite-260128",
  "prompt": "生成四张连贯的电影分镜：宇航员维修飞船、遭遇陨石雨、躲避撞击、最终安全返回",
  "size": "2K",
  "sequential_image_generation": "auto",
  "sequential_image_generation_options": {
    "max_images": 4
  },
  "output_format": "png",
  "response_format": "url",
  "watermark": false
}
```

## 参数

| 参数                                               | 类型      | 必填 | 说明                                       |
| ------------------------------------------------ | ------- | -- | ---------------------------------------- |
| `model`                                          | string  | 是  | 必须为 `seedream-5-0-lite-260128`。          |
| `prompt`                                         | string  | 是  | 图片生成或编辑提示词。                              |
| `size`                                           | string  | 否  | 分辨率档位 `2K`、`3K`、`4K`，或受支持的明确像素尺寸。        |
| `seed`                                           | integer | 否  | 随机种子，用于提高重复请求结果的一致性。                     |
| `sequential_image_generation`                    | string  | 否  | `auto` 开启组图生成；`disabled` 只生成一张图片。        |
| `sequential_image_generation_options.max_images` | integer | 否  | 开启组图生成时，最多返回的图片数量。                       |
| `response_format`                                | string  | 否  | `url` 或 `b64_json`。生成的 URL 将在 24 小时后失效。  |
| `output_format`                                  | string  | 否  | `png` 或 `jpeg`。                          |
| `watermark`                                      | boolean | 否  | 是否添加“AI 生成”水印。                           |
| `optimize_prompt_options.mode`                   | string  | 否  | 提示词优化模式。Seedream 5.0 Lite 支持 `standard`。 |

<Card title="API 参考" icon="code" href="/zh/api-reference/model-api/bytedance/seedream-5-0-lite-260128-t2i">
  打开 Seedream 5.0 Lite 文生图交互式 API 参考。
</Card>

<script src="/feedback.js" />
