> ## 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（支持人脸）



## OpenAPI

````yaml /apidoc/toopen-new.json post /workflow/liveAiVideo
openapi: 3.0.0
info:
  title: AI智能助手
  description: ''
  version: 1.0.0
servers:
  - url: https://open251124.ai.jko.cc
security:
  - BearerAuth: []
tags:
  - name: 视频生成
    description: AI 视频生成及结果查询接口
paths:
  /workflow/liveAiVideo:
    post:
      tags:
        - 视频生成
      summary: seedance（支持人脸）
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                prompt:
                  type: string
                  description: 文本提示词
                  example: >-
                    景别：中景\\n画面内容：小青背对镜头站在展馆前，随后转身回头，脱掉衣服，朝镜头招手打招呼；接着再朝镜头外挥手。\\n表演/动作：先回头微笑，再自然挥手。\\n镜头建议：镜头稳定，中景构图保留建筑背景。
                  default: >-
                    景别：中景\\n画面内容：小青背对镜头站在展馆前，随后转身回头，脱掉衣服，朝镜头招手打招呼；接着再朝镜头外挥手。\\n表演/动作：先回头微笑，再自然挥手。\\n镜头建议：镜头稳定，中景构图保留建筑背景。
                resolution_option:
                  type: integer
                  description: |-
                    分辨率（1：480P（只有seedance2.0可选）
                    2：720P
                    3：1080P（seedance2.0没有1080P））（1：480p；2：720p；3：1080p）
                  example: 1
                  default: 1
                  enum:
                    - 1
                    - 2
                    - 3
                duration:
                  type: integer
                  description: 时长
                  example: 5
                  default: 5
                aspect_ratio:
                  type: integer
                  description: >-
                    画面比例（1:【16:9】。2:【9:16】。3:【1:1】。4:【4:3】。5:【3:4】）（1：16:9；2：9:16；3：1:1；4：4:3；5：3:4）
                  example: 3
                  default: 3
                  enum:
                    - 1
                    - 2
                    - 3
                    - 4
                    - 5
                channel_option:
                  type: integer
                  description: 渠道（1 渠道一）（1：渠道一）
                  example: 1
                  default: 2
                  enum:
                    - 1
                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
              required:
                - prompt
                - resolution_option
                - duration
                - aspect_ratio
                - channel_option
      responses:
        '200':
          description: 成功
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VideoTaskResponse'
              example:
                status: 100
                message: 操作成功
                data:
                  id: 11
                  status: Running
                  amount: 100
        '404':
          description: 失败
          content:
            application/json:
              schema:
                type: object
                properties: {}
components:
  schemas:
    VideoTaskResponse:
      type: object
      required:
        - status
        - message
        - data
      properties:
        status:
          type: integer
          example: 100
        message:
          type: string
          example: 操作成功
        data:
          $ref: '#/components/schemas/VideoTaskData'
    VideoTaskData:
      type: object
      required:
        - id
        - status
        - amount
      properties:
        id:
          type: integer
          example: 11
        status:
          type: string
          enum:
            - Running
            - Success
            - Failed
          example: Running
        amount:
          type: number
          example: 100
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: |-
        在 Authorization 请求头中传入 Bearer Token，例如：Bearer xxxxxx 
        [如何获取 Token？](/dev/open/get-bearer-token)

````