Skip to content

图生视频-首帧

OpenAPI Specification

yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /volc/v1/contents/generations/tasks:
    post:
      summary: 图生视频-首帧
      deprecated: false
      description: 官方文档:https://www.volcengine.com/docs/82379/1520757
      tags:
        - 视频模型/豆包 视频生成
      parameters:
        - name: Content-Type
          in: header
          description: ''
          required: false
          example: application/json
          schema:
            type: string
        - name: Accept
          in: header
          description: ''
          required: false
          example: application/json
          schema:
            type: string
        - name: Authorization
          in: header
          description: ''
          required: false
          example: Bearer {{YOUR_API_KEY}}
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                model:
                  type: string
                  description: '您需要调用的模型的 ID '
                content:
                  type: array
                  items:
                    type: object
                    properties:
                      type:
                        type: string
                        description: 输入内容的类型,此处应为 text
                      text:
                        type: string
                        description: 输入给模型的文本内容,描述期望生成的视频
                      image_url:
                        type: object
                        properties:
                          url:
                            type: string
                            description: 输入给模型的图片对象,图片URL
                        required:
                          - url
                        x-apifox-orders:
                          - url
                    required:
                      - type
                    x-apifox-orders:
                      - type
                      - text
                      - image_url
                  description: 输入给模型,生成视频的信息,支持文本信息和图片信息。
              required:
                - model
                - content
              x-apifox-orders:
                - model
                - content
            example:
              model: doubao-seedance-1-0-lite-i2v-250428
              content:
                - type: text
                  text: >-
                    生成小猫视频  --rs 1080p --rt 16:9 --ratio 16:9 --dur 5 --fps 24
                    --wm false --seed 0 --cf false
                - type: image_url
                  image_url:
                    url: >-
                      https://brainrot-yt-shorts.oss-cn-beijing.aliyuncs.com/images/cached/55a955b7e41723417281051d7bebdb45.png
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties: {}
              example:
                id: cgt-20250918165813-8tz7p
                status: submitted
          headers: {}
          x-apifox-name: 成功
      security:
        - bearer: []
      x-apifox-folder: 视频模型/豆包 视频生成
      x-apifox-status: released
      x-run-in-apifox: https://app.apifox.com/web/project/5443236/apis/api-350891452-run
components:
  schemas: {}
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
servers:
  - url: https://www.anyapi.vip
    description: 正式环境
security:
  - bearer: []

AnyAPI — 专业的 AI 接口聚合服务