E-commerce video generation

Updated at:

This document describes the use cases, features, API reference (request parameters and response parameters), and the metering and billing design for the e-commerce video generation agent.

Use cases

Bulk generation of product videos for sellers and platforms: Designed for e-commerce merchants and platforms, this service automatically generates 5–30 second product showcase videos based on the main product image, title, and selling points, helping you efficiently produce and distribute e-commerce content at scale. The service supports multiple output resolutions, including 720p and 1080p, and can be used for single-product or batch generation. This flexibility meets the demands of both daily operations and large-scale content production. It currently covers all apparel categories, including tops, pants, dresses, suits, underwear, and swimwear, and is expanding to core e-commerce categories like skincare, cosmetics, food and beverages, and home appliances. To suit different platforms and advertising scenarios, the service supports various aspect ratios, such as 3:4 and 9:16. This adaptability makes it widely applicable for product detail pages, product homepages, in-feed advertising, short video seeding, and promotional event materials.

Rapidly create initial video assets for new product launches: When a large number of new products are launched simultaneously, traditional video shooting is time-consuming and expensive, making it difficult to cover every SKU. Using this service, you only need to upload product images and titles to quickly generate product showcases, model try-on videos, and voice-over demonstrations, helping merchants rapidly populate content during new product launches and improve go-to-market efficiency.

High-fidelity apparel showcase: For apparel e-commerce, the service enhances product fidelity to generate model showcase videos that closely resemble professional photoshoots. Unlike general-purpose video generation tools, this service focuses on the core commercial requirements of apparel content. It optimizes for an accurate clothing fit, preserved fabric textures, faithful color representation, and consistent details to minimize deviations in key elements like buttons, zippers, patterns, logos, and prints. In dynamic displays, the service effectively supports common e-commerce showcase styles such as on-model displays, turns, walking, close-ups, and multi-angle shots. It reduces issues like clipping, clothing deformation, texture loss, and sudden changes in detail, helping merchants more realistically display the fit, cut, drape, and wearability of apparel to boost consumer confidence and purchase intent. This capability is applicable to high-frequency apparel categories like women's wear, men's wear, underwear, swimwear, and suits, and can be directly used for product detail page videos, new arrival materials, short video e-commerce, and marketing campaigns.

Generate high-quality commercial models: The service supports the automatic generation of high-quality commercial model content, enabling merchants to create commercially viable showcase videos without a live-action production team, models, studios, or post-production. The system includes a built-in model library for target audiences, covering various body types, skin tones, and ethnicities, including plus-size female, plus-size male, swimwear, girly, business casual, youth leisure, business male, and fitness styles. It automatically matches the most suitable model image and display style based on the product's style, fit, target audience, and use scenario, ensuring the product presentation meets consumer expectations. For example, plus-size commercial models can be prioritized for plus-size women's clothing. In terms of camera work, the product supports various commercial expressions like standing poses, side views, walking showcases, close-up details, and on-model zoom-ins, creating an overall effect that is closer to a real studio shoot or e-commerce video advertisement. The model generation emphasizes naturalness, smooth movements, and a commercial look, minimizing issues like stiffness, an overly artificial feel, or abrupt actions. This helps clients batch-produce stable, high-quality, and reusable commercial model assets at a lower cost and with higher efficiency.

Standard product demonstration and other high-frequency e-commerce scenarios: In addition to apparel, the service also covers scenarios like standard product demonstration. It is suitable for standardized products such as skincare, cosmetics, personal care appliances, food and beverages, home cleaning supplies, 3C digital products, and small home appliances. For products with clear selling points that require a fast presentation pace and high output, the service can quickly generate conversion-oriented product demonstration videos based on the main product image, title, selling points, and a narration script. The service supports both single-product quick generation and batch production, significantly shortening the cycle from product information input to video asset output. This reduces the costs of shooting, editing, and repetitive production, helping clients consistently produce high-quality content for daily product launches, promotional campaigns, and multi-channel distribution.

