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

# Create Video Generation Task

Using models from different platforms requires passing their respective parameters.

Please refer to:

* [Wan](https://help.aliyun.com/zh/model-studio/models)
* [Volcengine](https://www.volcengine.com/docs/82379/1520757)


## OpenAPI

````yaml api-reference/openapi.json post /v1/video/generations
openapi: 3.0.1
info:
  title: AI model interface
  description: ''
  version: 1.0.0
servers:
  - url: https://api.ai.cc
security:
  - BearerAuth: []
tags:
  - name: Get Model List
  - name: Text completion
  - name: Translator
  - name: OpenAI Chat
  - name: OpenAI Response
  - name: Claude Messages
  - name: Gemini Generate Content
  - name: Video Task
  - name: Sora Video Task
paths:
  /v1/video/generations:
    post:
      tags:
        - Video Task
      summary: Create video task
      operationId: createVideo
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                model:
                  description: model name
                  example: wan2.6-t2v
                  type: string
              additionalProperties: true
            examples:
              wan:
                summary: wan models
                value:
                  model: wan2.6-t2v
                  input:
                    prompt: >-
                      An epic and adorable scene. A tiny, cute cartoon cat
                      general, clad in intricately detailed golden armor and
                      wearing a slightly oversized helmet, stands bravely on a
                      cliff. Riding a small but valiant warhorse, he proclaims:
                      "Long clouds over Qinghai darken the snow-capped
                      mountains, a lonely city gazes afar at the Jade Gate Pass.
                      Through a hundred battles in the yellow sands, my golden
                      armor is worn, I will not return until Lou Lan is
                      conquered." Below the cliff, a vast, seemingly endless
                      army of mice charges forward with makeshift weapons. This
                      is a dramatic, large-scale battle scene inspired by
                      ancient Chinese war epics. In the distance, dark clouds
                      blanket the snow-capped mountains. The overall atmosphere
                      is a humorous and epic blend of "cuteness" and "power".
                    audio_url: >-
                      https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20250923/hbiayh/%E4%BB%8E%E5%86%9B%E8%A1%8C.mp3
                  parameters:
                    size: 1280*720
                    prompt_extend: true
                    duration: 10
                    shot_type: multi
      responses:
        '200':
          description: Successfully created video task
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                    description: Video ID
                  object:
                    type: string
                    description: object type
                  model:
                    type: string
                    description: Model used
                  status:
                    type: string
                    description: Task status
                  progress:
                    type: integer
                    description: Progress percentage
                  created_at:
                    type: integer
                    description: Create timestamp
                  seconds:
                    type: string
                    description: Video length
                  completed_at:
                    type: integer
                    description: Completion timestamp
                  expires_at:
                    type: integer
                    description: Expiration timestamp
                  size:
                    type: string
                    description: Video size
                  error:
                    $ref: '#/components/schemas/OpenAIVideoError'
                  metadata:
                    type: object
                    description: Additional metadata
                    additionalProperties: true
                    properties: {}
                required:
                  - id
                  - object
                  - model
                  - status
                  - progress
                  - created_at
                  - seconds
              example:
                id: '123456'
                object: video
                model: wan2.6-t2v
                status: queued
                progress: 0
                created_at: 1764347090922
                seconds: '8'
          headers: {}
        '400':
          description: Incorrect request parameters
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          headers: {}
      deprecated: false
      security:
        - BearerAuth: []
components:
  schemas:
    OpenAIVideoError:
      type: object
      description: OpenAI error message
      properties:
        message:
          type: string
          description: error message
        code:
          type: string
          description: code
    ErrorResponse:
      type: object
      properties:
        error:
          type: object
          properties:
            message:
              type: string
              description: error message
            type:
              type: string
              description: error type
            param:
              type: string
              description: error param
              nullable: true
            code:
              type: string
              description: code
              nullable: true
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: |
        Authentication is done using Bearer Token. 
        Format: `Authorization: Bearer sk-xxxxxx`

````