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

# Seedance 1.5 Pro 文生视频

> Seedance 1.5 Pro API 可生成视频场景，可选生成音频，并可固定镜头以控制构图。

> [!TIP]
>
> 1. 提交后会返回 `task_id`。如果提供了 `callback_url`，当任务状态变为 `finished` 或 `failed` 时，系统会向 `callback_url` 发送 POST 请求。
> 2. 无论是否提供 `callback_url`，都可以通过统一的[查询任务状态](https://docs.vidgo.ai/zh/api-manual/task-management/status.md)接口获取结果。

使用 Seedance 1.5 Pro 生成视频场景，可选生成音频，并可固定镜头以控制构图。

## 模型

* **bytedance/seedance-v1.5-pro/text-to-video** - 根据文本提示词生成视频场景。

## 功能

* 根据文本提示词生成视频场景。
* 输出分辨率可选 `480p`、`720p`、`1080p`。

## 时长选项

* **4、8、12 秒** - 将 `duration` 设为整数。必填。

## 高级参数

`model` 和可选的 `callback_url` 放在请求根级。所有工作流参数（包括输出选项）都放在 `input` 中。

### 提示词

* `prompt`：必填。描述场景和期望的运动。长度：**3-2,500 个字符**。
* 计算 Unicode 字符数前会去除首尾空白。

### 宽高比

* `aspect_ratio`：必填。可选值：`1:1`、`21:9`、`4:3`、`3:4`、`16:9`、`9:16`。

### 分辨率

* `resolution`：可选。可选值：`480p`、`720p`、`1080p`。省略时 Vidgo 默认为 `720p`。

### 固定镜头

* `fixed_lens`：可选。控制是否固定镜头生成。使用 `true` 或 `false`。

### 生成音频

* `generate_audio`：可选。设为 `true` 生成同步音频，设为 `false` 生成无声视频。省略时 Vidgo 默认为 `true`。


## OpenAPI

````yaml zh/api-manual/video-series/bytedance-seedance-v1-5-pro-text-to-video.json POST /api/generate/submit
openapi: 3.0.0
info:
  title: Vidgo API - Seedance 1.5 Pro 文生视频
  description: 使用 Seedance 1.5 Pro 生成视频场景，可选生成音频，并可固定镜头以控制构图。
  version: 1.0.0
servers:
  - url: https://api.vidgo.ai
security:
  - BearerAuth: []
paths:
  /api/generate/submit:
    post:
      tags:
        - Video Series
      summary: Seedance 1.5 Pro 文生视频
      description: >-
        提交 Seedance 1.5 Pro 文生视频任务。model 和可选的 callback_url 放在请求根级，生成参数放在 input
        中。
      operationId: submit_bytedance_seedance_v1_5_pro_text_to_video
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - model
                - input
              additionalProperties: true
              properties:
                model:
                  type: string
                  example: bytedance/seedance-v1.5-pro/text-to-video
                input:
                  type: object
                  required:
                    - aspect_ratio
                    - duration
                    - prompt
                  properties:
                    prompt:
                      type: string
                      minLength: 3
                      maxLength: 2500
                      description: 描述场景、主体动作、镜头运动和声音。去除首尾空白后为 3–2,500 个 Unicode 字符。
                    aspect_ratio:
                      type: string
                      enum:
                        - '1:1'
                        - '21:9'
                        - '4:3'
                        - '3:4'
                        - '16:9'
                        - '9:16'
                      description: 输出画面宽高比：1:1、21:9、4:3、3:4、16:9 或 9:16。
                    resolution:
                      type: string
                      enum:
                        - 480p
                        - 720p
                        - 1080p
                      description: 输出分辨率：480p、720p 或 1080p。省略时 Vidgo 默认为 720p。
                      default: 720p
                    duration:
                      type: integer
                      enum:
                        - 4
                        - 8
                        - 12
                      description: 视频时长（秒）。传整数 4、8 或 12。
                    fixed_lens:
                      type: boolean
                      description: 设为 true 固定镜头，设为 false 允许镜头运动。
                    generate_audio:
                      type: boolean
                      description: 设为 true 生成同步音频，设为 false 生成无声视频。省略时 Vidgo 默认为 true。
                      default: true
                  additionalProperties: false
                callback_url:
                  type: string
                  nullable: true
                  description: >-
                    可选，接收任务完成通知的公开 HTTP(S) URL。使用 HTTPS 以接收 finished 或 failed
                    的任务结果。
              description: model 和可选的 callback_url 放在请求根级，生成参数放在 input 中。
            examples:
              basic:
                summary: 基础工作流
                value:
                  model: bytedance/seedance-v1.5-pro/text-to-video
                  input:
                    aspect_ratio: '1:1'
                    duration: 4
                    generate_audio: false
                    prompt: >-
                      A quiet forest under soft morning light, with natural
                      detail.
                    resolution: 480p
              callback:
                summary: 接收完成回调
                value:
                  model: bytedance/seedance-v1.5-pro/text-to-video
                  input:
                    aspect_ratio: '1:1'
                    duration: 4
                    generate_audio: false
                    prompt: >-
                      A quiet forest under soft morning light, with natural
                      detail.
                    resolution: 480p
                  callback_url: https://your-domain.com/callback
      responses:
        '200':
          description: 任务已提交
          content:
            application/json:
              schema:
                type: object
                required:
                  - code
                  - data
                properties:
                  code:
                    type: integer
                    enum:
                      - 200
                  data:
                    type: object
                    required:
                      - task_id
                      - status
                      - created_time
                    properties:
                      task_id:
                        type: string
                      status:
                        type: string
                        enum:
                          - not_started
                          - running
                          - finished
                          - failed
                      created_time:
                        type: string
                        format: date-time
              example:
                code: 200
                data:
                  task_id: task-unified-example
                  status: running
                  created_time: '2026-09-10T08:00:00'
        '400':
          description: 请求校验或账户余额错误
          content:
            application/json:
              schema:
                type: object
                required:
                  - detail
                properties:
                  detail:
                    oneOf:
                      - type: string
                      - type: object
                        additionalProperties: true
                      - type: array
                        items: {}
        '401':
          description: 凭证无效
          content:
            application/json:
              schema:
                type: object
                required:
                  - detail
                properties:
                  detail:
                    oneOf:
                      - type: string
                      - type: object
                        additionalProperties: true
                      - type: array
                        items: {}
        '403':
          description: 拒绝访问
          content:
            application/json:
              schema:
                type: object
                required:
                  - detail
                properties:
                  detail:
                    oneOf:
                      - type: string
                      - type: object
                        additionalProperties: true
                      - type: array
                        items: {}
        '404':
          description: 模型未知或已停用
          content:
            application/json:
              schema:
                type: object
                required:
                  - detail
                properties:
                  detail:
                    oneOf:
                      - type: string
                      - type: object
                        additionalProperties: true
                      - type: array
                        items: {}
        '408':
          description: 请求超时
          content:
            text/plain:
              schema:
                type: string
              example: Request timeout
        '422':
          description: JSON 无效或请求体不是对象
          content:
            application/json:
              schema:
                type: object
                required:
                  - detail
                properties:
                  detail:
                    oneOf:
                      - type: string
                      - type: object
                        additionalProperties: true
                      - type: array
                        items: {}
        '429':
          description: 超出速率限制或 API Key 积分限额
          content:
            application/json:
              schema:
                type: object
                required:
                  - detail
                properties:
                  detail:
                    oneOf:
                      - type: string
                      - type: object
                        additionalProperties: true
                      - type: array
                        items: {}
        '500':
          description: 内部错误
          content:
            application/json:
              schema:
                type: object
                required:
                  - detail
                properties:
                  detail:
                    oneOf:
                      - type: string
                      - type: object
                        additionalProperties: true
                      - type: array
                        items: {}
        '502':
          description: 生成服务请求失败
          content:
            application/json:
              schema:
                type: object
                required:
                  - detail
                properties:
                  detail:
                    oneOf:
                      - type: string
                      - type: object
                        additionalProperties: true
                      - type: array
                        items: {}
        '503':
          description: 生成服务暂时不可用
          content:
            application/json:
              schema:
                type: object
                required:
                  - detail
                properties:
                  detail:
                    oneOf:
                      - type: string
                      - type: object
                        additionalProperties: true
                      - type: array
                        items: {}
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: 使用 VIDGO_API_KEY。

````

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