Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

DeepSeek Harness + Seedance Video Generation: Zero-Code Production of Your First AI Short Film

DeepSeek Harness + Seedance Video Generation: Zero-Code Production of Your First AI Short Film

Previously we learned how to use DeepSeek Harness to generate images and how to use Remotion to create text and icon animations.

But what if we want to generate a real dynamic scene?

For example, a coffee shop is about to launch a new latte and wants to make a 5-second promotional video: morning sunlight streams into the cafe, a cup of hot latte sits on a wooden table, the camera slowly pushes in, and faint steam rises above the cup.

Such a scene requires natural lighting and shadows, a real sense of space, and continuous motion.

We can use theDeepSeek Harness + Doubao Seedanceto complete.

DeepSeek Harness is responsible for understanding requirements, organizing prompts, calling tools, and saving files; Seedance is responsible for generating video from text or images.

Most conveniently, after the initial setup, we only need to describe the desired video in Chinese, without writing programs ourselves.

Starting from scratch, this chapter introduces how tocreate a Harness workspace, activate Volcano Ark Agent Plan, integrate Seedance, generate video with natural language, and save and modify the finished film.

By the end of this chapter, you will have completed:


1. What DeepSeek Harness and Seedance Are Each Responsible For

First, let's introduce the roles of the two tools.

DeepSeek Harness is an AI Agent work environment that can read workspace files, use tools, and execute tasks.

Seedance is a series of video generation models launched by ByteDance that can generate dynamic video from text, images, and other supported reference materials.

Once the two are combined, DeepSeek can help us convert ordinary natural language requirements into video generation tasks.

Tool Main purpose
DeepSeek Harness Understand requirements, plan tasks, call video tools, save files
DeepSeek Model Understand natural language, organize and optimize video prompts
Seedance Generate actual dynamic video frames
Volcano Ark Agent Plan Provide model calling services within the corresponding plan benefits and quota

The entire video generation workflow

We can understand it as:

Input Chinese requirement -> DeepSeek organizes video prompt -> Harness calls Seedance -> generate video -> download and save MP4.

One thing to note here: DeepSeek Harness itself is not a video generation model.

Only after integrating the Seedance tool and confirming that the model and plan have the corresponding permissions can video actually be generated.


2. What Videos Seedance Can Make

Seedance is suitable for making short videos, product shots, scene animations, and image animation.

For example:

Video type Example
** Product promotion Dynamic displays of coffee cups, headphones, and thermos cups
** Image-to-video Give existing product images camera motion
** Natural scenery Snow mountain sunrises, ocean waves, clouds, and forests
** Anime short films Cartoon character actions, scenes, and camera changes
** Advertising shots Product close-ups, life scenes, and promotional materials

Common video generation methods

Method What needs to be provided Applicable scenarios
Text-to-video A text description Create a video scene from scratch
First-frame image-to-video An image and a text description Bring an existing image to life
First-and-last frame generation A start image, an end image, and a prompt Control the camera's start and end points
Reference-material generation Supported image, video, or audio materials When you need to reference characters, scenes, or actions

Different models and access tools may differ in their support for these features.

This chapter first learns the simplest text-to-video, then tries generating video using an image as the first frame.


III. Download and install DeepSeek Harness

First, open the official DeepSeek Harness website:https://www.deepseek.com/harness/

Choose the desktop version suitable for your operating system.

After installation, launch DeepSeek Harness and configure available model services according to the interface prompts.

If you have already completed the earlier DeepSeek Harness introduction or image generation course, you can directly use the already installed environment.

Confirm Harness Can Chat Normally

After the first launch, you can enter a simple test message:

Example: Testing DeepSeek Harness

Hello, please introduce what tasks you can currently perform.

I plan to use you to generate and manage AI videos.

Please tell me whether you currently have:

Workspace file access

Tool call

Video generation tools

If Harness responds normally, the basic chat function is available.

But this does not mean Seedance is integrated; you still need to separately check video generation capability later.


4. Creating a Video Generation Workspace

Next, let's first create a workspace dedicated to storing AI videos.

A workspace can be understood as a project folder on your computer; Harness handles files and generation tasks around this folder.

1. Create a local folder

Open the file manager on your computer and create a new folder in your personal documents directory.

You can name it:

runoob-harness-demo

2. Add to DeepSeek Harness

  1. Open the DeepSeek Harness main interface.
  2. Find the workspace management entry.
  3. Select Add Workspace or Add Folder.
  4. Select the one you just created runoob-harness-demo。
  5. Confirm the workspace appears in the list.

