> ## 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.

# Vidu Q3 Drama (Short Play)

> [Core Function] Vidu Q3 Drama (Short Play) is a script-to-video model that turns a written script plus character, scene, and prop reference images into a complete multi-shot short drama, automatically planning the shots, transitions, and camera work in a single pass. [Strengths] It excels at multi-shot narrative coherence, automatic storyboarding and cinematography, and keeping the identity of referenced characters, scenes, and props consistent across every shot. [Best For] Highly recommended for: scripted short dramas and web-series episodes, narrative short-form ads and brand stories, rapid storyboard and pre-visualization, and character-driven reels built from a cast of reference assets. [Limitations] Do NOT use this model to simply animate a single image as-is (use a standard image-to-video model such as Vidu Q3 Pro instead); it requires a script and 1-14 reference assets, supports only 8-12 second clips at 1080p in 16:9 or 9:16, and is not intended for pixel-perfect single-product shots or complex multi-object physics. [Routing] Choose Vidu Q3 Drama when the user provides a script or narrative beats plus character/scene/prop references and wants an automatically directed multi-shot short play. If the user only wants to animate a single image or needs one continuous clip without scripted scene changes, route to a standard image-to-video model such as Vidu Q3 Pro.



## OpenAPI

````yaml /model-api/vidu/vidu-i2v.json post /vidu/viduq3-drama
openapi: 3.1.0
info:
  description: >-
    The image-to-video models API from Vidu. Includes standard I2V, first-last
    frame, reference-to-video, digital human, multi-frame animation, template
    story, and one-click film/ad generation.
  version: 1.0.0
  contact:
    name: Modellix Support
    email: support@modellix.ai
  title: Vidu Image-to-Video Models API
servers:
  - url: https://api.modellix.ai/api/v1
    description: The image-to-video models API from Vidu.
security:
  - bearerAuth: []
paths:
  /vidu/viduq3-drama:
    post:
      summary: Vidu Q3 Drama (Short Play)
      description: >-
        [Core Function] Vidu Q3 Drama (Short Play) is a script-to-video model
        that turns a written script plus character, scene, and prop reference
        images into a complete multi-shot short drama, automatically planning
        the shots, transitions, and camera work in a single pass. [Strengths] It
        excels at multi-shot narrative coherence, automatic storyboarding and
        cinematography, and keeping the identity of referenced characters,
        scenes, and props consistent across every shot. [Best For] Highly
        recommended for: scripted short dramas and web-series episodes,
        narrative short-form ads and brand stories, rapid storyboard and
        pre-visualization, and character-driven reels built from a cast of
        reference assets. [Limitations] Do NOT use this model to simply animate
        a single image as-is (use a standard image-to-video model such as Vidu
        Q3 Pro instead); it requires a script and 1-14 reference assets,
        supports only 8-12 second clips at 1080p in 16:9 or 9:16, and is not
        intended for pixel-perfect single-product shots or complex multi-object
        physics. [Routing] Choose Vidu Q3 Drama when the user provides a script
        or narrative beats plus character/scene/prop references and wants an
        automatically directed multi-shot short play. If the user only wants to
        animate a single image or needs one continuous clip without scripted
        scene changes, route to a standard image-to-video model such as Vidu Q3
        Pro.
      operationId: viduQ3DramaAsync
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ViduQ3DramaRequest'
            examples:
              basic:
                summary: Script with a character asset
                value:
                  script_name: City Sunrise
                  script_content: >-
                    A young man walks through the city at night, recalls his
                    childhood hometown, and finally watches the sunrise from a
                    rooftop.
                  assets:
                    - id: '1'
                      type: character
                      name: Protagonist
                      image_uri: https://example.com/protagonist.png
                      description: Young man in a white shirt
              with_options:
                summary: With duration, quality and aspect ratio
                value:
                  script_name: City Sunrise
                  script_content: >-
                    A young man walks through the city at night, recalls his
                    childhood hometown, and finally watches the sunrise from a
                    rooftop.
                  assets:
                    - id: '1'
                      type: character
                      name: Protagonist
                      image_uri: https://example.com/protagonist.png
                    - id: '2'
                      type: scene
                      name: Rooftop
                      image_uri: https://example.com/rooftop.png
                  duration: 10
                  quality: high
                  resolution: 1080p
                  aspect_ratio: '9:16'
      responses:
        '200':
          description: Task submitted successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AsyncTaskResponse'
              example:
                code: 0
                message: success
                data:
                  status: pending
                  task_id: task-vidu-drama-001
                  model_id: vidu/viduq3-drama
                  get_result:
                    method: GET
                    url: https://api.modellix.ai/api/v1/tasks/task-vidu-drama-001
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '429':
          $ref: '#/components/responses/TooManyRequests'
        '500':
          $ref: '#/components/responses/InternalServerError'
