AI Video Storyboarding and Task Planning
AI Video Storyboarding and Task Planning
Previously, we learned to use Codex with Seedance to generate an AI video of about 5 seconds.
For example, a cup of coffee on a wooden table, with the camera slowly pushing in and steam slowly rising. A simple shot, just by clearly stating the subject, scene, and movement, you can start generating.
But what if you want to make a complete product promotional video?
For example, we are preparing a 15-second short video for an orange thermos cup, hoping to sequentially showcase the product's appearance, lid details, and actual usage scenarios.
If you throw all the requirements to the AI at once, various problems may occur: the first shot is an orange cup, the second shot's lid becomes a twist-on lid, and the third shot has a different body proportion.
Each segment looks good on its own, but when pieced together, it looks like it's introducing three different products.
At this point, we needa storyboard and a plan..
First, we let Codex break the entire video into three independent shots, unify the product appearance, cinematic language, and color, then feed them to Seedance one by one for generation, and finally use FFmpeg to stitch them together.
The goal of this lesson is to completea 15-second, 3-shotthermos cup promotional video, and produce a storyboard, three sets of video prompts, a generation plan, and a shot acceptance report.
I. What is a video storyboard
Storyboards can be understood as the construction drawings before video shooting.
For example, if we want to make a promotional video for a thermos cup, and only say:
Example: Overly simple video requirement
Make me a 15-second thermos cup advertisement.
Show the product appearance, lid details, and usage scenarios.
The visuals should be high-end.
AI knows what we want to do, but is not clear on how long each shot should appear, what angle to shoot from, or when to switch shots.
We can first break it down into three shots:
| Lens | Content | Duration | Function |
|---|---|---|---|
| 01 Opening | Insulated cup on the desk | 5 seconds | Let the audience recognize the product |
| 02 Close-up | Thermos lid detail | 5 seconds | Show product appearance details |
| 03 Scene | Thermos placed in backpack side pocket | 5 seconds | Show product usage scenario |
This way, each shot knows what task it needs to complete.
If the second shot has a problem, you only need to remake the second shot, not necessarily overturn the entire promotional video.
Direct generation versus storyboarding then generation
| Production method | Advantages | Applicable scenarios |
|---|---|---|
| Direct generation of the entire video segment | Simple workflow, reduced operational steps | Short clips, single shots, or models capable of reliably completing multi-shot tasks |
| Storyboard first, then generate shot by shot | Convenient for controlling each segment and reworking them individually | Product advertisements, narrative short films, or multi-shot videos requiring consistency |
Note that shot-by-shot generation does not automatically guarantee shot continuity, but it breaks down the problem into smaller parts, making it easier for us to discover and fix issues.
II. What is Codex's Plan mode
Plan means planning first, then executing.
For example, if we ask Codex to create a 15-second advertisement, without explicit constraints, it might start writing the script, calling tools, or even preparing to generate multiple videos directly.
But what we really need to know first is:
- How many shots should this advertisement be divided into?
- What should each shot express?
- What product reference materials need to be prepared?
- Which video generation model should be used?
- How many generation tasks are expected to be submitted?
- How to stitch and check after generation is complete?
After these questions are confirmed, we will proceed with the official execution.
The Plan method discussed in this lesson can use the planning function currently provided by Codex, or you can directly ask it via promptsto output a plan first, wait for confirmation, and not execute paid generation.This lesson's workflow
Requirement → Storyboard Plan → Product Reference Image → Per-Shot Prompt → Independent Review → Video Generation → Stitching → Final Acceptance
III. Preparation: Locking Product and Video Specifications
This lesson continues to use Codex and Seedance.
If you have completed the environment configuration from the previous chapter, you can continue using the existing Python, FFmpeg, and Volcengine Ark API calling environment.
If the environment configuration for the previous chapter has been completed, you can continue to use the existing Python, FFmpeg, and Volcengine Ark API calling environment.
If not configured yet, you can first read the previous chapter "Seedance Video Generation Introduction".
Video Specifications
| Project | Course Requirements |
|---|---|
| Video Topic | Portable Insulated Cup Promotional Video |
| Total Duration | Approximately 15 seconds |
| Number of shots | 3 |
| Single shot duration | 5 seconds per target |
| Aspect ratio | 16:9 horizontal |
| Target resolution | 720p |
| Visual style | Minimalist commercial product photography |
| Audio | First create the silent version |
| Video delivery | 3 shot videos + 1 composite MP4 |
The actual duration and screen size of each shot must be based on the model's return results; check the specifications before splicing.
Fixed thermos cup appearance
We will use the simulated product from the previous prompt section: an unbranded orange thermos cup.
Before generating any shots, confirm its core features first.
| Attributes | Fixed requirements |
|---|---|
| Color | Pure orange |
| Cup body | Straight, cylindrical with equal width top and bottom |
| Material | Orange matte painted stainless steel |
| Cup lid | Matching flat round flip lid |
| Connecting structure | Rear hinge |
| Initial state | Cup lid completely closed |
| Other features | No handle, no straw, no brand markings |
This description will serve as the product specification that the three shots must adhere to.
This lesson does not provide insulation performance, sealing performance, battery parameters, or other real product data, so the video cannot independently add related functional promotions.
Four, Step 1: Have Codex create a storyboard plan for three shots
Now open Codex and enter the following task instruction in a new project directory.
Note: This step is only for planning; it will not generate images, call Seedance, or incur video API fees.
Example: Three-shot promotional video Plan instruction
You are a commercial short video director,
and are also responsible for AI video production task planning.
Please help me plan a 15-second thermos cup promotional video.
Currently, only the Plan stage is entered,
do not generate images or videos,
do not submit any paid API requests.
[Product]
An unbranded orange cylindrical thermos cup.
The body is straight and equally wide at the top and bottom,
Made of matte spray-coated stainless steel material.
Equipped with a matching flat circular lid,
The cup lid is connected by a rear hinge.
No handle, no straw, no brand markings.
[Video Specifications]
Total duration: approx. 15 seconds
Number of shots: 3
Single shot duration: 5 seconds
Aspect ratio: 16:9
Resolution: 720p
Style: Realistic commercial product photography
[Lens structure]
Lens 1:
Show the complete appearance of the product.
Lens 2:
Show the lid and material details.
Shot 3:
Show the scene of the thermos being placed in the side pocket of the backpack.
[Please output first]
Overall video concept.
Three-shot storyboard.
Visual task for each shot.
Shot size and camera position.
Camera movement.
Subject action.
Scene and lighting.
Reference image requirements.
Transition method between shots.
Estimated number of generation tasks.
Potential failure risks.
Shot acceptance criteria.
Please point out the unreasonable parts of the plan.
Show me the complete proposal first.
After I confirm,
then proceed to material production and video generation.
Why review the storyboard first?
Because the storyboard determines the structure of the entire video.
If the content of the shot itself is unreasonable, even if the video model generates it beautifully, the spliced effect may be unnatural.
For example, Shot 2 is a close-up of a cup lid, but Shot 3 suddenly becomes a cup of a completely different color; this is due to poor control over storyboard and material consistency.
V. Step Two: Creating an Executable Three-Shot Storyboard
Based on the goals of this lesson, the following storyboard plan can be formulated.
| Shot | Scene | Camera Movement | Acceptance Focus |
|---|---|---|---|
| 01Opening 5 seconds | Wooden table in the morning light, orange thermos placed upright | Slow push in | Product appearance, scene atmosphere |
| 02Close-up 5 seconds | Lid and body surface of the same thermos | Fixed camera position, slight focus change | Lid structure, material consistency |
| 03Scene 5 seconds | The orange thermos is placed in the side pocket of the backpack | Slight following | Product shape and action rationality |
Why is the shot arranged this way
The three shots solve three problems:
- **Shot 1:** What is this product?
- Shot 2: What are the noteworthy visual details?
- Shot 3: What usage scenarios is it suitable for?
This structure is clearer than having three lenses rotating around the cup.
How does the lens angle change?
Lens 1 can be used for a medium shot, Lens 2 for a close-up, and Lens 3 for a medium close-up.
This provides rhythmic variation without requiring complex camera movements.
However, it should not mechanically dictate that "every shot must change angle" or that "the subject cannot be centered."
For product main images and symmetrical structures, a centered composition can be the most suitable option itself.
The key to lens design is to let the shot size and movement serve the content, not to change for the sake of change.
VI. Step 3: Establish a unified visual standard for three shots
The most common problem with multi-shot AI video is inconsistency in product and style.
Therefore, before writing the prompts for each shot, establish a unified standard first.
Unified standard example
| Project | Unified requirements |
|---|---|
| Product | Identical orange cylindrical thermos cup |
| Cup lid | Matching flat flip lid with rear hinge |
| Material | Matte spray-coated stainless steel |
| Overall style | Realistic, minimalist commercial photography |
| Color | Warm beige, wood color, and orange |
| Lighting | Soft warm light, avoid obvious color temperature jumps |
| Aspect ratio | Unified 16:9 |
| Audio | This time unified to silent |
| Text | Do not generate text, logos, or watermarks |
This specification is recommended to be saved separately asproduct-style.mdfor reference by all three shots.
How to prepare reference materials
It is recommended to prioritize preparing a confirmed reference image of the thermos cup product.
If the tool supports multiple reference images, you can also prepare detail images of the lid and usage scene images.
However,reference images should not just have the same name, but should genuinely come from the same product.
If it is only a simulated product, you can first generate a main image with a determined appearance, and then create reference images from it for other angles.
For real product promotion, you should try to use actual product images to avoid AI altering the product's appearance on its own.
VII. Step Four: Mastering the Seven-Segment Video Prompt
In the previous chapter, we learned to describe the subject, scene, and camera movement.
When moving to multi-shot production, the prompt must take on another task: ensuring that different shots adhere to the same visual standards.
Here, you can adopt a seven-segment prompt structure.
| Section | Content to fill in | Purpose |
|---|---|---|
| 1. Art style | Photographic texture, tone, and overall style | Maintain visual consistency |
| 2. Cinematography | Duration, shot size, camera position, and camera movement | Define cinematic language |
| 3. Composition and lighting | Subject position, background, and light direction | Control screen layout |
| 4. Subject | Product shape, color, material, and details | Maintain product consistency |
| 5. Time and action | What happens at the beginning, development, and end of the shot | Clearly define the sequence of actions |
| 6. Audio | Presence of ambient sound, music, and dialogue | Unified audio requirements |
| 7. Constraints | Objects that should not change | Reduce generation bias |
The seven-segment format is a template for organizing tasks, not a format strictly required by the Seedance API.
For simple shots, the content can be appropriately shortened; for complex shots, action details or reference materials can be supplemented.
Furthermore, describing second by second is not always better. Time constraints are only necessary when you need to control the sequence of actions.
VIII. Shot 1: Product Opening Display
The first shot is responsible for introducing the product to the audience.
The scene is an orange thermos placed vertically on a warm wooden table, with morning sunlight streaming into the room, and the camera slowly pushing in.
No character actions or camera rotations are needed here.
Example: Shot 01 Seven-Segment Prompt
[1. Art Style]
Realistic commercial product photography.
Simple and modern, with warm beige and wood-colored backgrounds.
Soft natural light, slight background blur.
[2. Shot]
Duration 5 seconds.
16:9 horizontal aspect ratio.
720p.
Starts with a medium shot.
The camera slowly and steadily pushes forward.
A single continuous shot throughout.
No camera switching.
[3. Composition and Lighting]
The thermos is placed vertically on a light wooden table.
The subject is slightly to the right of the center of the frame.
Soft morning sunlight shines in from the left.
There are natural contact shadows on the table.
The background is clean and simple.
[4. Main Body]
An unbranded orange cylindrical thermos cup.
The body is straight and equally wide at the top and bottom.
The material is orange matte spray-coated stainless steel.
A matching flat circular flip lid.
Connected by a hinge on the back.
The cup lid remains closed.
No handle, no straw, no brand markings.
[5. Time and Action]
0-1 seconds:
Display the complete thermos and desktop environment.
1-4 seconds:
The camera slowly pushes forward.
The cup remains still.
4-5 seconds:
The camera push-in speed gradually slows down.
Keep the cup body fully visible.
[6. Audio]
This generation is a silent video.
No dialogue, background music, or ambient sounds are needed.
[7. Constraints]
Do not change the product's color or shape.
Do not let the cup lid open by itself.
Do not add other cups.
No characters appear.
No text, logos, or watermarks appear.
No sudden cuts or drastic camera movements.
Maintain a commercial photography quality.
Acceptance focus for Shot 1
Check if the thermos is intact, if the cup body is stable, and if the camera push-in is natural.
If this shot is satisfactory, it can serve as the visual benchmark for the entire piece.
Nine, Shot 2: Close-up of thermos lid flipping
The second shot is responsible for showcasing product details.
To create a contrast with the first shot, we use a fixed camera position and close-up shots.
The shot mainly displays the frosted texture of the lid, hinges, and cup body.
This lesson does not require showing the internal structure of the lid because confirmed internal product materials were not provided.
Example: Shot 02 Seven-Segmented Prompt
[1. Art Style]
Continue the commercial photography style of Shot 01.
The same warm beige, wood, and orange color scheme.
Soft natural light.
Realistic materials, clear details.
[2. Camera]
Duration 5 seconds.
16:9 horizontal screen.
720p.
Fixed camera position.
Close-up shot of the product.
No mirror shots.
No complex camera movements.
[3. Composition and Lighting]
Focus on the lid and the upper half of the cup body.
Use a slight three-quarter view,
showing the lid and the rear hinge.
Maintain a lighting direction similar to shot 01.
Softly blur the background.
[4. Subject]
Must be the same thermos cup as in shot 01.
Orange cylindrical body.
Matte spray-coated stainless steel material.
Same color flat circular lid.
Rear hinge.
The cup lid must be completely closed.
Do not change the thickness, color, or structure of the lid.
[5. Time and Action]
0-1 seconds:
Clearly display the cup lid outline.
1-4 seconds:
Keep the shot stable.
Slightly adjust the focus,
making the cup lid and frosted material clearer.
4-5 seconds:
Keep the product in close-up,
Reserve a stable shot for the next scene transition.
[6. Audio]
Silent video.
Do not generate narration or background music.
[7. Constraints]
Do not open the lid.
Do not show non-existent sealed structures.
Do not change the cup lid connection method.
Do not change the flip lid to a twist lid.
Do not change the thermos color.
Do not include text, logos, or watermarks.
Maintain the same product appearance as shot 01.
Why not require the cup lid to open automatically?
Because the cup lid opening means the model needs to process hinge movement, cup lid structure, and internal space changes.
For a simple product close-up shot, it is completely unnecessary to add so many movements.
If the uncapping process truly needs to be shown later, a separate shot can be made, and real uncapping reference materials can be provided.
X. Shot 3: Portable Usage Scenarios
The third shot is responsible for showcasing the thermos cup in daily life scenarios.
This lesson is designed for one hand to put the thermos cup into the side pocket of a backpack.
This shot is more complex than the previous two because it involves the contact relationship between the person's hand, the backpack, and the cup.
Therefore, the action should be as simple as possible.
Example: Shot 03 Seven-Segment Prompt
[1. Art Style]
Authentic lifestyle photography.
Continuation of the warm tones from the previous two shots.
Soft natural light.
Simple and clean visuals.
No exaggerated advertising effects.
[2. Shot]
Duration of 5 seconds.
16:9 landscape aspect ratio.
720p.
Medium close-up.
Slight following motion.
One continuous shot throughout.
No camera switching.
[3. Composition and Lighting]
A simple dark gray backpack
placed next to a light wooden desk.
The side pocket is clearly visible.
The insulated cup is located near the center of the frame.
Soft natural light shines in from the left.
[4. Subject]
An orange insulated cup, the same as in shots 01 and 02.
Cylindrical cup body.
Matte stainless steel material.
Matching flat circular lid.
Rear hinge.
Cup lid remains closed.
Only one thermos is shown.
A hand can appear in the frame,
used to complete the action of putting it into the backpack.
[5. Time and Action]
0-1 seconds:
A hand holding the thermos,
Approach the side pocket of the backpack.
1 to 3 seconds:
Slowly place the thermos
into the side pocket of the backpack.
The action should be natural and continuous.
The body of the cup should remain vertical.
3 to 5 seconds:
Release the thermos and move out of the frame.
The thermos cup is stably placed in the side pocket.
The camera slightly follows the movement.
Finally, remain stable.
[6. Sound]
Silent video.
Do not generate dialogue or music.
[7. Restrictions]
Do not change the color or shape of the thermos cup.
Do not add handles or straws.
Do not let the cup lid open suddenly.
Do not let the thermos pass through the backpack fabric.
Do not show extra fingers.
Do not show a second thermos.
Do not show text, logos, or watermarks.
Actions should remain simple and realistic.
What is the most likely problem in the third shot?
Mainly object contact relationships.
For example, the thermos might pass through the side pocket of the backpack, the number of fingers might be abnormal, or the cup might suddenly deform during placement.
If this shot cannot meet the requirements, you can reduce the action complexity: change it to the thermos already placed in the side pocket of the backpack, and the shot slowly displays the product.
This can still convey the portable usage scenario, but it reduces complex interaction actions.
Eleven, Step Five: How to maintain product consistency across three shots
Since the three shots are generated separately, the most common issue is inconsistency in the main subject's appearance.
Therefore, it is recommended to use a unified product reference image and a clear material management method.
Recommended reference materials
| Materials | Function |
|---|---|
product-front.png |
Determines the cup body color, shape, and proportion |
product-cap.png |
Determines the flip lid and hinge structure |
product-scene.png |
Provides scene composition reference, optional |
If only one front product image is available, it can be used as a unified reference first, and then check if the other angles generated by the model are reasonable.
For products that must be strictly consistent, it is best to provide multiple angle images of the actual product.
How to choose reference input for Seedance
Seedance 2.0 and 2.5 series support different generation modes such as first frame, end frame, and reference material.
However, the first frame mode, end frame mode, and full modality reference mode are different input methods and cannot be arbitrarily combined.
This lesson suggests choosing based on the actual needs of the shot:
| Shot | Suggested input method |
|---|---|
| Shot 01 | Use the first frame image of the complete product and desktop |
| Shot 02 | Use the confirmed close-up first frame image of the cup lid |
| Shot 03 | Use reference images of the product in use |
If multiple reference materials are used, you should use the corresponding reference mode according to the official requirements of the selected model, instead of treating all images as the first frame.
If a stronger shot transition is needed, you can also try extracting the last frame of the previous shot as a reference for the subsequent shot.
But note:Shots with different shot types may not be suitable for directly using the last frame of the previous shot as the first frame of the next shot.
For example, if the first shot is a medium shot on a desk and the second is a close-up of the cup lid, directly reusing the exact same image may limit the composition of the close-up.
In this situation, a more reasonable approach is to prepare product close-up reference images consistent with the previous shot.
Twelve, Step Six: Independent Review Before Submission
After preparing the three sets of prompts, it is recommended to review them before submitting the video generation task.
The purpose of the review is not to modify the entire concept, but to identify issues that might lead to a failed video.
For example:
- The storyboard requires the cup lid to be closed, but the prompt requires the cup lid to be open.
- The cup color is inconsistent across the three shots.
- The side pocket of the backpack in Shot 3 clearly cannot fit the thermos.
- Too many actions are arranged in a 5-second shot.
- The model and resolution in the generated script do not match the plan.
Independent review prompt
You can start a new Codex conversation or use an independent review process to check the storyboard plan and prompts.
Example: AI video pre-submission review
You are now acting as an AI video production reviewer.
This is read-only and cannot be modified.
Do not modify the files.
Do not generate images.
Do not submit video tasks.
Please review the following content:
Three-shot storyboard.
Product unified specifications.
Three sets of seven-segment prompts.
Product reference images.
Video generation parameters.
Shot sequence plan.
[Review Goal]
Produce a thermos cup promotional video of about 15 seconds.
3 shots.
Target duration of 5 seconds for each shot.
[Item Check]
Whether each shot has only a clear main task.
Whether the product appearance is consistent across the three shots.
Whether the color, material, and lid are consistent.
Whether the camera movement is reasonable.
Whether there are overly complex actions.
Whether the time period descriptions conflict with each other.
Whether extra objects might appear in the frame.
Whether there is a risk of product clipping or structural change.
Whether the reference material is suitable for the corresponding shot.
Whether the colors between shots are unified.
Are the video specifications unified?
Is it explicitly prohibited to make unauthorized paid requests?
[Output Requirements]
First output the review form:
Check item
|
Result
|
Issue
|
Modification suggestions
Finally, provide:
Approved / Not approved
If not approved,
only list the issues that must be modified.
Do not modify the original file directly.
After approval, we still need to confirm the final prompts, models, generation counts, and budget.
Independent review can help discover inconsistencies, but it cannot guarantee that the videos generated by the model will be satisfactory.
XIII, Step 7: Develop a shot-by-shot generation plan
The three shots do not need to be generated simultaneously.
For beginners, it is recommended to produce them in sequence, proceeding to the next one after each shot is approved.
Recommended execution order
| Phase | Execution task | Continue after confirmation |
|---|---|---|
| Prepare | Confirm storyboard, reference images, prompts, and budget | Yes |
| Shot 01 | Generate opening product shot | Yes |
| Shot 02 | Generate a close-up shot of the cup lid | Is |
| Shot 03 | Generate usage scenario shots | Is |
| Stitching | Unify encoding specifications, composite video | Is |
| Final Acceptance | Check the visuals, rhythm, transitions, and files | Complete |
If the first shot reveals issues with the product reference image, you should first correct the reference material instead of continuing to generate the next two shots.
How to control costs
This lesson plans to generate a total of three 5-second shots.
The actual cost is determined by the model, input materials, resolution, generation duration, and current billing rules.
You can estimate it in the following ways:
Base Budget = Single Shot Estimated Cost × Planned Number of Generated Shots
If some revision attempts are still allowed, an additional budget needs to be reserved.
It is recommended to confirm the cost before submitting each paid task, rather than authorizing Codex to generate all shots without restrictions at once.
Let Codex execute according to the plan.
Example: Execute instructions shot by shot.
The three-shot storyboard plan has been confirmed.
Please produce shot by shot according to the plan.
This time, only shot 01 will be generated.
Please check first:
Lens 01 prompt.
Product reference image.
Seedance model.
Video duration.
Aspect ratio.
Resolution.
Estimated cost.
Whether the API parameters comply with the official documentation.
Before I confirm,
Do not submit paid video generation tasks.
After successful generation:
Save the video to shots/shot-01-v01.mp4.
Retain the task ID and generation parameters.
Use FFprobe to check the video specifications.
Extract keyframes.
Generate a shot inspection report.
Do not automatically generate shots 02 and 03.
After I watch shot 01 and confirm,
then proceed to the next step.
Do not overwrite existing videos.
This can keep each paid generation within a clear work unit.
Fourteen, Step Eight: Save shot materials and project files
If you want to create a multi-shot video, it is recommended to establish a unified file structure from the beginning.
This prevents confusion between materials and versions when modifying a specific shot later.
Video project directory example
runoob-cup-video/
├── plan/
│ ├── storyboard.md
│ ├── product-style.md
│ └── budget.md
│
├── references/
│ ├── product-front.png
│ ├── product-cap.png
│ └── product-scene.png
│
├── prompts/
│ ├── shot-01.md
│ ├── shot-02.md
└── shot-03.md
│
├── shots/
│ ├── shot-01-v01.mp4
│ ├── shot-02-v01.mp4
│ └── shot-03-v01.mp4
│
├── previews/
├── reports/
├── scripts/
└── output/
└── final-video.mp4
Where:
planSave the storyboard and production plan.referencesSave the unified reference image.promptsSave the prompts for each shot.shotsSave the original video generated by the model.reportsSave the review and acceptance records.outputSave the final finished video.
If a specific shot needs to be regenerated, increment the version number, for exampleshot-02-v02.mp4.
Do not overwrite the previous version, and you do not need to regenerate all three shots every time you make a modification.
Fifteen, Step Nine: Concatenate the three shots using FFmpeg
Once all three shots are confirmed to be acceptable, you can start concatenating them.
The simplest way is to use FFmpeg to join the three MP4 videos into one complete short film.
However, AI-generated videos may have differences in encoding, frame rate, and actual size, so the specifications should be unified first.
Step 1: Check each shot
Check the video parameters of each shot
for
f
in
shots
/
shot-
0
{
1
,
2
,
3
}
-v01.mp4;
do
echo
"Checking: $f"
ffprobe
-v
error \
-show_entries
stream
=codec_name,width,height,r_frame_rate \
-show_entries
format
=duration
-of
json
"$f"
done
If the encoding and specifications of the three videos are completely compatible, you can concatenate them without re-encoding using FFmpeg's concat demuxer.
If the specifications are different, it is recommended to unify the dimensions and frame rate first, and then concatenate and output.
Step 2: Unify video specifications and concatenate
The following command will unify three shots to 1280 × 720, 30fps, and composite them into a silent video in sequence.
FFmpeg three-shot splicing example
mkdir
-p
output
ffmpeg
\
-i
shots
/
shot-01-v01.mp4 \
-i
shots
/
shot-02-v01.mp4 \
-i
shots
/
shot-03-v01.mp4 \
-filter_complex
"\
[0:v]scale=1280:720:force_original_aspect_ratio=decrease,pad=1280:720:(ow-iw)/2:(oh-ih)/2,fps=30,setsar=1[v0];\
[1:v]scale=1280:720:force_original_aspect_ratio=decrease,pad=1280:720:(ow-iw)/2:(oh-ih)/2,fps=30,setsar=1[v1];\
[2:v]scale=1280:720:force_original_aspect_ratio=decrease,pad=1280:720:(ow-iw)/2:(oh-ih)/2,fps=30,setsar=1[v2];\
[v0][v1][v2]concat=n=3:v=1:a=0[outv]"
\
-map
"[outv]"
\
-c:v libx264
-crf
20
\
-pix_fmt yuv420p
-movflags
+faststart \
output
/
final-video.mp4
This command does not add music or include complex transitions, making it suitable for the basic exercises in this lesson.
It defaults to using three full input clips, so the total output duration depends on the actual duration of the three source videos and may not be exactly 15 seconds.
If you need strict control over the final video length, you can first decide whether to trim or add frames based on the actual material, and then re-output.
Step 3: Check the final file
Check the duration and resolution of the finished video
ffprobe
-v
error \
-show_entries
format
=duration \
-show_entries
stream
=width,height,r_frame_rate
-of
json
output
/
final-video.mp4
After confirming that the video can be decoded normally, play the entire film.
Sixteen, Step Ten: Check for continuity between shots
Three shots look good individually, but that does not mean they will look natural when spliced together.
For example, the background of the first shot is warm, and the second one suddenly becomes cold blue; or the lid of the cup in the first shot is very flat, and the second one suddenly becomes thick.
These issues can only be easily found when the shots are put together.
Shot Transition Checklist
| Check item | Through standard |
|---|---|
| ** Product color | All three lenses are the same orange color |
| ** Product structure | The cup body, lid, and hinge are consistent |
| ** Image tone | No obvious abrupt changes in warm or cool tones |
| ** Camera movement rhythm | Camera movement matches content |
| ** Shot duration | Each shot duration conforms to the plan, and the overall rhythm is natural |
| ** Subject stability | No obvious deformation, clipping, or extra parts |
| ** Editing transitions | Transitions are clear, with no abnormal black frames or flickering |
| ** Audio | This silent version of the lesson has no unexpected audio. |
Another point to note is that transitions are not always necessary between shots.
For concise product promotional videos, direct cuts can sometimes be more natural than complex fades.
If a transition is truly needed, it can be added using editing tools after confirming the content of the three video segments.
Seventeen, Complete Example: Letting Codex Manage the Entire Video Production Project
The previous steps covered storyboarding, prompts, assets, review, generation, and splicing.
If you want to delegate these stages to Codex for unified management, you can use the complete project prompt below.
Example: Codex Video Storyboarding and Execution Complete Prompt
You are my AI video director and project execution assistant.
Please use Codex + Seedance,
to assist in producing a product promotional video of about 15 seconds.
[I. Project Goal]
Product:
Unbranded orange portable insulated cup.
Final video:
About 15 seconds.
16:9.
Target 720p.
Silent version.
Total of 3 shots.
[II. Unified Product Specifications]
Orange cylindrical body.
Equal width top and bottom.
Matte spray stainless steel material.
Solid color flat round lid.
Rear hinge.
Cup lid remains closed.
No handle, no straw, no brand markings.
All lenses must maintain a consistent product appearance.
[III, Three Lenses]
Lens 01:
Insulated cup on a morning wooden table.
Medium shot, slow push in.
Target 5 seconds.
Shot 02:
Close-up of the lid and cup body material.
Fixed camera position.
Target 5 seconds.
Shot 03:
Thermos placed in the side pocket of the backpack.
Slight follow.
Target 5 seconds.
[IV. Plan Stage]
First output:
Storyboard.
Task for each shot.
Shot type and camera movement.
Product consistency specification.
Reference image list.
Lens transition design.
Generate task plan.
Budget estimation.
Major risks.
Acceptance criteria.
Do not perform charging operations without confirmation.
[V. Prompts]
Write seven-part prompts for three different shots:
Art style
Shot
Composition and lighting
Subject
Time and action
Sound
Constraints
Save each shot separately.
Do not combine three shots into one.
Do not use undifferentiated prompts.
[VI. Materials]
Uniformly use the confirmed product reference images.
Do not change the product structure yourself.
When there is no supporting real data,
Do not fabricate product functions and performance parameters.
VII. Independent Review
Check before generation:
Whether the product appearance is consistent
Whether the shot content is reasonable
Whether the action is too complex
Whether the reference image matches
Whether the video specifications are consistent
Whether the budget and number of attempts are clear
Review is read-only and cannot be modified.
Fix the plan first if there are any issues.
[Section Eight, Seedance Generation]
Use the currently enabled Volcengine Ark video model.
Implement the call according to the current official API documentation.
Pre-execution checks:
Model
API Interface
Duration
Ratio
Resolution
Input material
Estimated cost
Only one shot can be generated at a time.
Automatic batch submission is prohibited without approval.
Save the task ID after submission.
Prioritize query recovery during network anomalies.
Do not directly duplicate paid tasks.
[IX. File Saving]
plan/storyboard.md
plan/product-style.md
prompts/shot-01.md
prompts/shot-02.md
prompts/shot-03.md
shots/shot-01-v01.mp4
shots/shot-02-v01.mp4
shots/shot-03-v01.mp4
output/final-video.mp4
Do not overwrite the old version.
Do not delete the original materials.
[Section Ten: Video Acceptance]
Check:
Whether each shot plays normally.
Actual duration of the shot.
Aspect ratio and resolution of the screen.
Product color and shape.
Cup lid and hinge structure.
Whether the camera movement is natural.
Whether there is obvious clipping or deformation.
Whether the shots are coherent.
Whether any unexpected text or watermarks appear.
Use FFmpeg and FFprobe
Complete automated checks.
Content that requires manual review,
is clearly marked as pending confirmation.
[Section Eleven, Stitching]
After all three shots have passed inspection,
merge them into an MP4 using FFmpeg.
Maintain 16:9 aspect ratio.
Unify video encoding and frame rate.
Complex transitions and music will not be added this time.
Output the final review report.
[Twelve, Execution Order]
Now enter the Plan stage first.
Output the complete storyboard plan and budget.
After I confirm,
Continue preparing materials and executing generation.
This complete prompt is suitable for creating other product short videos in the future.
For example, replacing the thermos cup with headphones, a keyboard, an e-reader, or a desktop ornament only requires redefining the product specifications and the tasks for the three shots.
Eighteen, Frequently Asked Questions and Solutions
| Problem | Possible Cause | Solution |
|---|---|---|
| The three shots do not look like the same product | Reference materials and product descriptions are inconsistent | Lock down product features and use a consistent set of reference materials |
| There are large color variations between shots | Lighting and color lack unified standards | Fix the overall color scheme and apply moderate color grading in post-production |
| Too many camera movements | Each shot takes on too many tasks | Each shot should retain one main action |
| The third shot has clipping | The interaction between hands, backpack, and cup is too complex | Lower the action difficulty or change it to a static usage scenario |
| The cup lid deforms in the second shot | Missing detailed reference images | Supplement a real cup lid close-up as a reference |
| Codex directly generated three shots | No rule was set for shot-by-shot confirmation | Only one paid task can be submitted at a time |
| Shot duration exceeds the plan | Actual generation duration does not exactly match the target | Check the source files and trim and adjust as needed |
| FFmpeg cannot concatenate directly | Video encoding, frame rate, or dimensions are inconsistent | Standardize video specifications first, then composite |
| Generation cost exceeds expectations | Excessive duplicate submissions or rework | Record task ID, set budget, and confirmation mechanism |
General storyboard modification instructions
Example: Only modify problematic shots
Please check the current three-shot storyboard plan.
Issues in the previous version:
[Fill in the discovered issues]
Please first determine:
This is a storyboard design issue,
a reference material issue,
a prompt issue,
or a video generation result issue.
Modification requirements:
Retain the confirmed product specifications.
Retain the shots that do not need modification.
Only adjust the problematic parts.
Do not increase the number of new shots.
Do not fabricate product features.
Do not overwrite existing materials and videos.
Do not resubmit paid tasks without approval.
Please output first:
Cause of the problem
Modification plan
Scope of impact
Whether to regenerate
Potential additional costs
Wait for my confirmation before executing.
Nineteen. Hands-on practice
Practice 1: Creating storyboards for an e-reader promotional video
Replace the thermos cup in this lesson with a brand-less e-reader.
Still create three shots:
- Shot 1: Show the appearance of the e-reader.
- Shot 2: Show screen and bezel details.
- Shot 3: Show reading usage scenarios.
First generate the storyboard, no need to submit the video task immediately.
Exercise 2: Compare two shot structures.
Create two storyboard plans around the same thermos cup.
Version A uses "Appearance, Details, Scene"; Version B uses "Scene, Product, Details".
Compare the differences between the two sequences in information expression and viewing rhythm.
Exercise 3: Generate three storyboard reference images.
Do not generate videos yet, only create static storyboards for the three shots separately.
Place the three images together and check if the color, shape, and overall style of the thermos cup are consistent.
Exercise Four: Compose a 15-second short video
If the Seedance video generation is complete, the three shots can be saved as MP4.
Use FFmpeg to unify specifications and stitch them together, then check the final duration, scene transitions, and product consistency.