Seedance 2.0 Fast Serverless API
Professional-grade video creation model with native audio, similar to SeeDance 2.0 but faster and cheaper.
1import requests
2import json
3
4url = "https://api.segmind.com/v1/seedance-2.0-fast"
5headers = {
6 "x-api-key": "YOUR_API_KEY",
7 "Content-Type": "application/json"
8}
9
10data = {
11 "prompt": "Modern Rural Aesthetics, Cinematic Commercial quality, shot on Sony A7S3 or cinema camera, 4K/8K ultra-high resolution, Extreme Macro photography, natural and transparent lighting, healing ASMR atmosphere, no period drama aesthetics.\n\nScene: A well-organized modern farmhouse open-concept kitchen, lush vegetable garden visible in the background, bright sunny day.\n\nCharacter: Modern lifestyle creator, long black hair casually pinned up with a single wooden hairpin, wearing a comfortable deep-blue cotton-linen set, fresh minimal makeup, focused and serene expression.\n\nShot 1 [00:00-00:05] - The Freshness: High-definition close-up. Morning sunlight hits the plants in side-backlight. The creator's bare hands pluck a vivid red tomato covered in glistening dewdrops from a vine. Razor-sharp focus capturing the fine fuzz on the tomato's surface and a water droplet sliding down. Background is premium blurred green bokeh.\n\nShot 2 [00:05-00:10] - The Craft: Indoor kitchen stove, full of lived-in warmth yet spotlessly clean. The creator chops vegetables with practiced, fluid efficiency. Macro lens captures the blade splitting through the ingredient with juice splashing mid-air. Cut to clay stove firebox with dancing orange flames, warm and authentic light.\n\nShot 3 [00:10-00:15] - The Moment: Wide shot transitioning to medium shot. A beautifully plated home-cooked dish placed on a natural wood table in the courtyard. The creator sits quietly, tucks a loose strand of hair behind her ear, and lifts a bite with chopsticks. Steam rises slowly in backlighting. Still and serene, evoking effortless modern slow-living.",
12 "reference_images": [],
13 "reference_videos": [],
14 "reference_audios": [],
15 "duration": 5,
16 "resolution": "720p",
17 "aspect_ratio": "16:9",
18 "generate_audio": false,
19 "seed": -1,
20 "return_last_frame": false
21}
22
23response = requests.post(url, headers=headers, json=data)
24
25if response.status_code == 200:
26 result = response.json()
27 print(json.dumps(result, indent=2))
28else:
29 print(f"Error: {response.status_code}")
30 print(response.text) 1import requests
2import json
3
4url = "https://api.segmind.com/v1/seedance-2.0-fast"
5headers = {
6 "x-api-key": "YOUR_API_KEY",
7 "Content-Type": "application/json"
8}
9
10data = {
11 "prompt": "Modern Rural Aesthetics, Cinematic Commercial quality, shot on Sony A7S3 or cinema camera, 4K/8K ultra-high resolution, Extreme Macro photography, natural and transparent lighting, healing ASMR atmosphere, no period drama aesthetics.\n\nScene: A well-organized modern farmhouse open-concept kitchen, lush vegetable garden visible in the background, bright sunny day.\n\nCharacter: Modern lifestyle creator, long black hair casually pinned up with a single wooden hairpin, wearing a comfortable deep-blue cotton-linen set, fresh minimal makeup, focused and serene expression.\n\nShot 1 [00:00-00:05] - The Freshness: High-definition close-up. Morning sunlight hits the plants in side-backlight. The creator's bare hands pluck a vivid red tomato covered in glistening dewdrops from a vine. Razor-sharp focus capturing the fine fuzz on the tomato's surface and a water droplet sliding down. Background is premium blurred green bokeh.\n\nShot 2 [00:05-00:10] - The Craft: Indoor kitchen stove, full of lived-in warmth yet spotlessly clean. The creator chops vegetables with practiced, fluid efficiency. Macro lens captures the blade splitting through the ingredient with juice splashing mid-air. Cut to clay stove firebox with dancing orange flames, warm and authentic light.\n\nShot 3 [00:10-00:15] - The Moment: Wide shot transitioning to medium shot. A beautifully plated home-cooked dish placed on a natural wood table in the courtyard. The creator sits quietly, tucks a loose strand of hair behind her ear, and lifts a bite with chopsticks. Steam rises slowly in backlighting. Still and serene, evoking effortless modern slow-living.",
12 "reference_images": [],
13 "reference_videos": [],
14 "reference_audios": [],
15 "duration": 5,
16 "resolution": "720p",
17 "aspect_ratio": "16:9",
18 "generate_audio": false,
19 "seed": -1,
20 "return_last_frame": false
21}
22
23response = requests.post(url, headers=headers, json=data)
24
25if response.status_code == 200:
26 result = response.json()
27 print(json.dumps(result, indent=2))
28else:
29 print(f"Error: {response.status_code}")
30 print(response.text)API Endpoint
https://api.segmind.com/v1/seedance-2.0-fastParameters
promptrequiredstringDescribe the video scene; use Shot 1: / Shot 2: for multi-shot or image 1 / video 1 for omni-reference. Best for cinematic narration or product demos.
""aspect_ratiooptionalstringOutput dimensions: 16:9 for widescreen, 9:16 for mobile Reels, 1:1 for feed posts, 21:9 for cinematic.
"16:9""16:9""9:16""1:1""4:3""3:4""21:9""adaptive"durationoptionalintegerVideo length in seconds: 4, 5, 6, 8, 10, 12, or 15; -1 for auto. Use 5s for social posts, 10-15s for product demos.
5Range: 4 - 15first_frame_urloptionalstring (uri)Image URL to anchor the starting frame; mutually exclusive with reference_images. Best for product shots and character-led scenes.
""generate_audiooptionalbooleanEnable native audio co-generation (dialogue, SFX, ambient, music); set true for final delivery, false for draft iterations.
falselast_frame_urloptionalstring (uri)Image URL to define the final frame; requires first_frame_url set. Use for scene transitions or story resolution.
""reference_audiosoptionalstring[]Up to 3 MP3 URLs (max 15MB each) for audio reference; cite as audio 1 in prompt. Use for music matching or voice tone.
reference_imagesoptionalstring[]Up to 9 image URLs for style or character consistency; cite as image 1 in prompt. Fewer references yield stronger influence.
reference_videosoptionalstring[]Up to 3 video URLs (2-15s, max 50MB each) for motion or style reference; cite as video 1 in prompt. Good for camera technique replication.
resolutionoptionalstringOutput resolution: 720p recommended for production; 480p for faster previews or low-bandwidth delivery.
"720p""480p""720p"return_last_frameoptionalbooleanReturn the final frame as a separate image URL; useful for chaining clips or extracting scene-end stills.
falseseedoptionalintegerInteger for reproducible output; -1 generates a new random seed each run. Fix seed when iterating on prompt changes.
-1Range: -1 - 2147483647Response Type
Returns: Video
Common Error Codes
The API returns standard HTTP status codes. Detailed error messages are provided in the response body.
Bad Request
Invalid parameters or request format
Unauthorized
Missing or invalid API key
Forbidden
Insufficient permissions
Not Found
Model or endpoint not found
Insufficient Credits
Not enough credits to process request
Rate Limited
Too many requests
Server Error
Internal server error
Bad Gateway
Service temporarily unavailable
Timeout
Request timed out