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

# wan2.6

> Alibaba's multimodal video generation model series supporting role-play (reference-to-video), multi-shot narrative, audio-visual sync, and up to 15-second output, enabling creators to star in AI videos with their own appearance and voice.

|   |   |
| --- | --- |
| **Provider** | Alibaba |
| **Tasks** | text-to-video · image-to-video |
| **Starting from** | 0.3049 USD / call · <a href="https://linkmodel.ai/en/models/wan2.6" target="_blank" rel="noopener">Pricing details</a> |




## OpenAPI

````yaml /openapi/video/wan2-6.yaml post /video-generation
openapi: 3.0.3
info:
  title: wan2.6
  version: 1.0.0
  description: >-
    Alibaba's multimodal video generation model series supporting role-play
    (reference-to-video), multi-shot narrative, audio-visual sync, and up to
    15-second output, enabling creators to star in AI videos with their own
    appearance and voice.
servers:
  - url: https://api.linkmodel.ai/api/v1
    description: Production
security:
  - bearerAuth: []
tags:
  - name: Alibaba
  - name: video
paths:
  /video-generation:
    post:
      tags:
        - Alibaba
        - video
      summary: wan2.6
      description: >
        Alibaba's multimodal video generation model series supporting role-play
        (reference-to-video), multi-shot narrative, audio-visual sync, and up to
        15-second output, enabling creators to star in AI videos with their own
        appearance and voice.


        |   |   |

        | --- | --- |

        | **Provider** | Alibaba |

        | **Tasks** | text-to-video · image-to-video |

        | **Starting from** | 0.3049 USD / call · <a
        href="https://linkmodel.ai/en/models/wan2.6" target="_blank"
        rel="noopener">Pricing details</a> |
      operationId: wan2-6
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                prompt:
                  type: string
                  minLength: 1
                  maxLength: 2000
                  description: Length must be between 1 and 2000.
                first_frame_image:
                  type: string
                  format: url
                resolution:
                  type: string
                  enum:
                    - 1080P
                    - 720P
                  default: 720P
                  description: 'Must be one of: 1080P, 720P. Defaults to `720P`.'
                audio_url:
                  type: string
                  format: url
                duration:
                  type: integer
                  enum:
                    - 5
                    - 10
                    - 15
                  description: 'Must be one of: 5, 10, 15.'
                model:
                  type: string
                  enum:
                    - wan2.6
              required:
                - prompt
      responses:
        '200':
          description: Task accepted and queued for generation.
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                    example: 0
                  data:
                    type: object
                    properties:
                      task_id:
                        type: string
                        format: uuid
                        description: Use this id to poll task status.
                        example: cb6111cf-e89f-4978-b8e3-aa59c21cceff
                      order_id:
                        type: string
                        format: uuid
                        description: Billing order id.
                        example: 019da9cf-d1db-78e1-ac23-526774d01193
                      status:
                        type: string
                        enum:
                          - processing
                          - succeeded
                          - failed
                        example: processing
                      price:
                        type: number
                        description: Charged amount in the model's pricing currency.
                        example: 0.074
                  msg:
                    type: string
                    example: success
                  request_id:
                    type: string
                    format: uuid
                    example: 250b66dd-e1fb-4bb6-b5f6-c668efadc35d
        '400':
          description: Bad request — invalid or missing parameter.
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                    example: 400
                  msg:
                    type: string
                    example: task_id is required
                  request_id:
                    type: string
                    format: uuid
                    example: 96be7a7d-3e81-4916-a6b8-19b32773a693
        '401':
          description: Unauthorized — missing or invalid API key.
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                    example: 401
                  data:
                    type: object
                    example: {}
                  msg:
                    type: string
                    example: invalid api key
                  request_id:
                    type: string
                    format: uuid
                    example: bff4c295-c7da-4507-9708-4627cb6373ba
        '500':
          description: Internal error — task creation failed (e.g. insufficient balance).
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                    example: 500
                  msg:
                    type: string
                    example: >-
                      create task failed: billing: code=100601: insufficient
                      balance
                  request_id:
                    type: string
                    format: uuid
                    example: 3409f6fb-fa9a-4534-b530-195b5f6f4e32
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````