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

# Wan 2.7 T2V

> [Core Function] Wan 2.7 T2V is Alibaba's flagship text-to-video generation model. [Strengths] It generates high-fidelity video directly from text with support for custom aspect ratios, audio generation, and intricate semantic adherence. [Best For] Highly recommended for: high-quality commercial video generation, professional storytelling, and dynamic cinematic sequences. [Limitations] Do NOT use this model if the user specifically requests the streamlined 'HappyHorse' workflow. [Routing] Use this model by default for high-end text-to-video requests on the Alibaba platform.



## OpenAPI

````yaml /model-api/alibaba/alibaba-t2v.json post /alibaba/wan2.7-t2v
openapi: 3.1.0
info:
  description: The text-to-video models API from Alibaba.
  version: 1.0.0
  contact:
    name: Modellix Support
    email: support@modellix.ai
  title: Alibaba Text-to-Video Models API
servers:
  - url: https://api.modellix.ai/api/v1
    description: The text-to-video models API from Alibaba.
security:
  - bearerAuth: []
paths:
  /alibaba/wan2.7-t2v:
    post:
      summary: Wan 2.7 T2V
      description: >-
        [Core Function] Wan 2.7 T2V is Alibaba's flagship text-to-video
        generation model. [Strengths] It generates high-fidelity video directly
        from text with support for custom aspect ratios, audio generation, and
        intricate semantic adherence. [Best For] Highly recommended for:
        high-quality commercial video generation, professional storytelling, and
        dynamic cinematic sequences. [Limitations] Do NOT use this model if the
        user specifically requests the streamlined 'HappyHorse' workflow.
        [Routing] Use this model by default for high-end text-to-video requests
        on the Alibaba platform.
      operationId: wan27T2vAsync
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Wan27T2vRequest'
            examples:
              basic:
                summary: Basic video generation
                value:
                  prompt: >-
                    A cute cat running in the moonlight, multi-shot cinematic
                    video.
              advanced:
                summary: Advanced with all parameters
                value:
                  prompt: Epic dragon flying over mountains with dramatic lighting
                  negative_prompt: blurry, low quality
                  resolution: 1080P
                  ratio: '16:9'
                  duration: 10
                  prompt_extend: true
                  seed: 12345
              with_audio:
                summary: With custom audio
                value:
                  prompt: A serene beach at sunset
                  audio_url: https://example.com/audio.mp3
                  resolution: 720P
                  ratio: '9:16'
                  duration: 5
              square_video:
                summary: Square video format
                value:
                  prompt: A rotating 3D cube with colorful patterns
                  resolution: 1080P
                  ratio: '1:1'
                  duration: 8
      responses:
        '200':
          description: Task submitted successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AsyncTaskResponse'
components:
  schemas:
    Wan27T2vRequest:
      type: object
      required:
        - prompt
      properties:
        prompt:
          type: string
          description: >-
            Text prompt describing the desired video content. Supports Chinese
            and English
          minLength: 1
          maxLength: 5000
          example: A cute cat running in the moonlight, multi-shot cinematic video.
        negative_prompt:
          type: string
          description: Negative prompt describing unwanted content
          maxLength: 500
          example: blurry, low quality
        audio_url:
          type: string
          description: Custom audio URL (supports wav/mp3, 2–30 seconds, ≤15MB)
          format: uri
          example: https://example.com/audio.mp3
        resolution:
          type: string
          description: Specifies the resolution tier for the generated video
          enum:
            - 720P
            - 1080P
          default: 1080P
          example: 1080P
        ratio:
          type: string
          description: Specifies the aspect ratio for the generated video
          enum:
            - '16:9'
            - '9:16'
            - '1:1'
            - '4:3'
            - '3:4'
          default: '16:9'
          example: '16:9'
        duration:
          type: integer
          description: Video duration in seconds (integer)
          enum:
            - 2
            - 3
            - 4
            - 5
            - 6
            - 7
            - 8
            - 9
            - 10
            - 11
            - 12
            - 13
            - 14
            - 15
          default: 5
          example: 5
        prompt_extend:
          type: boolean
          description: Enable prompt intelligent rewriting to enhance generation quality
          default: true
          example: true
        seed:
          type: integer
          description: >-
            Random number seed for reproducibility. Note: identical seeds cannot
            guarantee completely identical results due to model probabilistic
            nature
          minimum: 0
          maximum: 2147483647
          example: 42
    AsyncTaskResponse:
      type: object
      required:
        - code
        - message
        - data
      properties:
        code:
          type: integer
          description: Response code, 0 indicates success
          example: 0
        message:
          type: string
          description: Response message
          example: success
        data:
          type: object
          required:
            - status
            - task_id
            - model_id
          properties:
            status:
              type: string
              enum:
                - pending
                - processing
              description: Task status
              example: pending
            task_id:
              type: string
              description: Unique task identifier
              example: task-abc123
            model_id:
              type: string
              description: Model ID
              example: model-123
            get_result:
              type: object
              description: API information to query the task result
              properties:
                method:
                  type: string
                  description: HTTP method
                  example: GET
                url:
                  type: string
                  description: Full URL to query the task result
                  example: https://api.modellix.ai/api/v1/tasks/task-abc123
          description: Detailed data about the submitted asynchronous task.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'API Key authentication. Format: `Bearer YOUR_API_KEY`.'

````