UlazAI API Dokumentation
Seeddream API
Endpunkte für Seedream 3.0 (Bilder) und V1 Pro/Lite Bild-zu-Video (3–12 Sekunden). Webhooks + Polling-Fallback, automatische Rückerstattung bei Fehler.
POST
/api/v1/seedream/generate/
Bild (Seedream 3.0)
curl -X POST https://ulazai.com/api/v1/seedream/generate/ \
-H 'Content-Type: application/json' \
-b 'sessionid=YOUR_SESSION' \
-d '{
"generation_type": "image",
"prompt": "Modern product photo, studio, soft edge light",
"image_size": "square_hd",
"guidance_scale": 2.5,
"enable_safety_checker": true
}'
POST
/api/v1/seedream/generate/
Video – V1 Pro (I2V)
curl -X POST https://ulazai.com/api/v1/seedream/generate/ \
-H 'Content-Type: application/json' \
-b 'sessionid=YOUR_SESSION' \
-d '{
"generation_type": "video",
"prompt": "Parallax push-in, subtle particles over logo plate",
"video_model": "bytedance/v1-pro-image-to-video",
"input_image_url": "https://example.com/still.jpg",
"resolution": "720p",
"duration": 6,
"camera_fixed": false
}'
POST
/api/v1/seedream/generate/
Video – V1 Lite (I2V)
curl -X POST https://ulazai.com/api/v1/seedream/generate/ \
-H 'Content-Type: application/json' \
-b 'sessionid=YOUR_SESSION' \
-d '{
"generation_type": "video",
"prompt": "Slow reveal, ambient dust, gentle camera push",
"video_model": "bytedance/v1-lite-image-to-video",
"input_image_url": "https://example.com/still.png",
"resolution": "720p",
"duration": 5,
"camera_fixed": false
}'
GET
/seedream/status/<generation_id>/
Curl https://ulazai.com/seedream/status/UUID/ \
-b 'sessionid=YOUR_SESSION'
POST
/api/v1/seedream/enhance/
curl -X POST https://ulazai.com/api/v1/seedream/enhance/ \
-H 'Content-Type: application/json' \
-b 'sessionid=YOUR_SESSION' \
-d '{"prompt":"Hero product on matte plate, cinematic lighting","generation_type":"video"}'Hinweise:
- Bilder: 4 Credits. V1 Pro: 6/10/16 Credits pro Sekunde je nach Auflösung. V1 Lite: 3s=20, +5 pro zusätzliche Sekunde (3–12s).
- Rückrufe + Abfragen sorgen für eine zuverlässige Abwicklung. Automatische Rückerstattung bei Fehler.