Test multiple products and selling points to improve advertising efficiency: In scenarios like in-feed advertising, short video marketing, and short video seeding, merchants often need to A/B test different product selling points, audience messaging, and video styles. The service can quickly generate multiple versions of video assets, allowing businesses to test which selling points are more appealing to users and which presentation formats yield higher conversions at a low cost. This improves the efficiency of asset testing and advertising ROI.

Features

  • Fully automated end-to-end batch generation with zero prompt requirement: Designed for e-commerce merchants and platforms, you only need to provide a product image URL and title. The system automatically handles the entire workflow from product understanding and shot planning to video generation. This eliminates the need for manual prompt writing, template selection, or parameter tuning. Built-in agents for product understanding, quality inspection, script planning, and camera work automate the manual video planning process. Compared to general-purpose AIGC platforms that require repeated attempts, this service significantly lowers the barrier to entry while improving the stability and predictability of content production, making it ideal for enterprise-level batch processing and daily operations.

  • High-stability generation with a low failure rate: The service employs a deterministic generation process and multi-layered quality control mechanisms, which significantly improve video generation stability and reduce the failure rate. Unlike general-purpose generation methods that rely on repeated attempts to produce a usable result, this service can produce usable assets with fewer retries, reducing wasted resources and invalid generations. For enterprise clients, this means more controllable production costs and more stable content output efficiency in batch processing scenarios.

  • E-commerce-specific product fidelity: Unlike general-purpose video generation models that may take creative liberties with the input image, this system includes multi-round quality inspection agents. These agents lock the product's state throughout the video generation process (for example, zippers are not unzipped, sleeves are not rolled down, and prints do not disappear). Through a multi-layered defense mechanism of script rewriting, explicit constraint injection, and failure-aware retries, the system ensures product fidelity in the video. This is a specialized e-commerce capability that general AIGC platforms or products do not offer.

  • Reference-image-first with 6-axis consistency checks: The service uses a Reference-Image-First generation paradigm, treating the original product image as the single source of visual truth. It automatically performs a 6-dimensional vision-language (VL) diagnosis (color drift, pattern absence, contour deviation, structural changes, model mismatch, and artifact detection). This systematically prevents generated videos from mismatching the actual product.

  • Flexible shot arrangement and duration control: You can adjust the video duration from 5 to 30 seconds. An agent independently plans individual shots to fully showcase the product in different usage scenarios. A fixed-scene mode is also supported to deeply showcase the product's tone within a unified visual style, which is suitable for brand storytelling content.

  • Cinematic camera control: The service includes advanced camera control modes like bullet time, cinematic slow motion, 360° orbital rotation, and full-body model rotation, and achieves deterministic generation through precise segmental control. Unlike general-purpose platforms that rely on random generation with a very low success rate (requiring repeated attempts), this system can consistently output professional-level camera work to meet the visual demands of high-end brands and trendy e-commerce.

  • Model library and customization services: The product includes a built-in library of diverse model resources, covering multiple body types, skin tones, and ethnicities, and can automatically match the most suitable model image to the product's attributes and target audience. Merchants can also specify a fixed model, customize exclusive model images, and maintain a consistent brand visual identity over the long term. This enables enterprise clients to improve the relevance between their products and target audiences while ensuring visual consistency across different products and video batches.

  • Adapts to high-frequency e-commerce content scenarios: While currently focused on apparel, the service can be extended to other high-frequency e-commerce scenarios like standard product demonstration, product showcases, event marketing, and short video seeding. It is suitable for product detail page videos, homepage video displays, waterfall or in-feed advertising, event materials, and videos for new arrivals and promotions. In terms of output specifications, it supports multiple resolutions like 720p and 1080p, and various aspect ratios like 3:4 and 9:16, to meet the display needs of different platforms and product types.

Invocation

1. Request parameters

1. input (Product input): Describes the product to be featured in the video.

"input": {
  "images": [ ],
  "title": "",
  "extra": {},
  "goal":"",
  "AssetBindings":{},
  "OrbitProfile":""
}

Parameter

Description

images

Product images (1 to N). Required. You can upload up to 8 images.

title

The product title. Required. The service uses only the first 60 characters of the title.

extra

