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

# Jimeng Video Generation

> 即梦官方 API 格式的视频生成接口。

支持通过 Action 参数指定操作类型：
- `CVSync2AsyncSubmitTask`: 提交视频生成任务
- `CVSync2AsyncGetResult`: 获取任务结果

需要在查询参数中指定 Action 和 Version。




## OpenAPI

````yaml post /jimeng/
openapi: 3.1.0
info:
  title: UToken API
  version: 1.0.0
  description: Complete UToken API Reference Documentation
servers:
  - url: https://utoken.yoostudio.ai
    description: Production
security: []
tags:
  - name: Images / Native Gemini Format
  - name: Images / Native OpenAI Format
  - name: Images / Qwen OpenAI Compatible Format
  - name: Realtime Voice
  - name: Content Moderation
  - name: Text Embeddings
  - name: Unimplemented / Fine-tuning
  - name: Unimplemented / File Management
  - name: Models / List Models
  - name: Chat Completions
  - name: Chat Completions / Native Gemini Format
  - name: Chat Completions / Native OpenAI Format
  - name: Text Completions
  - name: Video Generation
  - name: Video Generation / Sora Format
  - name: Video Generation / Jimeng (Dreamina) Format
  - name: Video Generation / Kling AI Format
  - name: Document Reranking
  - name: Audio Processing
  - name: Audio Processing / Native OpenAI Format
paths:
  /jimeng/:
    post:
      tags:
        - Video Generation / Jimeng (Dreamina) Format
      summary: Jimeng (Dreamina) Video Generation
      description: |
        Jimeng official API format video generation endpoint.

        Supports specifying operation type via Action parameter:
        - `CVSync2AsyncSubmitTask`: Submit video generation task
        - `CVSync2AsyncGetResult`: Get task results

        Requires specifying Action and Version in query parameters.
      operationId: createjimengvideo
      parameters:
        - name: Action
          in: query
          required: true
          description: API operation type
          schema:
            type: string
            enum:
              - CVSync2AsyncSubmitTask
              - CVSync2AsyncGetResult
        - name: Version
          in: query
          required: true
          description: API version
          schema:
            type: string
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              description: Jimeng official API request format
              properties:
                req_key:
                  type: string
                  description: Request type identifier
                prompt:
                  type: string
                  description: Text description
                binary_data_base64:
                  type: array
                  items:
                    type: string
                  description: Base64 encoded image data
              x-apifox-orders:
                - req_key
                - prompt
                - binary_data_base64
      responses:
        '200':
          description: Success - Request processed
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                    description: Response code
                  message:
                    type: string
                    description: Response message
                  data:
                    type: object
                    description: Response data
                    x-apifox-orders: []
                x-apifox-orders:
                  - code
                  - message
                  - data
        '400':
          description: Request parameter error
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      message:
                        type: string
                        description: Error message
                      type:
                        type: string
                        description: Error type
                      param:
                        type:
                          - string
                          - 'null'
                        description: Related parameters
                      code:
                        type:
                          - string
                          - 'null'
                        description: Error code
                    x-apifox-orders:
                      - message
                      - type
                      - param
                      - code
                x-apifox-orders:
                  - error
      security:
        - BearerAuth: []
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: |-
        Use Bearer Token authentication
        Format: Authorization: Bearer sk-xxxxxx

````