A Step-by-Step AI Workflow for Producing an E-Commerce Promo Video

    This guide walks through a complete AI-driven workflow for producing a short e-commerce promo video, covering the three-layer tech stack, cloud vs. local cost analysis, structured prompt writing for scripts, image generation with weighted prompts, green screen keying parameters, digital human alignment, and a final compliance and quality checklist. It provides actionable parameters, tables, and troubleshooting tips that creators can directly apply to their own production pipelines.

    1. Understand the Three-Layer Structure Before Choosing Tools

    The AI short-video creation pipeline can be broken down into three layers. The bottom layer is the model and compute layer, responsible for running large language models, image models, video models, and speech models. Creators can deploy open-source models on local GPUs or call cloud services that charge on a per-use basis.

    The middle layer is the capability layer, which wraps models into functions such as text-to-image, image-to-image, speech synthesis, digital human driving, and intelligent captioning. Many tools only expose one or two of these capabilities, so it is often necessary to combine multiple tools.

    The top layer is the toolchain layer, which is what you directly operate, including image workbenches, video generation tools, and editing software.

    1. Cost Comparison Between Cloud and Local Deployment

    Whether to choose cloud or local deployment depends on how many videos you produce per month. The following two formulas can be used to estimate per-video costs. The unit prices and durations below are assumed values; replace them with your own actual data.

    • Cloud cost per video = single generation fee × number of generations required per video. Assuming a single generation costs ¥0.5 and each video requires an average of 5 generations, the cost per video is approximately ¥2.5.
    • Local cost per video = hardware depreciation + electricity + manual maintenance. Assuming a GPU costs ¥5,000, is used for 3 years, and generates 2,000 assets per year, the depreciation per asset is approximately ¥0.83. Assuming a full system power draw of 350W, each asset occupies the machine for about 1 hour, and electricity costs ¥0.6 per kWh, the electricity cost per asset is approximately ¥0.21.

    Based on this set of assumptions, local cost per video is about ¥1.04, which is lower than cloud. If you only produce a few videos per month, the fixed investment of local deployment is hard to amortize, making cloud the more economical choice.

    2. Boundaries for Cloud vs. Local Deployment

    • When assets involve unreleased products or personal information, prioritize local deployment to avoid uploading assets to third-party servers.
    • When offline work is required or the network is unstable, local deployment is more reliable.
    • For batch concurrent generation, first confirm the cloud service’s concurrency limits and queue times.
    • When the same visual style needs to be reproduced over a long period, lock the model version. Cloud services may update models, which can change the results of the same prompt.

    3. Handoff Points Between Stages

    Before selecting tools, confirm that the output format of each step can be directly read by the next step.

    Stage Common Output Requirements of the Next Stage Things to Watch For
    Text-to-Image PNG, possibly with alpha channel Preserve alpha channel for matting or compositing JPG without alpha channel requires matting first
    Video Generation MP4, or per-frame PNG sequence Editing software must support the corresponding codec Some tools output codecs that cannot be recognized; convert to H.264
    Digital Human Broadcasting MP4 or WAV audio Audio sample rate must match the project settings Common rate is 48kHz; mismatched sample rates can cause pitch shifts or noise
    Subtitles SRT file or tool-embedded subtitles Must align with the timeline Verify timecodes segment by segment after import

    Codec conversion can be done with FFmpeg, for example:

    ffmpeg -i input.mov -c:v libx264 -pix_fmt yuv420p -c:a aac output.mp4

    If color shifts or audio/video desynchronization appear after conversion, first check the source file’s frame rate and color space, then adjust the conversion parameters accordingly.

    2. Generate Scripts with Structured Prompts

    A well-formed prompt contains four parts: role, task, style, and output format. If any of these is missing, the model tends to improvise, leading to unstable script duration or tone.

    • Role: You are an e-commerce copywriter with five years of experience.
    • Task: Write a 30-second voiceover script for a wireless Bluetooth headphone, targeting daily commuters.
    • Style: Friendly tone, using everyday life scenarios as examples. Do not use superlative terms such as “best,” “first,” or “lowest price on the entire platform.”
    • Output format: Output as a storyboard table with fields: shot number, duration, visual, voiceover, subtitle, sound effect, and asset source.

    Constraints and Prohibited Actions

    After the four parts above, it is recommended to add a set of constraints to reduce the risk of the model fabricating parameters:

    • Do not fabricate product specifications. Numbers such as battery life or noise reduction in decibels can only use the information I provide.
    • When information is insufficient, mark the corresponding field as “to be confirmed” – do not guess.
    • Do not use superlative terms. Do not make medical, health, or income claims.

    Full Storyboard Example

    The example below assumes the product information is: active noise-cancelling headphones, battery life based on manufacturer’s actual measurements, and support for fast charging. The total duration of this table is approximately 30 seconds.

    Shot Duration Visual Voiceover Subtitle Sound Effect Asset Source
    1 5s Morning rush hour subway car, protagonist puts on headphones, surrounding noise is loud The morning rush hour is noisy. Still bothered by the noise? Enjoy quiet music even on the subway Background noise fades out Live footage or text-to-image, license record ID-01
    2 6s Close-up of headphones being put on, indicator light turns on A gentle wear, and the surrounding sound visibly fades. Active noise cancellation with one tap Soft notification sound Product footage, license record ID-02
    3 8s Protagonist answers a call during commute, voice is clear Calls are crystal clear, no need to keep moving the phone closer. Clear calls, stable microphone pickup Ambient noise reduces, voice stands out Digital human or live voiceover, license record ID-03
    4 7s Headphones placed in the charging case, screen shows charging progress A few minutes of charging gets you through a commute. Battery life is based on official measurements. Fast charging, battery life based on official measurements Upbeat rhythm sound Product footage, license record ID-02
    5 4s Full product view and brand logo Choose a quiet pair of headphones for your commute. Brand name and purchase prompt Closing sound effect Brand assets, license record ID-04

    3. Weight Syntax in Text-to-Image Prompts

    Weight syntax varies by tool and cannot be treated as a universal rule. Common forms include:

    • Parentheses with a numeric value, e.g., (headphones:1.3). The higher the value, the stronger the influence of that term.
    • Double colon with a numeric value, e.g., headphones::1.3. Some tools use this syntax, and multiple terms are separated by double colons.
    • Natural language descriptions, e.g., “emphasize the metallic texture of the headphones.” Some tools do not support numeric weights and rely solely on word order and description.

    Before settling on a syntax, consult the official documentation of the tool you are using and generate two comparison images with the same seed value.

    Negative Constraints

    Negative prompts are used to exclude unwanted elements, for example:

    Negative: text watermark, distorted hands, extra headphones, low resolution

    Troubleshooting Failures

    • Weight not taking effect: Check whether the parentheses or colons are full-width characters. Most tools only recognize half-width symbols.
    • Subject overwhelmed by background: Lower the weight of the background description, or move background terms into the negative prompt.
    • Visual style changes every time: Fix the random seed and lock the model version.
    • Text distortion in the image: Avoid generating text within the image. Add text later in the editing stage using captioning tools.

    4. Green Screen Keying and Compositing Parameters

    The following parameters are starting values. Actual results depend on the lighting of the footage, the flatness of the green screen, and the editing software. Adjust them in the order below, changing only one parameter at a time.

    1. Color key sampling: Sample the most representative green areas on the screen, covering regions with significant brightness variation. Do not sample only a single point.
    2. Similarity and tolerance: Start at approximately 30% similarity and 10% tolerance. If the subject’s edges are being cut off, lower the similarity. If green residue remains, raise the similarity.
    3. Edge feathering: Start at 1 to 2 pixels. Excessive feathering makes the subject’s edges look soft and blurry.
    4. Spill suppression: Enable. Green reflections often appear on hair and the edges of clothing; spill suppression reduces the green fringe.
    5. Edge shrink: Start at 1 pixel to remove residual green edges.
    6. Output format: Preserve the alpha channel during the compositing stage by outputting PNG sequences or an Alpha-capable codec. Convert to H.264 only before final delivery, as the alpha channel will be lost after conversion. Make sure compositing is complete before converting.

    If significant jagged edges or grain appear around the subject’s hair, first check the resolution and compression quality of the source footage rather than simply increasing feathering.

    5. Digital Human Broadcasting and Subtitle Alignment

    1. After importing the broadcast audio, confirm the sample rate is 48kHz and matches the project settings.
    2. Cut the audio according to the durations in the storyboard. Align each audio segment with the start and end times of the corresponding shot.
    3. After importing subtitles from the SRT file, verify the timecode of each segment. Subtitles should appear at or before the voiceover starts and should not end after the voiceover ends.
    4. If the digital human’s lip movements are out of sync with the audio, first check whether the video and audio durations match, then decide whether to regenerate.

    6. Final Checklist and Compliance Guidelines

    Technical Checks

    • Resolution: Vertical format is typically 1080×1920; horizontal is typically 1920×1080. Choose according to the publishing platform’s requirements.
    • Frame rate: Keep consistent throughout the entire video, e.g., uniformly 25 or 30 fps. Do not mix frame rates.
    • Audio sample rate: 48kHz.
    • Loudness: Refer to the publishing platform’s requirements. A common target for streaming media is around -14 LUFS, but confirm with the platform’s specific guidelines.
    • Subtitle timecodes: Verify each segment by playback. No missing subtitles, no misalignment.
    • Codec: Final delivery should use H.264 with a pixel format of yuv420p to ensure compatibility with most players.
    • Asset source tracking: Record the source of every piece of material. It is recommended to maintain an asset source log with fields including asset ID, source, license type, license term, publishing platform, and commercial use scope.
    • Portrait release: When a real person’s image appears, obtain a written portrait release.
    • Voice release: When using a cloned voice or a voice actor’s recording, obtain written authorization. Also confirm the copyright ownership of the digital human’s likeness.
    • Fonts and music: Confirm commercial use is permitted before using them.

    Advertising and Complaint Risks

    • Avoid superlative terms such as “best,” “first,” “lowest price on the entire platform,” or “100% effective.”
    • Do not exaggerate product features. Numbers such as battery life or noise cancellation performance should be accompanied by testing conditions or a note like “based on official measurements.”
    • Do not make medical, health, or income claims.
    • If the platform requires labeling AI-generated content, add the appropriate identifier according to platform rules.
    • Ensure product footage matches the actual product. If the appearance shown in the video differs from the real product, it may lead to complaints.

    Pre-Publishing Checklist

    • Storyboard duration matches the final video length.
    • All voiceover content has corresponding subtitles.
    • Asset source log is fully filled out.
    • No superlative claims present.
    • A complete preview has been conducted in the target platform’s player.

    By following the steps above, an e-commerce promo video can be completed in a single full pass. When revisions are needed, start by using the checklist to locate the issue, then return to the corresponding step to fix it. This approach is usually faster than starting over from scratch.