Skip to main content
POST
Add a Cast reference

Authorizations

Authorization
string
header
required

A Voyager API key from https://voyager.so/dashboard/api.

Headers

Idempotency-Key
string | null

Any unique string up to 200 characters (a UUID is fine). Same key and body: the original answer.

Maximum string length: 200

Path Parameters

cast_id
string
required

Body

application/json
file_id
string
required

An image you own (file_…), from an upload or job.

Required string length: 1 - 64
role
enum<string>
required

What it shows: hero (the main look), fullbody, angle, expression, outfit…

Available options:
hero,
fullbody,
angle,
expression,
outfit,
plate,
style
expected_version
integer
required

The card's current version; a change made meanwhile answers 409.

Required range: x >= 1
note
string | null

A short note about this reference.

Maximum string length: 200

Response

Successful Response

id
string
required

cst_… Pass in input.cast (up to 4) on a job.

slug
string
required

A short handle for this Cast card, unique in the workspace.

name
string
required

The card's display name.

kind
enum<string>
required

What this Cast card is: a character, a location or a prop.

Available options:
character,
location,
prop
style
enum<string>
required

How references render: photoreal or stylized.

Available options:
photoreal,
stylized
description
string
required

What the card shows; prefixed to the prompt of jobs that feature it.

version
integer
required

Increases on every change; pass it as expected_version to change it safely.

voice_id
string | null
required

A voice for this character, when set.

references
CastReference · object[]
required

The card's reference images, in order.

object
string
default:cast

Always "cast".

Allowed value: "cast"
created_at
string<date-time> | null

When it was created (ISO 8601).

updated_at
string<date-time> | null

When it last changed (ISO 8601).