
Text to Image
Create AI images from text prompts
Generate high-quality video via Seedance 2.5 API for Text-to-Video powered by ByteDance. Newest Seedance AI for professional text to video generation.
// Step 1: Submit generation request
const response = await fetch('https://api.flaq.ai/api/v1/video/task', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_API_KEY'
},
body: JSON.stringify({
model_name: 'seedance-v2.5-text-to-video',
prompt: 'A cat playing with a ball of yarn on a sunny windowsill',
resolution: '720p',
duration: 8,
aspect_ratio: '16:9',
sound: true
})
});
const { data } = await response.json();
const taskId = data.task_id;
// Step 2: Poll for results
const taskId = data.task_id;
const pollResult = async (taskId) => {
const res = await fetch(`https://api.flaq.ai/api/v1/video/${taskId}`, {
headers: { 'Authorization': 'Bearer YOUR_API_KEY' }
});
return res.json();
};
while (true) {
const pollResultData = await pollResult(taskId);
const status = pollResultData.data.task_status;
if (status === 'succeed') {
console.log(pollResultData.data.task_result.videos[0].url);
break;
}
if (status === 'failed') {
console.error(pollResultData.data.task_status_msg);
break;
}
await new Promise(resolve => setTimeout(resolve, 10000));
}
# Step 1: Submit generation request
import requests
response = requests.post(
'https://api.flaq.ai/api/v1/video/task',
headers={
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_API_KEY'
},
json={
'model_name': 'seedance-v2.5-text-to-video',
'prompt': 'A cat playing with a ball of yarn on a sunny windowsill',
'resolution': '720p',
'duration': 8,
'aspect_ratio': '16:9',
'sound': True
}
)
result = response.json()
task_id = result['data']['task_id']
# Step 2: Poll for results
task_id = response.json()['data']['task_id']
poll_url = f"https://api.flaq.ai/api/v1/video/{task_id}"
while True:
poll_result = requests.get(poll_url, headers={'Authorization': 'Bearer YOUR_API_KEY'}).json()
status = poll_result['data']['task_status']
if status == 'succeed':
print(poll_result['data']['task_result']['videos'][0]['url'])
break
if status == 'failed':
print(poll_result['data']['task_status_msg'])
break
time.sleep(10)
# Step 1: Submit generation request
curl -X POST https://api.flaq.ai/api/v1/video/task \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model_name": "seedance-v2.5-text-to-video",
"prompt": "A cat playing with a ball of yarn on a sunny windowsill",
"resolution": "720p",
"duration": 8,
"aspect_ratio": "16:9",
"sound": true
}'
# Step 2: Poll for results
# Replace {task_id} with the task_id returned from the submit response
curl -X GET "https://api.flaq.ai/api/v1/video/{task_id}" \
-H "Authorization: Bearer YOUR_API_KEY"
| Parameters | Price | Original Price | Discount |
|---|
ByteDance Seedance 2.5 Text-to-Video API turns natural-language prompts into polished video clips for developers and creative teams. The API combines flexible output quality, adjustable clip length, broad format support, and generated sound in a production-ready workflow on Flaq AI. It is built for advertising, social media, product storytelling, creative prototyping, and scalable video applications that need reliable prompt-based generation.
Note Please ensure your prompts comply with ByteDance's content safety guidelines. If an error occurs, review your prompt for restricted content, adjust it, and try again.
Seedance 2.5 vs. Seedance 2.0 Text-to-Video
Both models support prompt-driven ByteDance video generation. Seedance
2.5 provides a current workflow with flexible quality, duration, format, and generated-sound controls for production
use on Flaq AI.
Seedance 2.5 vs. Veo 3.1 Fast Text-to-Video
Veo 3.1 Fast focuses on rapid generation within Google's video model
family. Seedance 2.5 offers ByteDance video generation with broad aspect ratio coverage, adjustable clip length, and
integrated sound control.
Seedance 2.5 vs. Kling Text-to-Video
Kling provides text-driven video generation across creative scenarios.
Seedance 2.5 differentiates through its Flaq AI API workflow, flexible output settings, and support for generated
sound in the same request.
Seedance 2.5 vs. Sora (OpenAI)
Sora is positioned around broad cinematic video creation. Seedance 2.5 provides a
focused API option for developers building short-form advertising, social, commerce, and automated content workflows.
Seedance 2.5 vs. Runway Video Generation
Runway combines generation with an interactive creative suite. Seedance
2.5 Text-to-Video API is designed for programmatic integration, repeatable request controls, and scalable video
production.
Explore several AI creation tools for quick image and video workflows in your browser, then scale successful ideas with Flaq AI's production-ready model APIs. Flaq AI provides a unified API layer for all models, making it easy to use and scale your workflows.

Create AI images from text prompts

Create AI images from images and text prompts

Create AI videos from text prompts

Animate images into AI videos

Create AI images and videos in one unified workspace

Create consistent videos from reference media

Build visual AI image and video workflows on an infinite canvas