eroq

Platform

Characters

Your cast: persona sheets, faces and voices, reusable everywhere.

Free

A character is the reusable identity of your products: a persona sheet (folded into chat context and render prompts), reference photos (they feed the look-sheet generation), an accepted look sheet (sheetUrl — the canonical image the renderers condition on) and a voice. Reference one as char:<id> in any elements array, or as the voice of /v1/audio/speech. To put the character in an image or video render, it needs a sheet first (see /v1/sheets) — chatting needs none.

POST /v1/characters creates one (name, gender, prompt persona sheet, description, avatarUrl, age, voiceId, style); GET /v1/characters/{id} fetches one with its reference photos and its sheetUrl; PATCH /v1/characters/{id} updates any field; DELETE /v1/characters/{id} removes it. Reference photo UPLOADS stay in the studio for now — pass hosted URLs via avatarUrl meanwhile.

Autorização

Authorizationstringheaderobrigatório

Sua chave de API como bearer token: Bearer eroq_sk_…. Crie uma na página de chaves.

List your characters with their reference photos

GET/v1/characters
List your characters with their reference photos
curl https://eroq.ai/v1/characters \
  -H "Authorization: Bearer $EROQ_API_KEY"
{
  "characters": [{
    "id": "9c1e…", "name": "Nova", "gender": "female",
    "prompt": "sardonic mechanic, quick wit…", "voiceId": "aria",
    "sheetUrl": "https://…", "sheetCreatedAt": "2026-09-20T…Z",
    "references": [{ "url": "https://…", "contentType": "image/webp" }]
  }]
}

Create a character

POST/v1/characters

Corpo

application/json
namestringobrigatório

Up to 80 characters.

genderstring

female (default), male or nonbinary.

promptstring

The persona sheet — folded into chat context and render prompts, up to 4000 characters.

descriptionstring

Short card description, up to 600 characters.

avatarUrlstring

Hosted portrait URL — drives image→video and face consistency.

ageinteger

18 or older — every character, no exceptions.

voiceIdstring

A roster voice id or one of your clone ids — makes the character speakable via char:<id>.

stylestring

Visual register (photoreal, anime, …) folded into renders.

Create a character
curl https://eroq.ai/v1/characters \
  -H "Authorization: Bearer $EROQ_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Nova",
  "gender": "female",
  "prompt": "Sardonic starship mechanic, dry humor, gold tooth.",
  "voiceId": "aria"
}'
{
  "id": "9c1e…", "name": "Nova", "gender": "female",
  "prompt": "Sardonic starship mechanic, dry humor, gold tooth.",
  "description": "", "avatarUrl": "https://…", "age": 29,
  "voiceId": "aria", "style": "photoreal",
  "createdAt": "2026-09-11T14:02:11Z", "updatedAt": "2026-09-11T14:02:11Z",
  "references": [{ "id": "…", "url": "https://…", "contentType": "image/webp" }]
}

One character, reference photos included

GET/v1/characters/{id}

Parâmetros de caminho

idstringobrigatório

The character's id, as listed or created.

One character, reference photos included
curl https://eroq.ai/v1/characters/CHARACTER_ID \
  -H "Authorization: Bearer $EROQ_API_KEY"
{
  "id": "9c1e…", "name": "Nova", "gender": "female",
  "prompt": "Sardonic starship mechanic, dry humor, gold tooth.",
  "description": "", "avatarUrl": "https://…", "age": 29,
  "voiceId": "aria", "style": "photoreal",
  "createdAt": "2026-09-11T14:02:11Z", "updatedAt": "2026-09-11T14:02:11Z",
  "references": [{ "id": "…", "url": "https://…", "contentType": "image/webp" }]
}

Update any field

PATCH/v1/characters/{id}

Parâmetros de caminho

idstringobrigatório

The character's id, as listed or created.

Update any field
curl -X PATCH https://eroq.ai/v1/characters/CHARACTER_ID \
  -H "Authorization: Bearer $EROQ_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "prompt": "Sardonic starship mechanic — now chief engineer."
}'
{
  "id": "9c1e…", "name": "Nova", "gender": "female",
  "prompt": "Sardonic starship mechanic, dry humor, gold tooth.",
  "description": "", "avatarUrl": "https://…", "age": 29,
  "voiceId": "aria", "style": "photoreal",
  "createdAt": "2026-09-11T14:02:11Z", "updatedAt": "2026-09-11T14:02:11Z",
  "references": [{ "id": "…", "url": "https://…", "contentType": "image/webp" }]
}

Remove the character

Remove the character — past renders are untouched.

DELETE/v1/characters/{id}

Parâmetros de caminho

idstringobrigatório

The character's id, as listed or created.

Remove the character
curl -X DELETE https://eroq.ai/v1/characters/CHARACTER_ID \
  -H "Authorization: Bearer $EROQ_API_KEY"
{ "ok": true, "referencesDeleted": 2 }