1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
const axios = require('axios');
const api_key = "YOUR API-KEY";
const url = "https://api.segmind.com/v1/seedance-v1-lite-image-to-video";
const data = {
"image_url": "https://segmind-resources.s3.amazonaws.com/input/73a8dadb-95e6-4bdc-a3ae-a4cd041b99a0-b572c379-3eb8-4c67-893c-b08662f9d11f.jpeg",
"duration": 5,
"prompt": "Generate a serene forest scene at dawn with birds chirping, sunlight filtering through trees, and a gentle mist.",
"resolution": "720p",
"seed": 12345
};
(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
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 1.0 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.
By combining clear scene descriptions with parameter tuning, you’ll maximize frame stability, prompt adherence, and cinematic quality.
Q: What inputs does Seedance 1.0 accept?
A: A structured text prompt and an S3 image URL. You can also set duration, resolution, and an optional seed.
Q: How do I maintain consistency across shots?
A: Use a detailed prompt structure and the same seed to ensure visual coherence.
Q: What resolution options are available?
A: Seedance 1.0 supports 480p for fast previews and 720p for higher clarity.
Q: Can I control camera movements?
A: Yes—specify “pan left,” “dolly in,” or “wide shot to close-up” directly in your prompt.
Q: Which artistic styles are supported?
A: From photorealism to stylized illustration and cyberpunk. Combine style keywords with scene details.