1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
const axios = require('axios');
const api_key = "YOUR API-KEY";
const url = "https://api.segmind.com/v1/seedance-1.5-pro";
const data = {
"first_frame_url": "https://segmind-resources.s3.amazonaws.com/output/862b6e07-5f98-4a5a-9f04-25c45c38bfda-seedance_1.5_input.webp",
"duration": 5,
"prompt": "Rapid acceleration along a sunlit highway with the camera racing low to the ground, seamlessly overtaking passing vehicles in a fluid, dynamic motion. The surroundings blur with vibrant speed as road lines streak beneath and wind rushes past, conveying a continuous sense of velocity and momentum. Sunlight flashes between moving forms and shadows, while clouds drift quickly overhead and the perspective shifts with every subtle turn. Each overtaking maneuver is smooth and uninterrupted, highlighting pure movement and immersive traveling energy with no fire or sparks—just the true sensation of high-speed highway motion",
"resolution": "720p",
"seed": 12345,
"camera_fixed": false,
"aspect_ratio": "adaptive",
"generate_audio": true
};
(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);
}
})();Specifies the starting frame image. Use for improved transitions; example: https://example.com/start.png.
Specifies the ending frame image. Combine with start frame for coherent transitions; example: https://example.com/end.png.
Controls video length. Choose 2 for shorts, 10 for detailed scenes.
Allowed values:
min : 2,
max : 12
Defines the animation content. Describe vividly; example: A space odyssey with flying ships.
Sets video quality. Use 720p for standard view.
Allowed values:
For consistent results, input a seed. Any number between 1-999999; example: 98765.
min : 1,
max : 999999
Determines camera movement. Enable for scenes needing stable views.
Defines video shape. Use 16:9 for landscapes, 9:16 for mobiles.
Allowed values:
Activate to create audio. Essential for clips with sound elements.
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.
Edited by Segmind Team on December 24, 2025.
BytePlus Video is the latest AI model that turns text prompts into cinematic-quality videos, which also supports optional audio. This intelligent model is designed for video generation of up to 1080p resolution and 12 seconds in length, with dynamic, motion-rich animations. BytePlus Video delivers smooth, consistent video motion with customizable camera angles, aspect ratios, and scene transitions, making it far ahead of other static image generators. It is an ideal option for quick video prototyping, social media, and any multimedia projects that need intuitive, AI-driven video generation, so the developers and creative professionals can utilize it for producing professional-level videos from text prompts.
BytePlus Video excels in rapid video content creation without traditional production workflows, making it invaluable for -
Writing effective prompts requires balancing specificity with creative flexibility.
[Wide shot] or [Close-up] to guide composition.Resolution impacts both quality and processing time
duration parameter affects motion coherence: 2-5 seconds work best for focused actions, while 10-12 seconds suit narrative sequences.camera_fixed for product demonstrations or stable architectural visualizations; disable it for dynamic action scenes.For consistent branding or iterative refinement, always specify a seed value.
aspect_ratio parameter should match your distribution platform: use 9:16 for mobile-first content, 16:9 for YouTube, and 1:1 for Instagram feeds.Is BytePlus Video open-source?
BytePlus Video is a proprietary model accessible through Segmind's API. The model weights are not open-source, but comprehensive documentation and code examples are provided for integration.
How does it differ from other text-to-video models?
BytePlus Video comes with frame-level control (first/last frame specification), built-in audio generation, and aspect ratio flexibility; all these features often require separate tools in competing solutions.
What parameters should I tweak for the best results?
Start with resolution (720p balances quality/speed) and duration (5 seconds is optimal for most content). Fine-tune seed for consistency, adjust camera_fixed based on subject matter, and experiment with aspect_ratio for platform requirements.
Can I create looping videos?
Yes, the model supports creation of looping videos; set identical first_frame_url and last_frame_url to create seamless loops, which is particularly effective for background animations and product showcases.
Does the model support multiple languages in prompts?
The model primarily processes English prompts for optimal results; simple phrases in other languages will also generate appropriate content.
What video formats does it output?
BytePlus Video generates standard MP4 files with H.264 encoding, which is universally compatible with web players, mobile devices, and editing software.