Create a render
The request body carries one of two shapes and the Content-Type
selects between them.
multipart/form-data creates a render directly from character and
motion inputs, each supplied as an uploaded file, a URL, or the id of a
saved asset. This form answers 200; Idempotency-Key is optional
and honoured when sent.
application/json creates a render from a draft prepared by
POST /v1/renders/prepare. This form answers 202, requires
Idempotency-Key.
Idempotency keys are scoped to the API key and kept for 24 hours:
reusing a key with the same input returns the original render, while
reusing it with different input returns 409 IDEMPOTENCY_KEY_REUSED.
Billed at 1 credit (0.005) per render. A
single-character render is $0.01/second; a multi-person render counts
one character per entry in character_mapping. Creation reserves an
estimate from the measured motion duration (10 seconds when unknown);
the charge is settled against the actual duration when the render
finishes. Insufficient credits answer 402. A cancelled or failed
render is refunded in full.
Renders are visible only to the API key that created them. The result
video_url is a CDN URL; result files are deleted 24 hours after the
render finishes.
Authorizations
Headers
Body
Supply the character as one of image, image_url (or its
ref_url/ref_image_url aliases), or character_id, and the motion
as one of motion_video, motion_video_url (or its
video_url/driving_video_url aliases), or motion_id/scene_id.
If neither group is supplied at all, the server
substitutes its own preconfigured default character_id/motion_id
and renders that instead of rejecting the request — supplying either
group partially (for example a character source with no motion
source) is still an error.
Multi-person render. A JSON object, sent as a string, that maps
each person (track ID) of a multi-person Motion to a ready
Character owned by the caller; Character IDs may use the public
char_ prefix. For a Motion imported from a template, the track
IDs are the UUIDs of the people in that template. A key that is not
a track of the Motion answers 400 with the valid keys in the
message. People left out of the mapping are rendered with the
primary character source (character_id, image, or
image_url), which is still required. Billing counts one
character per mapping entry.
Response
Render accepted from a direct multipart/form-data request.
stage, progress, and created_at are null on renders that carry no
such information. Treat them as optional when reading.
The resource response exposes the result URLs but does not expose media dimensions, duration, thumbnail URL, or URL expiry metadata. Clients must not infer those fields from this contract.