Text-to-Video
POST /v1/common_task/text2video/task/submit — generate 480p, 720p, or 1080p clips up to 30 seconds from a prompt.
Generate up to 30-second Seedance 2.5 clips from the Topview REST API. Compare Business member rates with official estimates, then submit text-to-video, image-to-video, or reference tasks.
const submit = await fetch('https://api.topview.ai/v1/common_task/text2video/task/submit', {
method: 'POST',
headers: {
Authorization: 'Bearer YOUR_API_KEY',
'Topview-Uid': 'YOUR_USER_ID',
'Content-Type': 'application/json'
},
body: JSON.stringify({
model: 'seedance-2.5',
prompt: 'A cinematic product orbit in a dark studio, golden rim light',
aspectRatio: '16:9',
resolution: 720,
duration: 8,
sound: 'on',
generatingCount: 1
})
});
const { result } = await submit.json();
const query = await fetch(
'https://api.topview.ai/v1/common_task/text2video/task/query?taskId=' + result.taskId,
{ headers: { Authorization: 'Bearer YOUR_API_KEY', 'Topview-Uid': 'YOUR_USER_ID' } }
);
console.log(await query.json());Business member rates from the Topview pricing table. Comparison uses BytePlus listed Seedance 2.5 prices. 720p is the annual Business rate, 9% OFF versus $0.231 per second. 1080p is 20% OFF versus $0.569 per second.
720p
/ second
$0.231
byteplus.com
$0.2112
1.2 credits
Annual Business price
1080p
/ second
$0.569
byteplus.com
$0.4576
2.6 credits
The same Seedance 2.5 generation modes available in Topview, callable as async tasks.
POST /v1/common_task/text2video/task/submit — generate 480p, 720p, or 1080p clips up to 30 seconds from a prompt.
POST /v2/common_task/image2video/task/submit — animate a first-frame image into a Seedance 2.5 clip.
POST /v1/common_task/omni_reference/task/submit — pass image and video references with triple-bracket prompt syntax.
Every submit returns a taskId. Poll /task/query every 3–5 seconds until status is success, then download filePath.
Specs that change Seedance 2.5 cost and output.
Topview catalog and Board identifier
Rate changes with resolution
Billed per output second
Business table lists the same credit rate with or without audio
Official estimates use 16:9 examples
Prompt plus optional image and video references
Get an API key, or try the same model in the Topview generator before you integrate.
REST API · Business rates · Async polling