Video Generation
Create high-quality videos from text prompts using state-of-the-art video generation models. This is an asynchronous endpoint that returns a job ID for status polling.Endpoint
Request Body
The model ID to use for video generation.Available models include:
veo-3.1(Google’s latest)sora-2(OpenAI’s latest)luma-ray-2(Luma AI’s latest)hailuo-2(MiniMax’s latest)pika-2.2(Pika Labs’ latest)kling-v1.5(Kuaishou’s latest)
Response
Polling for Status
Since video generation is an asynchronous process, you must poll the status endpoint until the job is completed.Endpoint
Response
The result of the generation job (only present when
status is "completed").video_url(string): The URL of the generated videothumbnail_url(string): The URL of the video thumbnail
Error details (only present when
status is "failed").message(string): Description of the error