The workspace entry may vary with the desktop version; refer to the actual name in the current interface.

3. Create a New Session and Select the Workspace

Next, create a new session and confirm the currently selected workspace is:

runoob-harness-demo

If the interface offers Standard mode, you can use Standard mode first.

After this step, subsequently generated videos can all be saved in the project workspace.

4. Confirm the Workspace

Example: Checking the Current Workspace

This is my AI video generation workspace.

Please check:

The name of the current workspace.

The path of the current workspace.

Whether it has permission to read and save files.

Videos generated in the future,

please save them to the current workspace first.

For now, only check the environment;

do not modify or delete files.


Step 3: Activating Volcano Ark Agent Plan

This chapter uses Volcano Ark Agent Plan to integrate Seedance.

Open the official activation page:Volcano Ark Agent Plan Activation Page

Follow the page prompts to log in to your Volcano Engine account and select a plan with Seedance video generation benefits.

Note thatThe models supported by the different Agent Plan tiers are not entirely the same.

The Small and Medium plans are only for lightweight experience and do not support video generation; it is recommended to choose the Large and Max plans, which support video generation.

Obtaining Your Exclusive API Key

After activating a plan, go to the Agent Plan admin console:Agent Plan Management Console

Volcano Ark Agent Plan management page and dedicated API Key configuration example

Follow the page prompts to find the management entry for your plan's exclusive API Key.

Please note that a regular Volcano Ark API Key and an Agent Plan exclusive Key should not be mixed.

This chapter only uses the Agent Plan channel.

If the plan cannot call the selected Seedance model, stop the task and check permissions; do not automatically switch to a regular pay-as-you-go interface.

An API Key is a sensitive credential. It is recommended to use it through the official authorization page or a secure credential configuration method; do not paste the full Key into ordinary chat messages.


6. Having Harness Check the Seedance Integration Environment

The Harness workspace and Agent Plan are now ready.

The next step is to give Harness the ability to call video generation tools.

Volcano Ark currently supports calling Seedance through ArkCLI or API, and also provides video generation Skills for some Agents.

For DeepSeek Harness, this chapter prioritizes having it check whether ArkCLI is already available.

ArkCLI is the official tool of Volcano Ark that helps Agents call the video generation features in a plan.

We don't need to enter video generation commands ourselves; the initial installation or authorization can be completed following Harness's guidance.

First Check the Current Tools

Example: Checking Seedance Video Generation Capability

In my current DeepSeek Harness workspace, I want to

use Doubao Seedance to generate a video.

I have already activated Volcano Ark Agent Plan.

Please first check:

Whether the Seedance video generation tool is currently integrated.

Whether Volcano Ark ArkCLI is installed.

Whether the Agent Plan can be used.

Which Seedance models the current plan can use.

Whether text-to-video is supported.

Whether first-frame image-to-video is supported.

Whether videos can be downloaded to the workspace.

Requirements:

Tell me the check results in Chinese.

I don't need to write programs myself,

nor do I want to enter commands manually.

If official tools need to be installed,

first explain the source and installation steps.

If authorization is needed,

please guide me through the official secure authorization.

Do not ask me to paste an API Key in the chat.

Do not use a regular pay-as-you-go interface.

For now, only check the environment;

Do not submit paid generation tasks.

If ArkCLI Is Not Installed

You can continue to ask Harness to help with configuration.

Example: Configuring Volcano Ark ArkCLI

Please help me configure the official Volcano Ark ArkCLI.

Official documentation:

https://docs.volcengine.com/docs/ark/agent-plan-personal-ark-cli?lang=zh

Requirements:

First check whether Node.js meets the current requirements.

Check whether ArkCLI is installed.

If not installed, use the officially provided installation method.

Guide me through browser authorization login.

Confirm the consumption mode is agent-plan.

Check the Agent Plan status.

Check whether the Seedance video model is available.

Please use official authorization methods first.

Do not write the API Key into chat messages.

Do not print or leak the API Key.

Do not install other third-party tools without confirmation.

Do not enable regular pay-as-you-go.

When done, tell me:

Whether the video generation capability is ready.

The official ArkCLI login process usually supports browser authorization.

If a consumption mode choice appears, you should select agent-plan, rather than the regular pay-as-you-go mode.

If you also need to configure DeepSeek Harness through the official ArkCLI Helper, you can select the corresponding Agent Plan Profile and AI Agent according to the official wizard.

