Access

AI video answer

What is a text-to-video API?

Short answer

A text-to-video API lets software send a written scene and output settings, start an asynchronous generation job, track its status, and receive a video result without using a visual editor.

01

Describe the scene in structured fields

The prompt describes the subject, action, setting, camera, light, style, timing, dialogue, and sound. Separate fields carry the model, duration, aspect ratio, resolution, audio choice, seed, callback, and cost limit.

Typed settings are easier to validate than hiding every instruction inside one long prompt.

02

Create and track an asynchronous job

Video generation normally takes longer than a normal web request. The create call returns a job ID, accepted settings, and an estimate, while a status call reports queued, running, completed, failed, or cancelled.

Alibaba's current Wan text-to-video reference also uses a create-task and poll-result flow because generation can take minutes.

03

Store the finished result

A completed response should include the video resource, poster frame, duration, resolution, model route, normalized settings, estimated cost, and final cost.

Save the final media to permanent storage when a provider returns a temporary download URL.

Related guide

Get the full context.

Text to video API with model routing, audio, and cost controls

Compare text-to-video API routes, prompt fields, audio support, pricing, jobs, and output controls across Wan, MiniMax, Kling, Seedance, and Veo.

Read the text to video API guide

Current prices

Compare each video route.

Open full pricing →
ModelCompared rateCre8vid price5 sec10 secSavings
MiniMax H3MiniMax$0.065$0.029$0.145$0.2955% less
Wan 3.0Alibaba$0.050$0.025$0.125$0.2550% less
Kling 3.0Kuaishou$0.084$0.039$0.195$0.3954% less
Seedance 2.5ByteDance$0.144$0.069$0.35$0.6952% less
Veo 3.1 Fast + audioGoogle$0.100$0.049$0.24$0.4951% less