> ## 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 One-Click AD-Film

> [Core Function] Vidu One-Click AD-Film is an automated marketing video generation model. [Strengths] It excels at transforming 1 to 7 product or scene images into a polished, commercial-style advertisement video (10-60s) automatically. [Best For] Highly recommended for: e-commerce product showcases, social media ads, promotional reels, and quick marketing campaigns. [Limitations] Do NOT use this model for narrative storytelling or cinematic films; it is optimized specifically for commercial pacing and product emphasis. [Routing] Use this specifically when the user wants to generate an 'ad', 'commercial', or 'promotional video' from product photos.



## OpenAPI

````yaml /model-api/vidu/vidu-i2v.json post /vidu/one-click-ad-film
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/one-click-ad-film:
    post:
      summary: Vidu One-Click AD-Film
      description: >-
        [Core Function] Vidu One-Click AD-Film is an automated marketing video
        generation model. [Strengths] It excels at transforming 1 to 7 product
        or scene images into a polished, commercial-style advertisement video
        (10-60s) automatically. [Best For] Highly recommended for: e-commerce
        product showcases, social media ads, promotional reels, and quick
        marketing campaigns. [Limitations] Do NOT use this model for narrative
        storytelling or cinematic films; it is optimized specifically for
        commercial pacing and product emphasis. [Routing] Use this specifically
        when the user wants to generate an 'ad', 'commercial', or 'promotional
        video' from product photos.
      operationId: viduOneClickADFilmAsync
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ViduOneClickADFilmRequest'
            examples:
              basic:
                summary: Product images only
                value:
                  images:
                    - https://example.com/product-front.jpg
                    - https://example.com/product-side.jpg
              with_options:
                summary: With prompt and language
                value:
                  images:
                    - https://example.com/sneaker-1.jpg
                    - https://example.com/sneaker-2.jpg
                    - https://example.com/lifestyle-shot.jpg
                  prompt: >-
                    Highlight the innovative cushioning technology and sleek
                    design of these performance sneakers
                  duration: 30
                  aspect_ratio: '9:16'
                  language: en
      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-ad-001
                  model_id: vidu/one-click-ad-film
                  get_result:
                    method: GET
                    url: https://api.modellix.ai/api/v1/tasks/task-vidu-ad-001
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '429':
          $ref: '#/components/responses/TooManyRequests'
        '500':
          $ref: '#/components/responses/InternalServerError'
components:
  schemas:
    ViduOneClickADFilmRequest:
      type: object
      required:
        - images
      description: Vidu one-click ad film request.
      properties:
        prompt:
          type: string
          minLength: 1
          maxLength: 2000
          description: Marketing message or product description
          example: Highlight the innovative design and premium quality
        images:
          type: array
          minItems: 1
          maxItems: 7
          description: Product or scene images (1-7) as URLs or base64 data URIs
          items:
            type: string
            minLength: 1
          example:
            - https://example.com/product.jpg
        duration:
          type: integer
          minimum: 10
          maximum: 60
          default: 15
          description: Video duration in seconds (10-60)
          example: 30
        aspect_ratio:
          type: string
          enum:
            - '16:9'
            - '9:16'
            - '1:1'
          default: '16:9'
          description: Video aspect ratio
          example: '9:16'
        language:
          type: string
          enum:
            - zh
            - en
          default: zh
          description: Script language for generated narration
          example: en
    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`.'

````