Note: successful model provider configuration does not mean the video generation tool is necessarily available. You must further check whether Harness can really call ArkCLI's video generation feature.


7. Confirming Which Seedance Model to Use

The Seedance series includes different versions.

For the first exercise, you can select a model with text-to-video capability based on your current plan's support.

Model Recommended Use
Seedance 2.0 Mini Simple shots, basic exercises
Seedance 2.0 Fast Tasks that need to balance quality and generation efficiency
Seedance 2.0 Short films with higher demands on visual performance
Seedance 2.5 More complex motion, camera, and multimodal tasks

This chapter can prioritize the already-activated Seedance 2.5 in your plan, or use an available Seedance 2.0 series model.

For specific model identifiers, supported durations, resolutions, and quota deduction rules, refer to the current Agent Plan's official model list.

Having Harness Confirm the Model

Example: Selecting a Video Generation Model

Please check my Agent Plan:

Which Seedance video models are currently supported.

This time we are only making one 5-second video.

Requirements:

16:9 landscape.

Prefer 720p.

A single shot throughout.

Please recommend a model supported by the current plan.

Tell me:

The model name.

Whether text-to-video is supported.

Whether it supports 5 seconds.

Whether it supports 16:9.

Whether it supports 720p.

How much plan quota this will consume.

Give the check results first.

Do not generate the video yet.

After confirming the model is available, proceed to the next step.


8. Enter Chinese to Generate Your First AI Video

Now let's officially start making the video.

This chapter uses a simple scene: a hot latte on a cafe table.

We want the camera to slowly push in, highlighting the warm morning atmosphere.

What Should the Video Prompt Contain

Element Example in this chapter
subject A cup of hot latte
Scenario A warm cafe, a wooden table
Lighting Soft natural morning light
Main action A little steam rising naturally
Camera motion Slowly pushing forward
Duration 5 seconds
Aspect ratio 16:9
Limitation No text, no people, no sudden shot cuts

Copy the video generation prompt directly

Example: Generate a 5-second latte atmosphere video

Please use the Volcano Ark Agent Plan plan's

The Seedance video generation model,

produce a 5-second coffee atmosphere short clip.

[Scene Subject]

A freshly made hot latte.

The coffee is in a white ceramic cup.

Natural latte art on the surface.

The coffee cup sits on a light-colored wooden tabletop.

[Scene]

A warm, quiet cafe.

Soft morning sunlight streams in through the window.

The background is slightly blurred.

[Camera Movement]

Only one continuous shot throughout.

The camera slowly moves forward,

gradually approaching the coffee cup.

The shot is steady and natural.

[Dynamic Details]

A small amount of steam rises from the cup.

The steam drifts upward gently and continuously.

Other objects remain stable.

[Visual Style]

Realistic commercial photography.

Warm natural light.

Clear details.

Soft color tone.

[Constraints]

No people appear.

No text appears.

No Logo or watermark appears.

Don't add a second coffee cup.

Don't cut the shot suddenly.

Don't let the cup visibly deform.

[Video Specs]

Duration: 5 seconds.

Aspect ratio: 16:9.

Prefer 720p.

No audio is required this time.

[Execution Requirements]

Use the currently configured Agent Plan.

do not use regular postpaid.

Check plan permissions and estimated quota consumption before submitting.

Generate one video after confirmation.

After successful generation, download it to the current workspace.

If the plan cannot be used,

tell me the reason directly,

don't automatically switch to other payment channels.

After sending, Harness should first check the available models and invocation methods, then submit the generation task through the already configured video tool.

If the tool isn't invoked automatically but only returns a video prompt, the current tool invocation configuration may still be incomplete; check the connection status first.


IX. View the video generation result

Video generation differs from ordinary text answers; you usually need to create a generation task first, then wait for the model to finish processing.

For the Volcano Ark video generation service, the API uses asynchronous tasks.

We don't need to manage requests and task status ourselves; we can ask Harness to handle the queries.

Query video tasks

Example: View the current video task

Please check the Seedance video task just submitted.

Tell me:

Whether the task was created successfully.

The current task status.

The video model used.

The target video duration.

Whether video generation is complete.

If it's still generating,

use the existing task ID to continue querying.

Don't create a new video task repeatedly.

If generation succeeds,

download the video and save it to the current workspace.

If it fails,

tell me the reason for the failure.

Don't regenerate automatically.

There's one thing to note here:

If a network problem occurs during the query, don't immediately resubmit the generation task.

Because the original task may still be running, resubmitting could cause unnecessary quota consumption.

