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

# Wan 2.6 Video Generation

> Multi-shot 1080p video generation with Alibaba Wan 2.6

<Tip>
  1. After submission, a `task_id` will be returned. If you provided a `callback_url`, when the task status becomes `finished` or `failed`, a POST request will be sent to the `callback_url`.
  2. Regardless of whether `callback_url` is provided, you can retrieve the response result through the unified [Query Task Status](/api-manual/task-management/status) endpoint.
</Tip>

# Wan 2.6 Video Generation

Wan 2.6 is Alibaba's latest video generation model family. It supports text-to-video, image-to-video, and video-to-video workflows with stable character identity, multi-shot composition, and 1080p output.

## Available Models

* **wan2.6-text-to-video** - Generate videos from text prompts
* **wan2.6-image-to-video** - Animate a reference image with a prompt
* **wan2.6-video-to-video** - Edit or restyle an input video using a prompt

## Key Features

* **Duration**: 5, 10, or 15 seconds (video-to-video up to 10 seconds)
* **Resolution**: 720p or 1080p
* **Multi-Shots**: Toggle multi-shot composition for cinematic transitions
* **Prompt Length**: Up to 5,000 characters


## OpenAPI

````yaml /api-manual/video-series/wan-2-6.json POST /api/generate/submit
openapi: 3.0.0
info:
  title: Vidgo API - Wan 2.6 API
  description: Multi-shot 1080p video generation with Alibaba Wan 2.6 models
  version: 1.0.0
servers:
  - url: https://api.vidgo.ai
    description: Production server
security:
  - BearerAuth: []
paths:
  /api/generate/submit:
    post:
      tags:
        - Wan 2.6
      summary: Submit Wan 2.6 Video Generation Task
      description: >-
        Generate videos with Wan 2.6 models using text-to-video, image-to-video,
        or video-to-video workflows
      operationId: submitWan26Task
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SubmitRequest'
            examples:
              wan2.6-text-to-video:
                summary: Wan 2.6 Text-to-Video
                value:
                  model: wan2.6-text-to-video
                  callback_url: https://your-domain.com/callback
                  input:
                    prompt: >-
                      A cinematic time-lapse of a bustling city street
                      transitioning from day to night.
                    duration: 5
                    resolution: 1080p
                    multi_shots: false
              wan2.6-image-to-video:
                summary: Wan 2.6 Image-to-Video
                value:
                  model: wan2.6-image-to-video
                  callback_url: https://your-domain.com/callback
                  input:
                    prompt: >-
                      A warm, cinematic zoom-in on the subject with gentle
                      camera motion.
                    image_urls:
                      - https://example.com/image.jpg
                    duration: 5
                    resolution: 1080p
                    multi_shots: false
              wan2.6-video-to-video:
                summary: Wan 2.6 Video-to-Video
                value:
                  model: wan2.6-video-to-video
                  callback_url: https://your-domain.com/callback
                  input:
                    prompt: >-
                      Restyle the clip into a dreamy, pastel-toned aesthetic
                      with soft lighting.
                    video_urls:
                      - https://example.com/video.mp4
                    duration: 5
                    resolution: 1080p
                    multi_shots: false
      responses:
        '200':
          description: Task submitted successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SubmitResponse'
components:
  schemas:
    SubmitRequest:
      type: object
      required:
        - model
      properties:
        model:
          type: string
          description: Wan 2.6 model identifier
          enum:
            - wan2.6-text-to-video
            - wan2.6-image-to-video
            - wan2.6-video-to-video
        callback_url:
          type: string
          format: uri
          description: Webhook callback URL for result notifications
          example: https://your-domain.com/callback
        input:
          type: object
          required:
            - prompt
          description: Input parameters for generation
          properties:
            prompt:
              type: string
              description: Text prompt for video generation
              maxLength: 5000
              example: A cinematic video scene
            image_urls:
              type: array
              items:
                type: string
                format: uri
              minItems: 1
              maxItems: 1
              description: >-
                Reference image URLs for image-to-video (wan2.6-image-to-video
                only). Max 1 image; supported formats: .jpeg, .jpg, .png, .webp;
                max size 10MB
              example:
                - https://example.com/image.jpg
            video_urls:
              type: array
              items:
                type: string
                format: uri
              minItems: 1
              maxItems: 3
              description: >-
                Reference video URLs for video-to-video (wan2.6-video-to-video
                only). Max 3 videos; supported formats: .mp4, .mov, .mkv; max
                size 10MB
              example:
                - https://example.com/video.mp4
            duration:
              type: integer
              description: >-
                Video duration in seconds (15 seconds supported for
                text-to-video and image-to-video)
              enum:
                - 5
                - 10
                - 15
              example: 5
            resolution:
              type: string
              description: Output video resolution
              enum:
                - 720p
                - 1080p
              example: 1080p
            multi_shots:
              type: boolean
              description: >-
                Enable multi-shot composition (single continuous shot when
                false)
              example: false
    SubmitResponse:
      type: object
      required:
        - code
        - data
      properties:
        code:
          type: integer
          example: 200
          description: HTTP status code
        data:
          type: object
          required:
            - task_id
            - status
            - created_time
          properties:
            task_id:
              type: string
              example: task-unified-1757165031-uyujaw3d
              description: Unique task identifier for status tracking
            status:
              type: string
              enum:
                - not_started
              example: not_started
              description: Initial task status
            created_time:
              type: string
              format: date-time
              example: '2025-11-12T10:30:00'
              description: ISO 8601 timestamp when the task was created
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: >-
        All API endpoints require Bearer Token authentication


        Get your API Key:


        Visit the [API Key Management
        Page](https://vidgo.ai/apis/dashboard/api-key) to get your API Key


        Add it to the request header:


        ```

        Authorization: Bearer YOUR_API_KEY

        ```

````