Create a job
Asynchronous: returns a job id to poll. Same body for video and image, without duration for images.
Submit a generation job. Use /v1/videos for video and /v1/images for images — same body, without duration. The call is asynchronous and returns a job id to poll.
Headers
Your usz_ key. Invalid or revoked keys return 401 invalid_api_key.
Unique per request. Reusing it returns the original job.
Your usz_ API key. Missing, malformed or revoked keys return 401 invalid_api_key.
Must be application/json, otherwise 415 unsupported_media_type.
1–200 characters, unique per distinct request. Reusing it returns the original job; a different body returns 409.
Body
Model alias, e.g. seedance-2.5-v5.
Up to 4,000 characters on V5 (15,000 on seedance-2.5-v5).
720p on seedance-2.5-v5 today.
Video only. Whole seconds the model lists.
Base64 data URLs — up to 9 on V5, 10 on V7.
Model alias, e.g. seedance-2.5-v5. Coming-soon models return 422 model_unavailable.
What to generate. Up to 4,000 characters on V5 (15,000 on seedance-2.5-v5).
One of the model’s sellable resolutions — 720p on seedance-2.5-v5 today.
Video only. Whole seconds within the model’s range — 4–30 on seedance-2.5-v5.
One of the model’s aspect ratios (16:9, 9:16, 1:1, 4:3, 3:4, 21:9). Defaults to the first.
V5 video only. First frame for image-to-video, as a base64 data URL.
Reference images as base64 data URLs — up to 9 on V5, up to 10 on V7.
Example
curl -X POST $API/v1/videos \
-H "X-API-Key: $KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"model":"seedance-2.5-v5",
"prompt":"calm lake at dawn",
"resolution":"720p", "duration":10}'curl -X POST https://api.userize.site/v1/videos \
-H "X-API-Key: usz_your_api_key" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: 6f9c1e2a-4b7d-4c2e-9a1f" \
-d '{
"model": "seedance-2.5-v5",
"prompt": "a calm mountain lake at dawn",
"resolution": "720p",
"duration": 10,
"aspect": "16:9"
}'{
"job_id": "0f149db4-ecea-4104-ae41-5eb63a5bdd17",
"status": "queued"
}{
"error": { "code": "insufficient_credits", "message": "Insufficient credits" }
}Submit errors
invalid_api_key
Missing, malformed or revoked key
validation_error
A field is missing or invalid
insufficient_credits
Balance is below the job price
too_many_concurrent
25 image jobs already in flight
idempotency_conflict
Key reused with a different body