The correct approach is to keep the task ID and continue querying the existing task.


X. Save the generated MP4

After successful video generation, save the result to the local workspace.

The video download URL returned by Volcano Ark may have an expiry, so it's recommended to download and save it promptly.

We can tell Harness directly:

Example: Save the video file

Please save the video that was generated successfully just now

to the current workspace.

Filename:

latte-video-v01.mp4

Requirements:

Save the complete video file.

Do not overwrite existing files.

Check whether the file was downloaded successfully.

Tell me the actual video duration.

Tell me the video resolution.

Tell me the file save path.

Confirm the file can be opened normally.

Please keep the prompt used for this generation.

Don't invoke the video generation model again.

Recommended workspace structure

Video file save example

runoob-harness-demo/

├── videos/

│   ├── latte-video-v01.mp4

│   └── latte-video-v02.mp4

│

├── images/

│   └── latte-reference.png

│

├── prompts/

│   └── latte-video.md

│

└── reports/

    └── latte-video-check.md

These folders can be created by Harness based on actual task needs; the user doesn't need to manually create all the directories.

It's recommended to keep the original video and prompt so different versions can be compared when adjustments are needed later.


XI. Check whether the video meets the requirements

Successful generation doesn't mean the video is fully qualified.

For example, the coffee cup may deform midway, the camera may suddenly change direction, and the steam may move unnaturally.

Therefore, we need to actually watch the video and check a few key issues.

Video acceptance checklist for this chapter

Check item Pass criteria
** Shot continuity Single shot throughout, with no sudden cuts
** Coffee cup appearance Cup shape basically stable, with no obvious deformation
** Steam movement Steam rises continuously and naturally
** Lighting Overall lighting stable, with no abnormal flickering
** Camera advance Advance is slow and steady
** Duration About 5 seconds
** File MP4 plays normally
** Extra elements No obvious extra objects, text, or abnormal marks

Have Harness assist with the check

Example: Check the generated video

Please check the coffee video just generated.

File:

videos/latte-video-v01.mp4

Please check:

Video duration.

Video resolution.

Whether it can play normally.

Whether the coffee cup's appearance changes noticeably.

Whether the camera advance is reasonable.

Whether there are abnormal black frames.

Whether extra text or objects appear.

If the current tool supports video analysis,

check the frames at key time points.

If the dynamic effect can't be judged fully,

clearly tell me that manual viewing is needed.

Please output a brief acceptance checklist.

Don't regenerate the video automatically.

Harness can check some issues through video tools, frame extraction, or metadata analysis, but static frame checks shouldn't be treated as equivalent to full viewing.

For the final motion smoothness and visual effect, it's still recommended to open the video yourself to confirm.


XII. Generate a video from a single image

The earlier examples were text-to-video, providing only a text description.

If you already have a satisfactory product image, you can also use Seedance's image-to-video feature.

For example, we have a headphone product image and want the camera to slowly approach the headphones while keeping their appearance.

At this point, you can upload the image to the current Harness session or place it in the video workspace.

What requirements must the image meet

Check item Recommendation
subject Clear and complete, not cropped
Background As simple as possible
Image ratio As consistent as possible with the target video ratio
Image quality Avoid blurriness or excessive compression
Material permissions Use images you own or are authorized to use

Make it directly with natural language

Example: Convert a headphone image into a video

Please use the headphone image in the current workspace:

images/headphones.png

Generate a roughly 5-second video through Seedance.

Use this image as the first frame of the video.

[Video Content]

A pair of white headphones on a light gray background.

The camera slowly moves forward,

Let the headphones gradually enlarge.

Keep the background clean.

[Must Preserve]

The headphones' original:

Color

Appearance

Ear cup shape

Headband structure

Buttons and ports

Don't redesign the product.

[Constraints]

No people appear.

Don't add headphone parts.

No text or watermark appears.

Don't change the camera angle suddenly.

[Video Specs]

5 seconds.

16:9。

Prefer 720p.

[Execution Requirements]

First confirm that the current Seedance tool

supports first-frame image-to-video.

Use only the Agent Plan.

Confirm the model and quota consumption before submitting.

Save the MP4 after successful generation.

Don't overwrite the original image.

The key here is "use the image as the first frame," not merely letting the model reference a text description of the image.

If the tool currently connected to Harness doesn't support image input, add the corresponding capability first rather than pretending the first frame was used.


XIII. Control video using first and last frames

If you want the video to start from a specified frame and end on another specified frame, you can try first-and-last-frame video generation.

For example:

