UlazAI fejlesztői dokumentumok
Legacy videó APIs
Hagyományos és speciális videóvégpontok
A meglévő végpontok továbbra is elérhetők a kompatibilitás érdekében. Új modell lefedettség és az aktív funkciók fejlesztése a Video Studio API-ekre összpontosul.
Javasolt alapértelmezés új buildekhez:
/api/v1/video-studio/generate/
Örökös végpontlista
| Módszer | Útvonal | Cél |
|---|---|---|
| POST | /api/v1/generate/video/ |
Legacy API-key endpoint (supports veo3_fast, veo3, kling_3_0, kling_3_0_motion_control). |
| 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. |
Migrációs útmutatás
| Jelenlegi útvonalcsalád | A jelenlegi modell hatóköre | Videostúdió csere |
|---|---|---|
/api/v1/generate/video/ |
veo3_fast, veo3, kling_3_0, kling_3_0_motion_control |
POST /api/v1/video-studio/generate/ -val model_slug minden videó modellhez |
/api/v1/sora/* |
Csak Sora | POST /api/v1/video-studio/generate/ -val model_slug=sora_2* |
| Modell-specifikus landolási dokumentumok | Egy modell részletei | Használja a mátrix + kanonikus API dokumentumokat a megosztott szerződési viselkedéshez |
A Video Studio eszközök végpontjai
Ezek a segítő végpontok strukturált promptokat készítenek, és a feladatokat továbbítják ugyanaz a kanonikus generációfolyam.
| Módszer | Útvonal | Cél |
|---|---|---|
| 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). |
Referenciarészletek
Legacy API-kulcsfolyam
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"
}'
Legacy Motion Control áramlás
curl -X POST https://ulazai.com/api/v1/generate/video/ \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"prompt": "No distortion, the character'\''s movements are consistent with the video.",
"video_model": "kling_3_0_motion_control",
"source_image_urls": ["https://example.com/character.png"],
"video_urls": ["https://example.com/motion.mp4"],
"character_orientation": "video",
"quality_mode": "720p",
"duration_seconds": 15
}'
Canonical Video Studio csere (API kulcs)
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
})
});