UlazAI developer docs
Legacy video APIs
Legacy and specialized video endpoints
Existing endpoints remain available for compatibility. New model coverage and active feature development are centered on Video Studio APIs.
Recommended default for new builds:
/api/v1/video-studio/generate/
Legacy endpoint list
| Method | Path | Purpose |
|---|---|---|
| POST | /api/v1/generate/video/ |
Legacy API-key endpoint (supports veo3_fast, veo3, kling_3_0). |
| GET | /api/v1/generate/{generation_id}/ |
Legacy generation status endpoint for video and image jobs. |
| GET | /api/v1/generate/history/ |
Legacy generation history endpoint. |
| POST | /api/v1/sora/generate/text-to-video/ |
Sora 2 text-to-video API. |
| POST | /api/v1/sora/generate/image-to-video/ |
Sora 2 image-to-video API. |
| POST | /api/v1/sora/generate/storyboard/ |
Sora storyboard API. |
| GET | /api/v1/sora/status/{task_id}/ |
Sora task status API. |
Migration guidance
| Current route family | Current model scope | Video Studio replacement |
|---|---|---|
/api/v1/generate/video/ |
veo3_fast, veo3, kling_3_0 |
POST /api/v1/video-studio/generate/ with model_slug for all video models |
/api/v1/sora/* |
Sora-only | POST /api/v1/video-studio/generate/ with model_slug=sora_2* |
| Model-specific landing docs | Single-model details | Use matrix + canonical API docs for shared contract behavior |
Video Studio tools endpoints
These helper endpoints build structured prompts and dispatch jobs through the same canonical generation flow.
| Method | Path | Purpose |
|---|---|---|
| POST | /api/v1/video-studio/tools/street-interview/generate/ |
Structured prompt helper for interview-style clips (API key or token auth). |
| POST | /api/v1/video-studio/tools/ugc-ad-quick/generate/ |
Generate UGC ad videos from product and audience inputs (API key or token auth). |
| POST | /api/v1/video-studio/tools/video-remix/generate/ |
Remix source image or source video into a new style direction (API key or token auth). |
Reference snippets
Legacy API-key flow
curl -X POST https://ulazai.com/api/v1/generate/video/ \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"prompt": "Luxury product teaser with moving camera",
"video_model": "veo3_fast",
"aspect_ratio": "16:9"
}'
Canonical Video Studio replacement (API key)
fetch("https://ulazai.com/api/v1/video-studio/generate/", {
method: "POST",
headers: {
"Content-Type": "application/json",
"Authorization": "Bearer YOUR_API_KEY",
},
body: JSON.stringify({
model_slug: "veo31_fast",
prompt: "Luxury product teaser with moving camera",
aspect_ratio: "16:9",
duration_seconds: 8
})
});