The model will try to generate continuous motion from the first image to the second.

However, first and last frames can only constrain the start and end; they can't guarantee that every frame in between is fully correct.

Example: Use two images to generate an advancing shot

Please use Seedance's first-and-last-frame video generation feature.

First frame image:

images/headphones-start.png

Last frame image:

images/headphones-end.png

Goal:

Make a roughly 5-second headphone showcase video.

Start with a medium shot of the complete headphones,

the camera slowly moves forward,

finally resting on a close-up of the ear cup.

Requirements:

Keep the headphones' appearance consistent.

Don't change the product's color or material.

Camera movement is natural and steady.

Don't switch camera positions suddenly.

Don't add new headphone parts.

No text or watermark appears.

Before generating, please check:

Whether the two images show the same product.

Whether the ratio and composition are suitable for connecting.

Whether the current model supports first-and-last-frame mode.

Use only the Agent Plan.

After confirmation, generate one video,

and save the MP4 to the workspace.

If the products in the two images are inconsistent to begin with, modify the reference materials first, then submit the video generation task.


XIV. Have DeepSeek optimize the video prompt first

Sometimes we only have a very simple idea and don't know how to describe the shot.

For example, we only want to say "help me make a coffee ad."

At this point, you can let DeepSeek act as a video director to help fill in shot and visual details.

Example: Plan first, then generate the video

I want to make a 5-second coffee ad.

The subject is a cup of hot latte.

Please first design a simple single-shot plan for me.

Need to specify:

How the subject is placed.

What the background should be.

Which direction the light comes from.

How the camera should move.

Which actions are allowed in the frame.

Which elements should not appear.

Image style:

Realistic commercial photography, warm and natural.

Don't design multiple shots.

Don't add people.

First output the complete video prompt.

After I confirm,

then generate the video through Seedance.

Don't call the model now.

This approach suits formal projects, letting you confirm the creative idea before consuming plan quota.

If it's just a casual exercise, you can also generate directly with one complete video prompt.


XV. What to do if you're not satisfied with the generation

The first generated video may not meet expectations.

For example, the coffee cup doesn't deform noticeably, but the camera advances too fast.

At this point, first judge whether the problem can be solved through post-processing.

Problem Recommended handling methods
Extra footage at the beginning of the video Consider cropping
Camera advances too fast Check whether playback speed can be adjusted; regenerate if necessary
Overall color too dark Try adjusting brightness in post-processing
Coffee cup continuously deforms Regenerate after modifying the prompt or reference materials
Camera cuts suddenly Strengthen the single-shot requirement; regenerate if necessary
An extra coffee cup appears Fix the subject count constraint; regenerate if necessary

Have Harness analyze the problem

Example: Modification instructions when unsatisfied with the video

The video just generated has some issues.

The issues are:

The camera advances too fast,

and the coffee cup slightly deforms in the middle.

Please analyze the causes first.

Tell me:

Which issues can be fixed in post-processing.

Which issues require regeneration.

How the prompt should be modified.

Whether reference images need to be added.

How much quota regeneration might consume.

First give a modification plan.

Don't resubmit the task directly.

Without my confirmation,

don't generate a second video.

If regeneration is needed, it's recommended to save the result as a new version, e.g. latte-video-v02.mp4, don't overwrite the first version.


XVI. How to control Agent Plan video generation quota

Video generation consumes model invocation resources.

This chapter uses the Agent Plan, so you need to watch the remaining plan quota and the model's deduction rules.

Different models, resolutions, video durations, and input methods may consume different amounts of plan quota.

Therefore, it's not recommended to think of the price of a single video as a fixed per-second cost.

Recommended control methods

Stage Recommendation
Video planning Prepare the prompt first, don't generate immediately
Submit the task Confirm the model, duration, resolution, and quota consumption
Task Execution Submit only one clear generation task at a time
Generation failure Check task status and error cause; don't automatically retry repeatedly
Result modification Prioritize keeping usable versions; avoid repeated quota consumption

Note that whether the Agent Plan supports a model doesn't mean that model can generate unlimited times.

Specific plan quota, available models, and deduction rules need to be confirmed in the Volcano Ark management console.


XVII. Common problems and solutions