Extended information. Optional.

goal

Optional. Defaults to auto_video.

AssetBindings

A list of asset bindings.

OrbitProfile

Optional. This parameter applies only when goal is set to camera_motion. model-spin: The model rotates. camera-orbit: The camera orbits 360°. If this parameter is not specified, two videos are generated: one with model rotation and one with camera orbit. Each video is 5 seconds long.

goal

Description

Duration

Aspect ratio

Script

Asset binding

auto_video

Automatic script mode. This mode is currently available only for apparel products. You do not need to provide a script. The system automatically plans a script and generates the video. This mode is not supported for non-apparel products. Use scripted_video and provide a script instead.

5–15 seconds

Only 9:16 is supported. The default is 9:16.

Not required

Not supported

scripted_video

Scripted mode. You must provide a script that matches the product. The system generates the video based on the script. You must use this mode and provide a script for non-apparel products.

5–30 seconds

Only 9:16. Default: 9:16

User-provided

Not supported

camera_motion

360° display mode. Supports model rotation and camera orbit. Select the generation method using Input.OrbitProfile.

In camera_motion mode, the video duration is not adjusted based on your input because the results for other durations cannot be guaranteed. A default duration of 5 seconds per stream is used, and no error is reported. If you use Input.OrbitProfile to select a single stream, a 5-second video is generated. If you do not pass the parameter, two separate 5-second videos are generated, totaling 10 seconds. These videos are not concatenated into a single video.

The camera_motion parameter is not used to specify the aspect ratio. The output aspect ratio follows that of the main character image. An error is not reported if the requested aspect ratio is different from the recommended one. We recommend that you upload a 3:4 main character image. Other aspect ratios, such as 9:16, are not recommended at this time because the results cannot be guaranteed.

Not used

Supports the AssetBindings and OrbitProfile structures

Parameter

Value

Notes

AssetIndex

0, 1, 2, 3, etc. Must correspond to the index of the image URL.

image.png

Slot

Select one of the following three options:

look_reference

scene_reference

garment_reference

look_reference: The preview image of the complete outfit for the character's upper body (overall look).

scene_reference: The reference image for the scene (typically the main cover image).

garment_reference: Corresponds to all product detail images (including close-ups of the front, back, and side of clothes, shoes, and skirts).

Description

A description of the image. Examples:

1. Description for look_reference: Front full-body outfit reference image

2. Description for scene_reference: Specified apparel display scene

3. Descriptions for garment_reference:

  • Front of the top

  • Back of the pants

  • Side of the shoe

Technical details: The backend can handle null or empty values.

Best practice: We recommend guiding users to provide specific descriptions (for example, "dress, front view") to help the model understand the image content and reduce incorrect interpretations.

2. output (Output specifications): Defines the final output.

"output": {
  "duration": 10,
  "ratio": "9:16",
  "quality": "1080p"
}

Parameter

Values

duration

Integers from 5 to 30. We plan to expand this range in the future.

ratio

9:16 3:4

quality

720p / 1080p

Mode

Description

Duration

Aspect ratio

Auto Video

Fully supported. This mode is only available for apparel products.

5–15 seconds

Only 9:16

Scripted Video

The user provides a script or prompt.

5–30 seconds

Only 9:16

Camera Motion

Generates video based on a fixed 360° camera movement logic.

In camera_motion mode, the results for other durations cannot be guaranteed. Therefore, the video duration is not adjusted based on the duration that you specify. A default duration of 5 seconds per stream is used, and no error is reported. When you select a single stream by using Input.OrbitProfile, a 5-second video is generated. If you do not pass the parameter, two 5-second videos are generated for a total of 10 seconds. The videos are not concatenated into a single video.

camera_motion does not use this parameter to specify the aspect ratio. The output aspect ratio follows that of the main character image, and no error is reported if the requested aspect ratio differs from the recommended one. We recommend that you upload a 3:4 main character image. Other aspect ratios, such as 9:16, cannot be guaranteed to produce the desired effect and are not recommended at this time.

2. Response parameters

Metering parameters: In addition to the standard video generation API response, the response includes the following usage information:

