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
Sua chave de API como bearer token: Bearer eroq_sk_…. Crie uma na página de chaves.
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
Corpo
application/jsonUp to 80 characters.
female (default), male or nonbinary.
The persona sheet — folded into chat context and render prompts, up to 4000 characters.
Short card description, up to 600 characters.
Hosted portrait URL — drives image→video and face consistency.
18 or older — every character, no exceptions.
A roster voice id or one of your clone ids — makes the character speakable via char:<id>.
Visual register (photoreal, anime, …) folded into renders.
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
Parâmetros de caminho
The character's id, as listed or created.
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
Parâmetros de caminho
The character's id, as listed or created.
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.
Parâmetros de caminho
The character's id, as listed or created.
curl -X DELETE https://eroq.ai/v1/characters/CHARACTER_ID \
-H "Authorization: Bearer $EROQ_API_KEY"{ "ok": true, "referencesDeleted": 2 }