Skip to main content
POST
Prepare a render

Authorizations

Authorization
string
header
required

Send your API key as Authorization: Bearer <API key>. Keys begin with sk-. A missing or invalid key answers 401 UNAUTHENTICATED. Never expose an API key in browser code.

Headers

X-Request-Id
string

Optional caller-supplied correlation ID, echoed as sent in the response header. Omit it and the service generates one. Use it for tracing and support.

Minimum string length: 1

Body

application/json
character
object
required

Character input for the render. Choose exactly one source form—direct upload metadata, a public HTTPS URL, or a reusable asset ID.

motion
object
required

Motion input for the render. Choose a direct upload, public HTTPS URL, or reusable Motion ID. To use a Viggle motion template, import it with POST /v1/motions/import first and pass the resulting Motion ID.

output
object

Optional output settings. Omitted fields use the service defaults described by RenderOutputOptions.

Response

Draft and any uploads required before render creation.

draft_id
string
required

Opaque prepared-render draft identifier. Pass it unchanged to POST /v1/renders after completing any required uploads.

Minimum string length: 1
state
enum<string>
required

Whether media uploads must be completed before creation. ready_to_create means the draft can be submitted immediately.

Available options:
awaiting_uploads,
ready_to_create
uploads
object[]
required

Direct-upload plans for inputs declared with kind: upload; empty when every source is already available to the service.