A Practical Guide to Coordinated AIGC Image and Short Video Creation

    This article presents a four-stage pipeline for combining text, image, and video generation models into a repeatable workflow for short video production. It explains why a three-part text-image-video process reduces wasted generation credits, how to structure creative decisions as machine-readable JSON, and what to control at each stage: keyframe generation, motion generation, and final assembly with quality checks. It also covers teaching and engineering recommendations for running the pipeline as a task-queue-driven service.

    1. Why You Need a Text-Image-Video Three-Stage Workflow

    Calling a single generative model only solves a “fragment” problem: text models are good at structure and semantic constraints, image models are good at single-frame composition and style control, and video models are good at temporal consistency and motion. Real projects deliver a finished video, so the three models must be chained into a pipeline rather than treated as three unrelated toys.

    The core benefits of a three-stage workflow are threefold. First, it moves creative decisions to the text stage, where the shot list, style terms, and negative constraints are fixed in natural language. Second, it isolates uncertainty in the single-frame stage: if an image is unsatisfactory, you re-roll it without wasting video credits. Third, the video stage only has to handle “motion,” which significantly reduces wasted compute and time.

    2. Four-Stage Pipeline Design

    Stage 1: Structure the Creative Brief (Text Tool)

    Have the text model output a machine-readable intermediate artifact instead of prose. A JSON structure is recommended for programmatic calls downstream:

    1. {
    2. "project": "City Night Walk",
    3. "style": ["cinematic", "low saturation", "shallow depth of field"],
    4. "negative": ["text watermark", "extra fingers", "frame jitter"],
    5. "shots": [
    6. {"id": 1, "duration": 3, "camera": "push in", "subject": "rainy night street"},
    7. {"id": 2, "duration": 2, "camera": "lateral move", "subject": "neon reflection"}
    8. ]
    9. }

    The value here is that the shot list becomes the single source of truth. Both the image and video stages read only this structure, avoiding style drift caused by each stage writing its own prompts.

    Stage 2: Keyframe Generation (Image Generation Engine)

    The goal of the image stage is not “good-looking” but “controllable and reusable.” Practical points include fixing the seed and sampling parameters for reproducibility, using reference images to guide composition (image-to-image), and using canvas capabilities for inpainting and outpainting to keep spatial relationships consistent across multiple shots of the same scene.

    Stage 3: Motion Generation (Video Generation Engine)

    The video stage takes a first frame or first and last frames, along with motion amplitude and camera movement descriptions, to generate clips. A practical rule is to keep each clip to a few seconds and generate in segments before stitching, which avoids long-sequence breakdown. For character-action requirements, motion imitation capabilities can be used to align rhythm.

    Stage 4: Assembly and Quality Control

    Stitch the clips according to the shot list, unify color grading and audio, then run a quality checklist: whether the subject drifts, whether light direction is consistent, whether there is structural distortion, and whether transitions serve the narrative.

    3. Teaching and Engineering Recommendations

    For course design, a three-level progression is recommended: basic operations, single-tool cases, and cross-tool collaboration cases. Each case should include source files, demo videos, courseware, and practice assets to form a closed loop of new-form teaching materials.

    For engineering, the pipeline can be packaged as a task-queue-driven service: object storage holds intermediate artifacts, a message queue decouples the stages, a container platform runs inference tasks, and logging with monitoring and alerting handles failure retries and cost observation.

    If deployed on Baidu AI Cloud, it can be treated as a combination of general capabilities rather than proprietary APIs: general compute and container capabilities run inference, object storage archives assets, and monitoring and alerting act as a quality gate, turning the creative workflow into measurable, regression-testable engineering assets.