Skip to content

创建视频

OpenAPI Specification

yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /v1/video/create:
    post:
      summary: 创建视频
      deprecated: false
      description: ''
      tags:
        - 视频模型/veo 视频生成/视频统一格式
      parameters:
        - name: Content-Type
          in: header
          description: ''
          required: true
          example: application/json
          schema:
            type: string
        - name: Accept
          in: header
          description: ''
          required: true
          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
                  enum:
                    - veo2
                    - veo2-fast
                    - veo2-fast-frames
                    - veo2-fast-components
                    - veo2-pro
                    - veo2-pro-components
                    - veo3
                    - veo3-fast
                    - veo3-fast-frames
                    - veo3-frames
                    - veo3-pro
                    - veo3-pro-frames
                    - veo3.1
                    - veo3.1-fast
                    - veo3.1-pro
                    - veo3.1-4k
                    - veo3.1-pro-4k
                  x-apifox-enum:
                    - value: veo2
                      name: ''
                      description: Google最新的高级人工智能模型, veo2 fast 模式,质量好速度快
                    - value: veo2-fast
                      name: ''
                      description: Google最新的高级人工智能模型, veo2 fast 模式,质量好速度快
                    - value: veo2-fast-frames
                      name: ''
                      description: Google最新的高级人工智能模型, veo2 fast 模式,支持首尾帧
                    - value: veo2-fast-components
                      name: ''
                      description: >-
                        Google最新的高级人工智能模型, veo2 fast 模式,
                        支持上传图片素材,最终生成的视频会将所有图片合并成视频中的一部分,比如,图片 1 变成背景,图片 2
                        笼罩天空等等
                    - value: veo2-pro
                      name: ''
                      description: Google最新的高级人工智能模型, veo2 高质量 模式,质量很高,同时价格也很昂贵,使用需注意
                    - value: veo2-pro-components
                      name: ''
                      description: >-
                        Google最新的高级人工智能模型, veo2 pro模式,
                        支持上传图片素材,最终生成的视频会将所有图片合并成视频中的一部分,比如,图片 1 变成背景,图片 2
                        笼罩天空等等
                    - value: veo3
                      name: ''
                      description: veo3 谷歌官方最新的视频生成模型,生成的视频带有声音,目前全球独一家带有声音的视频模型
                    - value: veo3-fast
                      name: ''
                      description: >-
                        Google最新的高级人工智能模型, veo3 快速
                        模式,支持视频自动配套音频生成,质量高价格很低,性价比最高的选择
                    - value: veo3-fast-frames
                      name: ''
                      description: >-
                        Google最新的高级人工智能模型, veo3 快速
                        模式,支持视频自动配套音频生成,支持首帧传递,质量高价格很低,性价比最高的选择
                    - value: veo3-frames
                      name: ''
                      description: >-
                        Google最新的高级人工智能模型, veo3 快速
                        模式,支持视频自动配套音频生成,支持首帧传递,质量高价格很低,性价比最高的选择
                    - value: veo3-pro
                      name: ''
                      description: >-
                        Google最新的高级人工智能模型, veo3 高质量
                        模式,支持视频自动配套音频生成,质量超高,价格也超高,使用需注意
                    - value: veo3-pro-frames
                      name: ''
                      description: >-
                        Google最新的高级人工智能模型, veo3 高质量
                        模式,支持视频自动配套音频生成,支持首帧传递,不支持尾帧,质量超高,价格也超高,使用需注意
                    - value: veo3.1
                      name: ''
                      description: >-
                        Google最新的高级人工智能模型, veo3.1 快速
                        模式,支持视频自动配套音频生成,质量高价格很低,性价比最高的选择, 自适应首尾帧和文生视频
                    - value: veo3.1-fast
                      name: ''
                      description: >-
                        Google最新的高级人工智能模型, veo3.1 快速
                        模式,支持视频自动配套音频生成,质量高价格很低,性价比最高的选择, 自适应首尾帧和文生视频
                    - value: veo3.1-pro
                      name: ''
                      description: >-
                        Google最新的高级人工智能模型, veo3.1 高质量
                        模式,支持视频自动配套音频生成,质量超高,价格也超高,使用需注意, 自适应首尾帧和文生视频
                    - value: veo3.1-4k
                      name: ''
                      description: >-
                        Google最新的高级人工智能模型, veo3.1 快速
                        +4k模式,支持视频自动配套音频生成,质量高价格很低,性价比最高的选择, 自适应首尾帧和文生视频
                    - value: veo3.1-pro-4k
                      name: ''
                      description: >-
                        Google最新的高级人工智能模型, veo3.1 高质量
                        +4k模式,支持视频自动配套音频生成,质量超高,价格也超高,使用需注意, 自适应首尾帧和文生视频
                prompt:
                  type: string
                  description: 提示词
                enhance_prompt:
                  type: boolean
                  description: 由于 veo 只支持英文提示词,所以如果需要中文自动转成英文提示词,可以开启此开关
                enable_upsample:
                  type: boolean
                images:
                  type: array
                  items:
                    type: string
                  description: >-
                    当模型是带 veo2-fast-frames 最多支持两个,分别是首尾帧,当模型是 veo3-pro-frames
                    最多支持一个首帧,当模型是 veo2-fast-components 最多支持 3 个,此时图片为视频中的元素
                aspect_ratio:
                  type: string
                  description: ⚠️仅veo3支持,“16:9”或“9:16”
              required:
                - prompt
                - model
              x-apifox-orders:
                - enable_upsample
                - enhance_prompt
                - images
                - model
                - prompt
                - aspect_ratio
            example:
              enable_upsample: true
              enhance_prompt: true
              images:
                - >-
                  https://filesystem.site/cdn/20250702/w8AauvxxPhYoqqkFWdMippJpb9zBxN.png
              model: veo3.1-fast
              prompt: make animate
              aspect_ratio: '16:9'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                  status:
                    type: string
                  status_update_time:
                    type: integer
                  enhanced_prompt:
                    type: string
                required:
                  - id
                  - status
                  - status_update_time
                  - enhanced_prompt
          headers: {}
          x-apifox-name: 成功
      security:
        - bearer: []
      x-apifox-folder: 视频模型/veo 视频生成/视频统一格式
      x-apifox-status: released
      x-run-in-apifox: https://app.apifox.com/web/project/5443236/apis/api-311044999-run
components:
  schemas: {}
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
servers:
  - url: https://www.anyapi.vip
    description: 正式环境
security:
  - bearer: []

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