> ## 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.

# seedance 2.5-官方



## OpenAPI

````yaml /apidoc/toopen-new.json post /workflow/seedanceLongAiVideo
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:
  /workflow/seedanceLongAiVideo:
    post:
      tags:
        - 视频生成-Seedance 2.5 官方
      summary: seedance 2.5-官方
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                model_option:
                  type: integer
                  description: 模型选择（1 Seedance 2.5）
                  enum:
                    - 1
                  example: 1
                prompt:
                  type: string
                  description: 提示词
                  example: 生成一段科幻电影
                resolution_option:
                  type: integer
                  description: 分辨率（1：480p，2：720p）
                  enum:
                    - 1
                    - 2
                  example: 1
                duration:
                  type: integer
                  description: 时长(支持 4 - 30 秒)
                  example: 4
                  minimum: 4
                  maximum: 30
                aspect_ratio:
                  type: integer
                  description: |-
                    画面比例（
                    1：【16:9】，2：【9:16】，3：【1:1】，4：【4:3】，5：【3:4】）
                  enum:
                    - 1
                    - 2
                    - 3
                    - 4
                    - 5
                  example: 4
                reference_urls:
                  type: array
                  description: >-
                    参考图/视频/音频视频:（仅支持mp4、mov格式，分辨率480P、、720P，时长2-15s(总时长不超过15s)，单视频不超过50MB;

                    图片:单图小于30MB(总大小不超过64MB)

                    音频:仅支持wav、mp3格式，时长2-15s，单个音频不超过15MB;）
                  items:
                    oneOf:
                      - type: integer
                        description: 素材库资源 ID
                      - type: string
                        format: uri
                        description: 资源 URL
                  example: []
                omni_reference_task_type:
                  type: string
                  description: |-
                    模式
                    默认值auto
                    auto：由模型根据输入素材和提示词自动判定任务类型
                    reference：全能参考
                    edit：视频编辑（**当模式为视频编辑时，duration 时长不需要，输入会被自动忽略。**）
                    extend：视频延长
                  enum:
                    - auto
                    - reference
                    - edit
                    - extend
                  example: auto
                  default: auto
              required:
                - prompt
                - resolution_option
                - aspect_ratio
              allOf:
                - if:
                    properties:
                      omni_reference_task_type:
                        const: edit
                  then: {}
                  else:
                    required:
                      - duration
      responses:
        '200':
          description: 成功
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VideoTaskResponse'
              example:
                status: 100
                message: 操作成功
                data:
                  id: 11
                  status: Running
                  amount: 100
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
            - Failed
          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)

````