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

# Seedance 2.0 Mini 多模态参考生视频

> 适用于 `dreamina-seedance-2-0-mini-260615` 模型。



## OpenAPI

````yaml api-reference/zh-Hans/zmodelVideo/byteplus/dreamina-seedance-2-0-mini-multimodal-reference-to-video.json POST /v1/videos
openapi: 3.0.1
info:
  title: Seedance 2.0 Mini 多模态参考生视频
  version: 1.0.0
  description: Dreamina Seedance 2.0 Mini 多模态参考生视频能力。
  license:
    name: Project License
    url: https://github.com/QuantumNous/new-api/blob/main/LICENSE
servers:
  - url: https://api.powertokens.ai
    description: Baze API 服务地址
security: []
tags:
  - name: Seedance Video
    description: Seedance 系列视频生成能力
paths:
  /v1/videos:
    post:
      tags:
        - Seedance Video
      summary: Seedance 2.0 Mini 多模态参考生视频
      description: 适用于 `dreamina-seedance-2-0-mini-260615` 模型。
      operationId: seedance20MiniReferenceToVideoZh
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MultimodalReferenceRequest'
            examples:
              multimodal_reference:
                summary: 多模态参考生视频
                value:
                  model: dreamina-seedance-2-0-mini-260615
                  media:
                    - type: text
                      text: 补充的提示词
                    - type: reference_image
                      url: https://example.com/img1.jpg
                    - type: reference_video
                      url: https://example.com/motion.mp4
                    - type: reference_audio
                      url: https://example.com/audio.mp3
                  seconds: '-1'
                  size: 720p
                  ratio: '16:9'
                  generate_audio: false
                  return_last_frame: false
                  safety_identifier: user_123
      responses:
        '200':
          description: 提交成功，返回视频任务对象。
      security:
        - BearerAuth: []
components:
  schemas:
    MultimodalReferenceRequest:
      type: object
      required:
        - model
        - media
      properties:
        model:
          type: string
          enum:
            - dreamina-seedance-2-0-mini-260615
          description: 视频生成模型名称。固定为 `dreamina-seedance-2-0-mini-260615`。
        media:
          type: array
          minItems: 1
          items:
            $ref: '#/components/schemas/VideoMediaInput'
          description: >-
            多模态输入数组。2.0 Mini 支持
            `text`、`first_frame`、`last_frame`、`reference_image`、`reference_video`、`reference_audio`。
        seconds:
          type: string
          description: 视频生成时长（秒）的字符串形式。支持 `"-1"`（智能选择）或 `"4"` 到 `"15"`。
          default: '5'
          example: '5'
          enum:
            - '4'
            - '5'
            - '6'
            - '7'
            - '8'
            - '9'
            - '10'
            - '11'
            - '12'
            - '15'
            - '-1'
        size:
          type: string
          enum:
            - 480p
            - 720p
          description: 视频输出规格参数。默认 720p。
          default: 720p
        ratio:
          type: string
          enum:
            - '16:9'
            - '4:3'
            - '1:1'
            - '3:4'
            - '9:16'
            - '21:9'
            - adaptive
          description: 视频宽高比。文生视频默认 16:9，图生视频默认 `adaptive`。
          default: '16:9'
        seed:
          type: integer
          description: 随机数种子，取值范围 [-1, 4294967295]。
          default: -1
          minimum: -1
          maximum: 4294967295
        watermark:
          type: boolean
          description: 是否添加水印。
          default: false
        generate_audio:
          type: boolean
          description: 是否生成与画面同步的声音。2.0 系列支持。
          default: true
        return_last_frame:
          type: boolean
          description: 是否返回尾帧图像。
          default: false
        safety_identifier:
          type: string
          description: 终端用户唯一标识，用于合规检测。仅 2.0 系列支持，长度不超过 64 个字符。
    VideoMediaInput:
      type: object
      required:
        - type
      properties:
        type:
          type: string
          enum:
            - text
            - reference_image
            - reference_video
            - reference_audio
          description: 媒体类型。`text` 需要 `text` 字段；其他类型需要 `url` 字段。
        url:
          type: string
          description: 媒体地址。`type=text` 时不需要；其他类型必填。
        text:
          type: string
          description: 文本内容。`type=text` 时必填；其他类型不需要。
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: '在请求头中传入 `Authorization: Bearer <token>`。'

````