components:
  schemas:
    ViduQ3DramaRequest:
      type: object
      required:
        - script_name
        - script_content
        - assets
      description: >-
        Vidu Q3 Drama short-play request. Field names are passed through to Vidu
        as-is. Note the asset image field is `image_uri`, not `image_url`.
      properties:
        script_name:
          type: string
          minLength: 1
          maxLength: 20
          description: Episode name (max 20 characters)
          example: City Sunrise
        script_content:
          type: string
          minLength: 20
          maxLength: 5000
          description: >-
            Script content (20-5000 characters; Vidu limits Chinese to <=2000,
            English to <=5000). To hint an approximate length, include a phrase
            like 'generate a duration of XX seconds'.
          example: >-
            A young man walks through the city at night, recalls his childhood
            hometown, and finally watches the sunrise from a rooftop.
        assets:
          type: array
          minItems: 1
          maxItems: 14
          description: >-
            Reference assets (1-14; 3-10 recommended). One asset maps to exactly
            one image.
          items:
            type: object
            required:
              - id
              - type
              - name
              - image_uri
            properties:
              id:
                type: string
                pattern: ^[0-9]+$
                description: Numeric asset id (e.g. "1", "2")
                example: '1'
              type:
                type: string
                enum:
                  - character
                  - scene
                  - tool
                description: 'Asset type: character, scene, or prop (tool)'
                example: character
              name:
                type: string
                minLength: 1
                maxLength: 30
                description: Asset name (max 30 characters)
                example: Protagonist
              image_uri:
                type: string
                minLength: 1
                description: >-
                  Reference image as a publicly accessible URL or base64 data
                  URI (png/jpeg/jpg/webp; min 128x128, recommended <=2K, aspect
                  ratio within 1:4-4:1). Field name is image_uri, not image_url.
                example: https://example.com/protagonist.png
              description:
                type: string
                description: Optional asset description (identity, appearance, age, etc.)
                example: Young man in a white shirt
        upload_image_url:
          type: string
          minLength: 1
          description: >-
            Optional user-provided staging reference image (URL or base64 data
            URI)
        placement:
          type: string
          enum:
            - upload
            - panorama
            - step
          default: upload
          description: >-
            Staging mode. `panorama`/`step` only take effect when
            `upload_image_url` is empty.
          example: upload
        quality:
          type: string
          enum:
            - standard
            - high
          default: high
          description: Generation quality
          example: high
        duration:
          type: integer
          minimum: 8
          maximum: 12
          default: 8
          description: >-
            Video duration in seconds (8-12). Defaults to 8 when omitted; value
            0/auto is not supported.
          example: 8
        resolution:
          type: string
          enum:
            - 1080p
          default: 1080p
          description: Output resolution (1080p only)
          example: 1080p
        aspect_ratio:
          type: string
          enum:
            - '16:9'
            - '9:16'
          default: '9:16'
          description: Video aspect ratio
          example: '9:16'
        style:
          type: string
          maxLength: 30
          default: 真人写实
          description: >-
            Video style (max 30 characters, no punctuation). Defaults to
            realistic live-action.
          example: 真人写实
    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 for polling
              example: task-abc123
            model_id:
              type: string
              description: Model ID in `provider/model` format
              example: vidu/viduq3-pro-fast-i2v
            get_result:
              type: object
              description: API information to query the task result
              properties:
                method:
                  type: string
                  example: GET
                url:
                  type: string
                  example: https://api.modellix.ai/api/v1/tasks/task-abc123
          description: Detailed data about the submitted asynchronous task.
    ErrorResponse:
      type: object
      required:
        - code
        - message
      properties:
        code:
          type: integer
          example: 400
        message:
          type: string
          example: 'Invalid parameters: parameter ''first_frame_image'' is required'
  responses:
    BadRequest:
      description: Invalid request parameters
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            code: 400
            message: 'Invalid parameters: parameter ''first_frame_image'' is required'
    Unauthorized:
      description: Unauthorized - Invalid or missing API Key
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            code: 401
            message: 'Authentication failed: invalid API key'
    TooManyRequests:
      description: Too many requests - Rate limit exceeded
      headers:
        X-RateLimit-Limit:
          description: Maximum requests per minute
          schema:
            type: integer
            example: 100
        X-RateLimit-Remaining:
          description: Remaining quota in current window
          schema:
            type: integer
            example: 0
        X-RateLimit-Reset:
          description: Rate limit window reset time (Unix timestamp)
          schema:
            type: integer
            example: 1704067260
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            code: 429
            message: >-
              Rate limit exceeded: 100 requests per minute, retry after 60
              seconds
    InternalServerError:
      description: Internal server error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            code: 500
            message: Internal server error
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'API Key authentication. Format: `Bearer YOUR_API_KEY`.'

````