Zum Inhalt springen

UlazAI Entwicklerdokumentation

Legacy-Video APIs

Ältere und spezialisierte Videoendpunkte

Vorhandene Endpunkte bleiben aus Kompatibilitätsgründen verfügbar. Neue Modellabdeckung und aktive Funktionsentwicklung konzentrieren sich auf Video Studio APIs.

Empfohlene Standardeinstellung für neue Builds: /api/v1/video-studio/generate/

Liste der Legacy-Endpunkte

Methode Pfad Zweck
POST /api/v1/generate/video/ Legacy API-key endpoint (supports veo3_fast, veo3, kling_3_0, kling_3_0_motion_control).
ERHALTEN /api/v1/generate/{generation_id}/ Legacy generation status endpoint for video and image jobs.
ERHALTEN /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.
ERHALTEN /api/v1/sora/status/{task_id}/ Sora task status API.

Migrationsberatung

Aktuelle Routenfamilie Aktueller Modellumfang Video Studio-Ersatz
/api/v1/generate/video/ veo3_fast, veo3, kling_3_0, kling_3_0_motion_control POST /api/v1/video-studio/generate/ mit model_slug für alle Videomodelle
/api/v1/sora/* Nur Sora POST /api/v1/video-studio/generate/ mit model_slug=sora_2*
Modellspezifische Landedokumente Details zu einzelnen Modellen Verwenden Sie Matrix + kanonische API-Dokumente für gemeinsames Vertragsverhalten

Endpunkte der Video Studio-Tools

Diese Hilfsendpunkte erstellen strukturierte prompts und versenden Jobs darüber der gleiche kanonische Generationsfluss.

Methode Pfad Zweck
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).

Referenzausschnitte

Legacy-API-Schlüsselfluss

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-Ablauf

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-Ersatz (API-Schlüssel)

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
  })
});