{
    "UsageMap": {
        "Resolution": "720p",
        "Duration": "10"
    }
}

Parameter

Type

Description

Duration

number

The video duration in seconds.

Resolution

string

Video resolution, such as 720p, 1080p

duration indicates the actual duration of the generated video.

resolution is used to specify the output resolution of the generated video.

Full response: On success:

{
  "Data": {
    "UsageMap": {
      "Resolution": "720p",
      "Duration": "10"
    },
    "Result": {
      "Status": "completed",
      "JobId": "72bfbb50f8bb41c790ab1dc9a18af29c",
      "VideoUrl": "https://mpp-cn-shanghai-yike.oss-cn-shanghai.aliyuncs.com/xxx.mp4?Expires=..."
    }
  },
  "RequestId": "70CBEFDF-BB17-1EB3-8A21-569F3124738F",
  "Message": "Success",
  "Code": "success",
  "Success": true
}

On failure:

{
  "Data": {
    "UsageMap": {
      "Resolution": "",
      "Duration": ""
    },
    "Result": {
      "Status": "failed",
      "JobId": "72bfbb50f8bb41c790ab1dc9a18af29c",
      "VideoUrl": ""
    }
  },
  "RequestId": "70CBEFDF-BB17-1EB3-8A21-569F3124738F",
  "Message": "Failed to generate apparel product video. Check if the input image is clear and consistent with the product title.",
  "Code": "failed",
  "Success": false
}

Example:

RequestId: 019F6FB5-9971-16CF-BB72-44D7F739EC10
  Code: success
  Success: true
  Message: Success
  Data:
    TaskId: 778fa8bd21804828a5d147050e30edac
    Status: COMPLETED
    Result: "{\"Status\":\"completed\",\"jobId\":\"778fa8bd21804828a5d147050e30edac\",\"videoUrl\":\"http://yike-cn-shanghai-echomind.oss-cn-shanghai.aliyuncs.com/yike-animus%2F1981376174488698%2F%2Fecom-apparel-video-pipeline%2F778fa8bd21804828a5d147050e30edac%2Ffinal.mp4?Expires=1815820050&OSSAccessKeyId=STS.NZ3AkXkTiaEvm4pH7ggJdfvU7&Signature=0ao6ATNYSJsMtTJubaYbyw4I0EM%3D&security-token=CAIS1wJ1q6Ft5B2yfSjIr5mGCtHshotI1oedbxLBrDcya8VIibP%2B1Tz2IHhMfnJhCO8Xv%2Fo0n2xT7vgclrp6SJtIXleCZtF94oxN9h2gb4fb42YGJlOb08%2FLI3OaLjKm9u2wCryLYbGwU%2FOpbE%2B%2B5U0X6LDmdDKkckW4OJmS8%2FBOZcgWWQ%2FKBlgvRq0hRG1YpdQdKGHaONu0LxfumRCwNkdzvRdmgm4NgsbWgO%2Fks0CB1AyllLNP%2Ftqhfcj0MvMBZskvD42Hu8VtbbfE3SJq7BxHybx7lqQs%2B02c5onHWAgAvETXbbGProY3clFjFLk7GKMBtOL7hew9qOHJkMHr0QtWIaRPVCDSVCUsLzIIjivD3L8ZAlWbUxylurjnXhKlL5KkxnW1HrfragiMW55hiG3NuwvQXkuNkr7k7GldxabL%2Fk84rxQLsZuKmfjOEzylJ9M9uW8Yqc9gBytAGoABIoSa78Y5s8A8%2FWfKGeKg4ZMk5rBkXgyv4WvP%2BomzW8L6g27GCMVvfi%2B2TWQOsZHBCZf42jhEmrzp6Iuse0odkUfORhO3IjCvpuV70S9%2BDVB4x8VkmaLaMvcOUXhnbct%2Fs9Q8URptkWHaCreEd%2Fi4%2BtmLN%2B3AkX3K6j9LwtNyUt0gAA%3D%3D\"}"
    UsageMap: 
      Duration: 10
      Resolution: 720p