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

# Seedance 1.0 Pro 图生视频

> 字节跳动 Seedance 1.0 Pro 图生视频模型，使用参考图片作为首帧（和尾帧）生成视频。

Seedance 1.0 Pro 图生视频 是字节跳动 Seedance 系列的图生视频模型，通过 Anyfast API 提供服务。使用参考图片作为首帧（和尾帧）生成视频。

## 核心能力

* **图生视频** — 使用参考图片作为首帧
* **首尾帧控制** — 同时指定起始帧和结束帧图片
* **灵活时长** — 2–12 秒
* **多种比例** — 16:9、4:3、1:1、3:4、9:16、21:9、adaptive
* **多种分辨率** — 480p、720p、1080p

## 快速示例

<CodeGroup>
  ```bash cURL theme={null}
  curl https://www.anyfast.com.cn/v1/video/generations \
    -H "Authorization: Bearer YOUR_API_KEY" \
    -H "Content-Type: application/json" \
    -d '{
      "model": "doubao-seedance-1-0-pro-250528",
      "content": [
        {"type": "text", "text": "女孩睁开眼，温柔地看向镜头"},
        {"type": "image_url", "image_url": {"url": "https://example.com/photo.jpg"}, "role": "first_frame"}
      ],
      "ratio": "adaptive",
      "duration": 5,
      "resolution": "720p"
    }'
  ```

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

  response = requests.post(
      "https://www.anyfast.com.cn/v1/video/generations",
      headers={
          "Authorization": "Bearer YOUR_API_KEY",
          "Content-Type": "application/json"
      },
      json={
          "model": "doubao-seedance-1-0-pro-250528",
          "content": [
              {"type": "text", "text": "女孩睁开眼，温柔地看向镜头"},
              {"type": "image_url", "image_url": {"url": "https://example.com/photo.jpg"}, "role": "first_frame"}
          ],
          "ratio": "adaptive",
          "duration": 5,
          "resolution": "720p"
      }
  )

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

## 参数说明

| 参数             | 类型      | 必填 | 说明                                   |
| -------------- | ------- | -- | ------------------------------------ |
| `model`        | string  | 是  | 固定为 `doubao-seedance-1-0-pro-250528` |
| `content`      | array   | 是  | text 项 + 带 `role` 的 image\_url 项     |
| `ratio`        | string  | 否  | 支持 `adaptive`，默认 `16:9`              |
| `resolution`   | string  | 否  | `480p`、`720p`、`1080p`，默认 `720p`      |
| `duration`     | integer | 否  | 2–12 秒，默认 `5`                        |
| `watermark`    | boolean | 否  | 默认 `false`                           |
| `seed`         | integer | 否  | 随机种子                                 |
| `camera_fixed` | boolean | 否  | 默认 `false`                           |

<Card title="API 参考" icon="code" href="/api-reference/model-api/bytedance/doubao-seedance-1-0-pro-250528-i2v">
  查看 Seedance 1.0 Pro 图生视频 的交互式 API Playground。
</Card>

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