Video GenerationSeedance
Seedance 1 Lite
ByteDance Seedance 1 Lite video generation with normalized resolution, duration, and image controls.
POST /v2/videos/generate — model: "seedance-1-lite"
Seedance 1 Lite supports both text-to-video and image-to-video generation through a single normalized API.
See Video Generation overview for common request fields, response format, and error codes.
Model-specific parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
seedanceParams.duration | integer | 5 | Video duration in seconds: 5 or 10 |
seedanceParams.resolution | string | "720p" | Output resolution: "480p", "720p", or "1080p" |
seedanceParams.aspect_ratio | string | "16:9" | Output aspect ratio: "21:9", "16:9", "4:3", "1:1", "3:4", "9:16", or "9:21" |
seedanceParams.start_image | string | — | URL of an image to use as the first frame |
seedanceParams.end_image | string | — | URL of an image to use as the ending frame where supported |
seedanceParams.seed | integer | — | Optional random seed for reproducible generations |
seedanceParams.camera_fixed | boolean | false | Locks the camera for more static motion |
Credit cost
| Variant | Credits |
|---|---|
480p-5s | 5 |
720p-5s | 10 |
1080p-5s | 20 |
480p-10s | 10 |
720p-10s | 20 |
1080p-10s | 40 |
Code examples
curl -X POST https://api.apiframe.ai/v2/videos/generate \
-H "X-API-Key: afk_your_api_key_here" \
-H "Content-Type: application/json" \
-d '{
"prompt": "a cinematic sunrise over a mountain lake",
"model": "seedance-1-lite",
"seedanceParams": {
"duration": 10,
"resolution": "720p",
"aspect_ratio": "16:9"
}
}'import requests
response = requests.post(
"https://api.apiframe.ai/v2/videos/generate",
headers={
"X-API-Key": "afk_your_api_key_here",
"Content-Type": "application/json",
},
json={
"prompt": "a cinematic sunrise over a mountain lake",
"model": "seedance-1-lite",
"seedanceParams": {
"duration": 10,
"resolution": "720p",
"aspect_ratio": "16:9",
},
},
)
print(response.json())const response = await fetch("https://api.apiframe.ai/v2/videos/generate", {
method: "POST",
headers: {
"X-API-Key": "afk_your_api_key_here",
"Content-Type": "application/json",
},
body: JSON.stringify({
prompt: "a cinematic sunrise over a mountain lake",
model: "seedance-1-lite",
seedanceParams: {
duration: 10,
resolution: "720p",
aspect_ratio: "16:9",
},
}),
});
console.log(await response.json());Try it
POST
/v2/videos/generateTry it