Platform
Voices
The roster, your cloned voices and the public voice catalog — everything speech accepts.
Free (cloning included) — speech is billed per use
Everything /v1/audio/speech accepts as a voice: the roster (kind: "roster") and your clones (kind: "cloned" — pass the clone's id). Characters speak too: use char:<id> instead.
POST /v1/voices clones a voice from audio samples (multipart: name + one or more audio files, 1GB total) — free, synchronous, returns the clone ready to use. DELETE /v1/voices/{id} removes a clone. The paid part is the speech that uses it.
The public voice catalog. A clone goes public only when its owner publishes it (POST /v1/voices/{id}/publish) with consent: true — their attestation that it is their own voice or that they have the speaker's permission. Anyone can then pass its id as the voice of /v1/audio/speech, billed as usual; the owner is not paid. GET /v1/voices/public lists the catalog: sort=trending is the popularity algorithm — distinct people who generated with the voice (1 point) or listened to it (0.25) each day, halved every 3 days, plus 2·ln(1 + likes) and a newcomer boost — one person counts once a day and the owner never counts. popular = most used, liked, new.
Autorização
Sua chave de API como bearer token: Bearer eroq_sk_…. Crie uma na página de chaves.
List the roster and your clones
curl https://eroq.ai/v1/voices \
-H "Authorization: Bearer $EROQ_API_KEY"{
"voices": [
{ "id": "aria", "name": "Aria", "kind": "roster", "gender": "female" },
{ "id": "b7c2…", "name": "My narrator", "kind": "cloned", "previewUrl": "https://…", "public": true, "review": "pending", "reviewNote": null }
]
}Clone a voice from audio samples
Clone a voice from audio samples (multipart: name + one or more audio files, 1GB total). Free and synchronous.
Corpo
multipart/form-dataClone name, up to 80 characters.
One or more audio samples (wav or mp3), 1GB total. Thirty clean seconds is usually enough.
curl https://eroq.ai/v1/voices \
-H "Authorization: Bearer $EROQ_API_KEY" \
-F name="My narrator" \
-F files=@sample1.mp3 \
-F files=@sample2.mp3{
"id": "b7c2…", "name": "My narrator", "voiceId": "v_8f3a…",
"labels": {}, "previewUrl": "https://store.eroq.ai/…/preview.mp3",
"createdAt": "2026-09-11T14:02:11Z"
}Delete a clone
Delete a clone — characters using it fall back to the default voice.
Parâmetros de caminho
The voice's id, as listed or created.
curl -X DELETE https://eroq.ai/v1/voices/VOICE_ID \
-H "Authorization: Bearer $EROQ_API_KEY"{ "ok": true }The public voice catalog
The public voice catalog — voices their owners shared, usable by anyone.
Parâmetros de consulta
trending (default, the popularity algorithm), popular (most used), liked or new.
Search the name, the description and the tags.
Filter: female, male or neutral.
Filter by language code: en, fr, es, de, it, pt, nl, pl, ru, ja, ko, zh, ar.
Voices to return, 1–100. Default 40.
Pagination offset. Default 0.
curl "https://eroq.ai/v1/voices/public?sort=trending&q=value&gender=female&language=en&limit=20&offset=20" \
-H "Authorization: Bearer $EROQ_API_KEY"{
"voices": [
{
"id": "3f1c…", "name": "Midnight Mira", "description": "Low, slow, a smile in every line.",
"tags": ["Sultry", "Soft"], "gender": "female", "language": "en", "author": "mira",
"uses": 128, "likes": 41, "plays": 390, "liked": false, "mine": false,
"publishedAt": "2026-09-27T12:00:00Z"
}
],
"total": 1, "sort": "trending"
}Submit one of your cloned voices to the public catalog
Submit one of your cloned voices to the public catalog — attested, free. It joins the catalog once our team approves it (review: pending → approved or rejected, readable on GET /v1/voices). Publishing again keeps the verdict unless the name or description changes.
Parâmetros de caminho
The voice's id, as listed or created.
Corpo
application/jsonMust be true: you attest that this is your own voice, or that you have the explicit permission of the person it belongs to, and that it imitates no celebrity or public figure.
Language code (see GET /v1/voices/public).
female, male or neutral.
Up to 5, e.g. Soft, Sultry, Deep, Calm, Narration, ASMR.
One line, up to 240 characters.
Rename it on the way out, up to 80 characters.
curl https://eroq.ai/v1/voices/VOICE_ID/publish \
-H "Authorization: Bearer $EROQ_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"language": "en",
"gender": "female",
"tags": [
"Sultry",
"Soft"
],
"description": "Low, slow, a smile in every line.",
"consent": true
}'{
"voice": {
"id": "3f1c…", "name": "Midnight Mira", "public": true, "author": "mira",
"description": "Low, slow, a smile in every line.", "tags": ["Sultry", "Soft"],
"gender": "female", "language": "en", "uses": 0, "likes": 0, "plays": 0,
"published_at": "2026-09-27T12:00:00Z", "review": "pending"
}
}Take your voice out of the catalog
Take your voice out of the catalog (popularity waits for a re-publish).
Parâmetros de caminho
The voice's id, as listed or created.
curl -X DELETE https://eroq.ai/v1/voices/VOICE_ID/publish \
-H "Authorization: Bearer $EROQ_API_KEY"{ "ok": true, "public": false }Like a public voice
Like a public voice (idempotent).
Parâmetros de caminho
The voice's id, as listed or created.
curl -X POST https://eroq.ai/v1/voices/VOICE_ID/like \
-H "Authorization: Bearer $EROQ_API_KEY"{ "liked": true, "likes": 42 }Take a like back
Take a like back (idempotent).
Parâmetros de caminho
The voice's id, as listed or created.
curl -X DELETE https://eroq.ai/v1/voices/VOICE_ID/like \
-H "Authorization: Bearer $EROQ_API_KEY"{ "liked": false, "likes": 41 }Report a public voice
Report a public voice — an impersonation, a voice used without consent, anything against the acceptable use policy.
Parâmetros de caminho
The voice's id, as listed or created.
Corpo
application/jsonWhat is wrong, 3–500 characters.
curl https://eroq.ai/v1/voices/VOICE_ID/report \
-H "Authorization: Bearer $EROQ_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"reason": "Imitates a celebrity"
}'{ "ok": true }