Generate a video
Always async. Returns a job_id and polling URL immediately;
poll GET /v1/jobs/<job-id> for the final video URL.
Video jobs typically complete in 1–15 minutes; 4K-tier video can take 30+ minutes.
Templates and Extend
Two optional fields ride alongside the normal video gen payload:
template: "<slug>"applies a pre-curated creative effect (canonical prompt + recommended model + default params). Browse video templates withGET /v1/videos/templatesor all generation templates withGET /v1/templates.extend_from: { job_id | video_url }continues a prior video. Works on every supported video model; EmpirioLabs handles the model-specific wiring for you.
model is required unless template or extend_from is set. A
template without model runs the template’s recommended model, and
an extend without model runs the template’s recommended model, or
seedance-2-0-pro when there is no template. A request with none of
the three returns 400 missing_required_parameter. A template that
runs only on its own model returns 400 template_model_pinned for
any other model: leave model out, or set it to the model the
error message names.
Authentication
Pass your EmpirioLabs API key as a bearer token. The Anthropic-style
x-api-key header is also accepted on every endpoint.
Request
Video model id from the catalog, for example kling-3-0-turbo. Required unless template or extend_from is set.
Optional template slug. When provided, the
canonical prompt blends with your prompt, the
recommended model is chosen if you don’t pass
one, and default params merge for any key you
didn’t supply. A model that is not in
template.supported_models returns 400
template_model_unsupported, and a template that
runs only on its own model returns 400
template_model_pinned for any other model.
See GET /v1/videos/templates.
Continue a prior video. Pass exactly one of
job_id (any prior async job from this account)
or video_url (an http(s) URL to a video).
Works with every supported video model;
EmpirioLabs handles the model-specific wiring
for you. Without model, the extend runs the
template’s recommended model, or
seedance-2-0-pro when there is no template.
Output aspect ratio, for example 16:9 or 9:16.
Reference image URL for image-to-video modes.
Alias for image. Accepted on any image-to-video model.
Multiple input images. On a model that supports
reference-to-video, two or more images are treated as
reference images; a single image behaves like image.
Reference images for reference-to-video, on models that
support it. The subjects are carried into a new scene
rather than used as the first frame, so this cannot be
combined with image. Per-model limits (how many
references, and the maximum resolution when references
are used) are listed on the model page and in
GET /v1/models/{model}.
Generation mode on models that expose one, for example
t2v, i2v, or r2v. Defaults to auto, which picks
the mode from the inputs you send. See the model page
for the values a given model accepts.
