remagicaDocs home
API referenceGenerations

Register a character

POST
/characters

Needs a key withgenerations:submit

Registers a character the provider already holds (ModelArk: a preset digital character or an authorised real person), for one workspace or, with shared, for every workspace. Platform admins only.

Requires scope generations:submit.

Authorization

apiKey
headerx-api-key<token>

An API key of your workspace (rmg_…), created in the web app. It acts for that workspace, not for a person, and keeps working when its creator leaves.

Header Parameters

Idempotency-Key?string

Makes the request safe to retry: send a unique value (a UUID, say). The same request sent again with the same key within 24 hours gets the first one's response back, and nothing runs or is charged twice. Reusing a key for a different request, or while the first is still running, is 409 CONFLICT. A request that fails frees its key.

Length1 <= length <= 255

Request Body

application/json
  1. body
kind*string

What the provider holds for the character: an image, a video or an audio (voice) reference. Put it in the matching video input.

Value in"image""video""audio"
name*string
Length1 <= length <= 100
organizationId?string

Workspace that may use it; defaults to yours. Ignored when shared.

Length1 <= length
provider?"modelark"
Default"modelark"
Value in"modelark"
providerAssetId*string

The character's asset id, without asset:// (from the digital character library or your authorised assets).

Match^[A-Za-z0-9_-]{1,128}$
shared?boolean
Defaultfalse

Response Body

The registered character.

application/json
  1. response

A character registered with a provider: a preset digital character, or a real person who verified and authorised their likeness. Seedance only accepts realistic people this way (or when ByteDance's own models made them).

createdAt*string
Formatdate-time
id*string

Pass it as { asset: id } in a video's frames or references.

kind*string

What the provider holds for the character: an image, a video or an audio (voice) reference. Put it in the matching video input.

Value in"image""video""audio"
name*string
provider*string

Where it's held; only the models served there can use it (modelark: Seedance).

shared*boolean

Available to every workspace (e.g. the provider's preset library) rather than only yours.

Example Request
curl -X POST 'https://api.remagica.com/api/v1/characters' \  -H 'Content-Type: application/json' \  -d '{  "kind": "image",  "name": "Autumn campaign",  "providerAssetId": "83763754-5b3d-4f60-8e2a-1d9c6b4f7e05"}'
Example Response
{  "createdAt": "2026-10-21T12:00:00.000Z",  "id": "a5614527-5b3d-4f60-8e2a-1d9c6b4f7e05",  "kind": "image",  "name": "Zac",  "provider": "modelark",  "shared": true}