1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
const axios = require('axios');
const api_key = "YOUR API-KEY";
const url = "https://api.segmind.com/v1/seedance-pro";
const data = {
"image_url": "https://segmind-resources.s3.amazonaws.com/input/1a5d8acb-e087-4cd9-875f-aad0d6c7e7a5-horse_track.png",
"duration": 5,
"prompt": "A powerful chestnut horse gallops fiercely along a muddy racetrack. [Low-angle shot] Captures several horses with jockeys racing neck and neck, mud spraying from their hooves in the rain. [Overhead shot] The camera slowly pulls upward, revealing the full track curving through a packed stadium under overcast skies.",
"resolution": "720p",
"seed": 12345,
"camera_fixed": false,
"aspect_ratio": "16:9"
};
(async function() {
try {
const response = await axios.post(url, data, { headers: { 'x-api-key': api_key } });
console.log(response.data);
} catch (error) {
console.error('Error:', error.response.data);
}
})();
Provide a URL to the image for relighting. Use S3 URLs for consistent results.
Set video length in seconds. Opt for 5 seconds for quick previews, 10 for detailed scenes.
Allowed values:
Detail the animation scene vividly. E.g., A sunset beach scene with waves lapping, people playing, sky turning orange.
Choose video clarity; 720p for most uses, 480p for faster processing.
Allowed values:
Define a seed for consistent outputs. Any number 1-999999 suffices.
min : 1,
max : 999999
Whether to fix the camera position.
Defines the width to height ratio of the video. Use 16:9 for landscapes or 9:16 for vertical videos.
Allowed values:
To keep track of your credit usage, you can inspect the response headers of each API call. The x-remaining-credits property will indicate the number of remaining credits in your account. Ensure you monitor this value to avoid any disruptions in your API usage.
Seedance PRO is an advanced generative AI model built to convert text and image inputs into rich, dynamic videos. Designed for developers, creators, and product managers, Seedance delivers smooth, stable motion and cinematic detail at up to 720p resolution.
With native multi-shot storytelling, it maintains visual and thematic consistency across multiple coherent camera angles. Whether you're orchestrating multi-agent action sequences or crafting a single panoramic sweep, Seedance interprets complex natural language prompts and diverse artistic styles: from photorealism to cyberpunk illustration.
Transform your creative vision with these powerful applications:
Follow these essential guidelines to get the best results:
By combining clear scene descriptions with parameter tuning, you'll maximize frame stability, prompt adherence, and cinematic quality.
A structured text prompt and an S3 image URL. You can also set duration, resolution, and an optional seed.
Use a detailed prompt structure and the same seed to ensure visual coherence.
Seedance PRO supports 480p for fast previews and 720p for higher clarity.
Yes, specify "pan left," "dolly in," or "wide shot to close-up" directly in your prompt.
From photorealism to stylized illustration and cyberpunk. Combine style keywords with scene details.