Skip to main content

Before you start

Sign in to LuluLab and get a luk- API key from My Keys. Store it on your server. All examples call https://customer.lululab.ai and send the raw key in the Authorization header. Get an API key Generation is asynchronous: POST /tasks returns a job id, then GET /tasks/{id} provides status and output. You can call POST /billing/estimates before submitting to estimate credits. Use VideoGenV2 for text-to-video and reference-based generation. Images, videos, and audio may be supplied where supported. Duration, ratio, resolution, and reference limits depend on the model.

From prompt to finished video

Describe the subject, action, camera, and duration. Save the returned job id and poll its status. Read the video from output only after Succeeded. Video generation usually takes longer than image generation, so show a processing state in your app.

Main request fields

Video model parameter combinations

Duration, resolution, and ratio must all be supported by the same model. This matrix reflects the current creation UI.
Video generation request
The model settings shown are examples. Check current model combinations in the creation UI, then use /billing/estimates to estimate credits.