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

# 视频生成-聚合模型



## OpenAPI

````yaml /apidoc/toopen-new.json post /v1/videos
openapi: 3.1.0
info:
  title: AI智能助手
  description: ''
  version: 1.0.0
servers:
  - url: https://open251124.ai.jko.cc
security:
  - BearerAuth: []
tags:
  - name: 视频生成
    description: AI 视频生成及结果查询接口
  - name: 临时储存
    description: 临时文件上传接口
  - name: 视频生成-Seedance2.0（支持人脸）
    description: Seedance2.0（支持人脸）相关接口
  - name: 视频生成-Seedance 原价
    description: Seedance 原价相关接口
  - name: 视频生成-获取生成结果
    description: 获取生成结果相关接口
  - name: 视频生成-谷歌 Omni
    description: 谷歌 Omni相关接口
  - name: 视频生成-Seedance2.0 限时折扣（支持人脸）
    description: Seedance2.0 限时折扣（支持人脸）相关接口
  - name: 视频生成-Seedance2.0 体验1
    description: Seedance2.0 体验1相关接口
  - name: 视频生成-Seedance2.0 体验2
    description: Seedance2.0 体验2相关接口
  - name: 视频生成-Seedance2.0 体验3
    description: Seedance2.0 体验3相关接口
  - name: Seedance 官方-素材库列表
    description: Seedance 官方-素材库列表相关接口
  - name: Seedance 官方-上传素材
    description: Seedance 官方-上传素材相关接口
  - name: Seedance 官方-删除素材
    description: Seedance 官方-删除素材相关接口
  - name: Seedance 官方-更新素材名
    description: Seedance 官方-更新素材名相关接口
  - name: Seedance 官方-获取素材审核结果
    description: Seedance 官方-获取素材审核结果相关接口
paths:
  /v1/videos:
    post:
      tags:
        - 视频生成-聚合模型
      summary: 视频生成-聚合模型
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                duration:
                  type: integer
                  description: 视频生成时长
                  example: 4
                model:
                  type: string
                  description: |-
                    模型名（直接传模型名称：
                    gxc-doubao-seedance-2-0-720p-second，
                    gxc-doubao-seedance-2-0-fast-720p-second，
                    me-MiniMax-H3，
                    jh-buming-seedance-2-0-official-480p，
                    gxc-sd2.0-110，
                    gxc-nv-seedance-2.5，
                    gxc-wan3.0-video，
                    myu-wan3.0-video，
                    myu-wan3.0-video-prime，
                    gxc-doubao-seedance-2-5-720p-second
                    ）
                  example: gxc-wan3.0-video
                prompt:
                  type: string
                  description: 提示词
                  example: 生成一段科幻电影
                  default: 生成一段科幻电影
                ratio:
                  type: string
                  description: |-
                    画面比例（16:9,
                    9:16,
                    1:1,
                    4:3,
                    3:4,
                    21:9）
                  example: '9:16'
                resolution:
                  type: string
                  description: |-
                    分辨率（480p，
                    720p，
                    1080p，
                    2K，
                    3K，
                    4K，
                    768p，
                    1440p）
                  example: 720p
                audio_urls:
                  type: array
                  description: 参考音频链接列表
                  example: []
                image_urls:
                  type: array
                  description: 参考图片链接列表
                  example:
                    - >-
                      https://ark-project.tos-cn-beijing.volces.com/doc_image/i2v_foxrgirl.png
                video_urls:
                  type: array
                  description: 参考视频链接列表
                  example:
                    - >-
                      https://arkdocs.tos-cn-beijing.volces.com/videos/video-generation/seedance2.5_reference2.mp4
                context_ir_enabled:
                  type: integer
                  description: 是否开启提示词优化（0 否 1 是）【注意：当前值仅对MiniMax-H3 系列模型生效】
                  example: 1
                generate_audio:
                  type: integer
                  description: 是否生成音频（0 否 1 是）【注意：当前值仅针对doubao-seedance系列模型】
                  example: 1
                priority:
                  type: integer
                  description: 任务优先级（0 到 9，值越大，优先级越高）
                  example: 9
                return_last_frame:
                  type: integer
                  description: 是否返回最后一帧（0 否 1 是）【注意：当前值仅针对doubao-seedance系列模型】
                  example: 1
                tools:
                  type: string
                  description: 工具：【注意：当前值仅针对doubao-seedance系列模型】
                  example: ''
                watermark:
                  type: integer
                  description: 是否添加水印（0 否 1 是）【注意：当前值仅针对doubao-seedance系列模型】
                  example: 1
              required:
                - duration
                - model
                - prompt
                - ratio
                - resolution
      responses:
        '200':
          description: 成功
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VideoTaskResponse'
              example:
                status: 100
                message: 操作成功
                data:
                  id: 2713472
                  status: Running
                  amount: 21
components:
  schemas:
    VideoTaskResponse:
      type: object
      required:
        - status
        - message
        - data
      properties:
        status:
          type: integer
          description: 状态码，100 表示成功，其他表示失败。
          example: 100
        message:
          type: string
          description: 操作结果的提示消息。
          example: 操作成功
        data:
          $ref: '#/components/schemas/VideoTaskData'
    VideoTaskData:
      type: object
      required:
        - id
        - status
        - amount
      properties:
        id:
          type: integer
          description: 任务的 ID 记录
          example: 11
        status:
          type: string
          enum:
            - Running
            - Success
            - Fail
          description: 状态（Success：执行成功。Running：执行中。Fail：执行失败）
          example: Running
        amount:
          type: number
          description: 任务预计扣除算力
          example: 100
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: |-
        在 Authorization 请求头中传入带 Bearer 头的 API 密钥，例如：Bearer xxxxxx 
        [如何获取 API 密钥？](/dev/open/get-bearer-token)

````

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