Problem Possible cause Solution
Harness only generated a video prompt No available video generation tool Check ArkCLI or other formally integrated capabilities
Seedance model unavailable Plan doesn't support it or model permission not enabled Check the Agent Plan model list
Indicates the API Key is invalid Credential error or billing channel mismatch Check plan-specific credentials and authorization status
Incorrectly using the regular API Tool not configured for Agent Plan consumption mode Stop invoking; check the configuration before executing
Video keeps showing "generating" Task queued or still processing Keep the task ID and continue querying the existing task
Video generated successfully but can't be downloaded Download URL expired or download failed Re-fetch the result using a platform-supported method
Image can't be used as the first frame Current tool or model input mode doesn't support it Check image-to-video support
Generated video inconsistent with the prompt Model didn't accurately follow certain motion or subject constraints Simplify the shot; improve the reference materials and prompt
Video can't be found Not saved to the current workspace Check the download result and file path

General video tool troubleshooting instructions

Example: Troubleshoot Seedance invocation failure

I failed to invoke Seedance in DeepSeek Harness.

Please check:

The current workspace.

Whether ArkCLI is available.

Whether logged into Volcano Ark correctly.

Whether the consumption mode is agent-plan.

Whether the Agent Plan is valid.

Whether the current plan supports the target Seedance model.

Whether the video generation tool can actually be invoked.

Whether there are task permission or parameter issues.

Please explain in Chinese:

Problems found

Possible cause

Solution

Whether I need to perform authorization operations

Don't output or leak the API Key.

Don't switch to regular post-paid.

Don't resubmit paid tasks during troubleshooting.


XVIII. Manage the entire video project with a single prompt

If the workspace and Seedance tool are already configured, you can also use the following master instruction to let Harness manage video production uniformly.

Example: DeepSeek Harness + Seedance complete task instruction

You are my AI video production assistant.

Please use DeepSeek Harness + Seedance

to help me generate a 5-second coffee product short video.

I only describe requirements in Chinese,

I don't need to write code myself.

[Project]

Use the currently selected workspace.

[Video Topic]

A hot latte in a morning cafe.

[Scene]

A cup of hot latte on a light-colored wooden tabletop.

White ceramic cup.

Natural coffee latte art.

Morning sunlight streams in from the side.

The background is a warm, quiet cafe.

[Camera]

One continuous shot throughout.

The camera slowly moves forward.

A small amount of natural steam rises from the cup.

The shot is steady, with no sudden cuts.

[Visual Style]

Realistic commercial photography.

Warm natural light.

Soft background blur.

[Constraints]

No people.

No text.

No Logo.

No watermark.

No second coffee cup.

Don't noticeably change the cup's shape.

[Video Specs]

5 seconds

16:9

Prefer 720p

No audio is required this time.

[Tools]

Use the currently configured Volcano Ark Agent Plan.

Use a Seedance model supported by the plan.

Don't use regular post-paid channels.

[Execution Flow]

Step 1:

Check the workspace and Seedance tool.

Step 2:

Confirm the model and plan permissions.

Step 3:

Refine this video prompt.

Step 4:

Tell me the generation parameters and estimated quota consumption.

Step 5:

Wait for my confirmation.

Step 6:

After confirmation, submit one video generation task.

Step 7:

Save the task ID and query the status.

Step 8:

Download the MP4 after successful generation.

Step 9:

Check the video duration and resolution.

Step 10:

Let me actually watch and accept it.

[File Management]

Video file:

videos/latte-video-v01.mp4

Prompt file:

prompts/latte-video.md

Don't overwrite existing files.

[Exception Handling]

Report the cause first when a task fails.

Prioritize restoring the existing task when a query fails.

Don't regenerate automatically.

If the plan quota is insufficient,

stop directly and tell me.

Don't automatically top up.

Don't switch to other payment methods.

First check the environment and generation plan now,

then formally execute after confirmation.


19. Hands-on Exercises

Exercise 1: Generate a snow mountain sunrise video

Use natural language to generate a roughly 5-second snow mountain sunrise video.

Require the camera to move slowly horizontally and the clouds to change naturally.

Exercise 2: Generate a cafe ad shot

Reuse the latte scene from this chapter, switch to a fixed camera position, and keep only the steam and natural light-and-shadow changes.

Compare the effects produced by different shot descriptions.

Exercise 3: Generate a video from an image

Prepare a product image you took yourself, use the first-frame image-to-video mode, and make a slowly advancing shot.

Check whether the product undergoes obvious structural changes.

Exercise 4: Control the first and last frames

Prepare a medium shot and a close-up of the same product, and try generating a video using the first and last frames.

Focus on checking whether the beginning, the end, and the middle motion are reasonable.

Exercise 5: Check generation records

Have Harness save the video, original prompt, model used, and generation task records.

Try comparing the motion differences between two video versions.