AI Image & Video Generation
Endpoints for Seedream 3.0 (images) and V1 Pro/Lite image‑to‑video (3–12s). Webhooks + polling fallback, automatic refunds on failure.
/api/v1/seedream/generate/
Image (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
}'
/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
}'
/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
}'
/seedream/status/<generation_id>/
curl https://ulazai.com/seedream/status/UUID/ \
-b 'sessionid=YOUR_SESSION'
/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"}'
Notes: