Text-to-Video
POST /v1/common_task/text2video/task/submit — generate 480p, 720p, or 1080p clips from a prompt.
Generate Wan 3.0 clips from the Topview REST API. Compare per-second rates with Atlas Cloud, then submit text-to-video or image-to-video 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: 'qwen-wan3.0-video',
prompt: 'A photoreal fashion film on a rainy city street, slow dolly-in',
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());Per-second rates from the Topview pricing table, the same on every plan. Comparison uses Atlas Cloud listed prices. 720p is 44% OFF versus $0.126 per second.
480p
/ second
$0.0612
atlascloud.ai
$0.0528
0.3 credits
720p
/ second
$0.126
atlascloud.ai
$0.0704
0.4 credits
1080p
/ second
$0.252
atlascloud.ai
$0.176
1 credit
The same Wan 3.0 generation modes available in Topview, callable as async tasks.
POST /v1/common_task/text2video/task/submit — generate 480p, 720p, or 1080p clips from a prompt.
POST /v2/common_task/image2video/task/submit — animate a first-frame image into a Wan 3.0 clip.
POST /v1/common_task/omni_reference/task/submit — pass image and video references when the live model mode accepts them.
Every submit returns a taskId. Poll /task/query every 3–5 seconds until status is success, then download filePath.
Topview catalog fields that change Wan 3.0 cost. Confirm live options in the generator and API docs before you lock a brief.
Topview catalog and Board identifier
Rate changes with resolution
Catalog default is 30 seconds; confirm the live duration enum
Confirm the ratios accepted by the selected mode
Get an API key, or try the same model in the Topview generator before you integrate.
REST API · Same rates on every plan · Async polling