Text-to-Speech
NewDiscover voices, estimate cost, generate speech, and manage durable audio clips.
Addis Voices 2 turns Amharic, Afaan Oromo, Tigrinya, Swahili, Hausa, Sidama and Wolaytta text into durable audio clips. It is billed by generated duration at 5 ETB per minute. Use voice.generate for completed clips in every language, or follow Streaming text-to-speech for HTTP streams and persistent WebSocket sessions in every one of these languages.
Maintaining a Voice 1 integration?
The original Text-to-Speech API is deprecated and hidden from the primary navigation. Open the Legacy Text-to-Speech guide →
Discover voices
Query the catalog rather than copying an arbitrary ID into production configuration. am-hamen is the canonical Amharic example, om-bikila the Afaan Oromo one, ti-berhane the Tigrinya one, sw-rashid the Swahili one, ha-mustapha the Hausa one, sid-tigist the Sidama one and wal-tona the Wolaytta one.
const voices = await addis.voices.list({ language: "am" });
for (const voice of voices) {
console.log(voice.id, voice.name, voice.isAvailable);
}voices = addis.voices.list(language="am")
for voice in voices:
print(voice["id"], voice["name"], voice["is_available"])curl "https://api.addisassistant.com/api/v1/voice/voices?language=am" \
-H "x-api-key: $ADDIS_API_KEY"The catalog is dynamic. Filter for the requested language and store only IDs currently marked available. Each entry includes the voice ID, name, descriptor, language, gender, style, tags, preview URL, default status, and availability.
Catalog filters
| Filter | Node.js | Python | Values |
|---|---|---|---|
| Language | language | language | am, om, ti, sw, ha, sid, or wal |
| Gender | gender | gender | female or male |
| Search | search | search | Name, ID, descriptor, style, or tag text |
| Include unavailable voices | includeUnavailable | include_unavailable | false by default |
Browse current voice IDs
The playable catalog below is synchronized with the current backend availability list and developer-platform previews, and was last verified against production on November 4, 2026, when the Swahili, Hausa, Sidama and Wolaytta voices were added. Your application should still call voices.list() because availability can change without a documentation release.
Current playable voices
Preview the current catalog and copy the exact ID into your request. Live availability still comes from voices.list().
Showing 6 of 19 Amharic voices
- female
Hamen
Warm conversational delivery
am-hamenConversational - male
Yohannes
Low-key reflective tone
am-yohanes-calmNarration - male
Tesfa
Confident, forward-leaning read
am-tesfaCommercial - male
Muaz
Clear expressive delivery
am-muazCommercial - male
Roba
Energetic bright tone
am-robaCommercial - female
Nejat
Smooth measured elegance
am-nejatConversational
Tigrinya voices
Seven native Tigrinya voices are available. Send language: "ti" with any of these IDs; ti-berhane is the default. Pricing is the same per generated minute as every other Voices 2 voice.
| Voice ID | Name | Gender | Style |
|---|---|---|---|
ti-berhane | Berhane (default) | Male | Narration |
ti-senait | Senait | Female | Professional |
ti-haben | Haben | Female | Serious |
ti-rahel | Rahel | Female | Authoritative |
ti-filimon | Filimon | Male | Conversational |
ti-danait | Danait | Female | Direct |
ti-yonas | Yonas | Male | Calm |
const clip = await addis.voice.generate({
voiceId: "ti-berhane",
language: "ti",
text: "ሰላም፣ እንቋዕ ብደሓን መጻእኩም። ሎሚ ጽቡቕ መዓልቲ እዩ።",
});clip = addis.voice.generate(
voice_id="ti-berhane",
language="ti",
text="ሰላም፣ እንቋዕ ብደሓን መጻእኩም። ሎሚ ጽቡቕ መዓልቲ እዩ።",
)curl https://api.addisassistant.com/api/v1/voice/generations \
-H "x-api-key: $ADDIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"voice_id":"ti-berhane","language":"ti","text":"ሰላም፣ እንቋዕ ብደሓን መጻእኩም። ሎሚ ጽቡቕ መዓልቲ እዩ።","output_format":"mp3_44100"}'Swahili voices
Seven Swahili voices are available. Send language: "sw" with any of these IDs (SDK 0.13.0 or later); sw-rashid is the default. Pricing is the same per generated minute as every other Voices 2 voice. Swahili also streams over HTTP and real-time WebSocket sessions; see Streaming text-to-speech.
| Voice ID | Name | Gender | Style |
|---|---|---|---|
sw-rashid | Rashid (default) | Male | Authoritative |
sw-neema | Neema | Female | Narration |
sw-hassan | Hassan | Male | Reading |
sw-bakari | Bakari | Male | Deep |
sw-amina | Amina | Female | Natural |
sw-juma | Juma | Male | Storytelling |
sw-zainab | Zainab | Female | Natural |
const clip = await addis.voice.generate({
voiceId: "sw-rashid",
language: "sw",
text: "Habari, karibu sana. Leo ni siku nzuri ya kujifunza kitu kipya pamoja.",
});clip = addis.voice.generate(
voice_id="sw-rashid",
language="sw",
text="Habari, karibu sana. Leo ni siku nzuri ya kujifunza kitu kipya pamoja.",
)curl https://api.addisassistant.com/api/v1/voice/generations \
-H "x-api-key: $ADDIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"voice_id":"sw-rashid","language":"sw","text":"Habari, karibu sana. Leo ni siku nzuri ya kujifunza kitu kipya pamoja.","output_format":"mp3_44100"}'Hausa voices
Four Hausa voices are available. Send language: "ha" with any of these IDs (SDK 0.13.0 or later); ha-mustapha is the default. Pricing is the same per generated minute as every other Voices 2 voice. Hausa voices work with voice.generate, estimates and batches, and also stream over HTTP and real-time WebSocket sessions (SDK 0.14.0 or later); see Streaming text-to-speech.
| Voice ID | Name | Gender | Style |
|---|---|---|---|
ha-mustapha | Mustapha (default) | Male | Host |
ha-sani | Sani | Male | Commercial |
ha-usman | Usman | Male | Commercial |
ha-musa | Musa | Male | Narration |
const clip = await addis.voice.generate({
voiceId: "ha-mustapha",
language: "ha",
text: "Barka da zuwa. Yau rana ce mai kyau don koyon sabon abu tare.",
});clip = addis.voice.generate(
voice_id="ha-mustapha",
language="ha",
text="Barka da zuwa. Yau rana ce mai kyau don koyon sabon abu tare.",
)curl https://api.addisassistant.com/api/v1/voice/generations \
-H "x-api-key: $ADDIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"voice_id":"ha-mustapha","language":"ha","text":"Barka da zuwa. Yau rana ce mai kyau don koyon sabon abu tare.","output_format":"mp3_44100"}'Sidama voices
Five Sidama voices are available. Send language: "sid" with any of these IDs (SDK 0.13.0 or later); sid-tigist is the default. Pricing is the same per generated minute as every other Voices 2 voice. Sidama voices work with voice.generate, estimates and batches, and also stream over HTTP and real-time WebSocket sessions (SDK 0.14.0 or later); see Streaming text-to-speech.
| Voice ID | Name | Gender | Style |
|---|---|---|---|
sid-tigist | Tigist (default) | Female | News |
sid-desta | Desta | Male | News |
sid-bereket | Bereket | Male | Narration |
sid-selam | Selam | Female | Presenter |
sid-alemu | Alemu | Male | Formal |
const clip = await addis.voice.generate({
voiceId: "sid-tigist",
language: "sid",
text: "Kunino babbaxxinno sidaamu budu tima, adonna shaanu babbaxxinno sidaamu budi sagale leeltawo yaate.",
});clip = addis.voice.generate(
voice_id="sid-tigist",
language="sid",
text="Kunino babbaxxinno sidaamu budu tima, adonna shaanu babbaxxinno sidaamu budi sagale leeltawo yaate.",
)curl https://api.addisassistant.com/api/v1/voice/generations \
-H "x-api-key: $ADDIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"voice_id":"sid-tigist","language":"sid","text":"Kunino babbaxxinno sidaamu budu tima, adonna shaanu babbaxxinno sidaamu budi sagale leeltawo yaate.","output_format":"mp3_44100"}'Wolaytta voices
Five Wolaytta voices are available. Send language: "wal" with any of these IDs (SDK 0.13.0 or later); wal-tona is the default. Pricing is the same per generated minute as every other Voices 2 voice. Wolaytta voices work with voice.generate, estimates and batches, and also stream over HTTP and real-time WebSocket sessions (SDK 0.14.0 or later); see Streaming text-to-speech.
| Voice ID | Name | Gender | Style |
|---|---|---|---|
wal-tona | Tona (default) | Male | News |
wal-almaz | Almaz | Female | News |
wal-amado | Amado | Male | Presenter |
wal-gobe | Gobe | Male | Narration |
wal-hiwot | Hiwot | Female | Presenter |
const clip = await addis.voice.generate({
voiceId: "wal-tona",
language: "wal",
text: "Giyaa giddon daro asay shammes, baassi koshshiyabaa bayzzes.",
});clip = addis.voice.generate(
voice_id="wal-tona",
language="wal",
text="Giyaa giddon daro asay shammes, baassi koshshiyabaa bayzzes.",
)curl https://api.addisassistant.com/api/v1/voice/generations \
-H "x-api-key: $ADDIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"voice_id":"wal-tona","language":"wal","text":"Giyaa giddon daro asay shammes, baassi koshshiyabaa bayzzes.","output_format":"mp3_44100"}'Preview a voice
const preview = await addis.voices.preview("am-hamen");
console.log(preview.audioUrl);preview = addis.voices.preview("am-hamen")
print(preview["audio_url"])curl https://api.addisassistant.com/api/v1/voice/voices/am-hamen/preview \
-H "x-api-key: $ADDIS_API_KEY"Preview URLs are signed and can expire. Fetch fresh preview metadata instead of storing the URL permanently.
Estimate cost
Estimate before generation when a user must approve spend or the application is close to its available balance.
const input = {
text: "ሰላም፣ ይህ የአዲስ ድምፅ ሁለት ሙከራ ነው።",
voiceId: "am-hamen",
language: "am" as const,
outputFormat: "mp3_44100" as const,
};
const estimate = await addis.voice.estimate(input);
if (!estimate.canGenerate) throw new Error("Insufficient balance");
console.log(estimate.estimatedCost, estimate.currency);input = {
"text": "ሰላም፣ ይህ የአዲስ ድምፅ ሁለት ሙከራ ነው።",
"voice_id": "am-hamen",
"language": "am",
"output_format": "mp3_44100",
}
estimate = addis.voice.estimate(**input)
if not estimate["can_generate"]:
raise RuntimeError("Insufficient balance")
print(estimate["estimated_cost"], estimate["currency"])curl https://api.addisassistant.com/api/v1/voice/estimate \
-H "x-api-key: $ADDIS_API_KEY" \
-H "content-type: application/json" \
-d '{
"text":"ሰላም፣ ይህ የአዲስ ድምፅ ሁለት ሙከራ ነው።",
"voice_id":"am-hamen",
"language":"am",
"output_format":"mp3_44100"
}'The estimate reports the pricing unit, price per minute, estimated duration, billable duration, cost, current balance, projected balance, currency, and whether generation is currently allowed.
Generate and save a clip
const clip = await addis.voice.generate({
...input,
clientRequestId: crypto.randomUUID(),
});
await clip.toFile("speech.mp3");
console.log(clip.id, clip.audioUrl, clip.usage);clip = addis.voice.generate(
**input,
client_request_id="order-123",
)
clip.to_file("speech.mp3")
print(clip.id, clip.audio_url, clip.usage)curl https://api.addisassistant.com/api/v1/voice/generations \
-H "x-api-key: $ADDIS_API_KEY" \
-H "content-type: application/json" \
-d '{
"text":"ሰላም፣ ይህ የአዲስ ድምፅ ሁለት ሙከራ ነው።",
"voice_id":"am-hamen",
"language":"am",
"output_format":"mp3_44100",
"client_request_id":"order-123"
}' | tee voice.json
curl --location "$(jq -r '.data.audio_url' voice.json)" \
--output speech.mp3The cURL example requires jq. A generation response contains clip metadata and a signed audio_url. A first response may also include an audio data URL; an idempotent replay can omit that inline field, so use the signed URL or SDK file helper.
Batch generation
Send up to 10,000 text-to-speech requests in one batch. Batches run off-peak, every batch finishes within 24 hours, and only finished requests are billed, at 2.5 ETB per generated minute, half the Voices 2 list price. Batches accept Amharic (am), Afaan Oromo (om), Tigrinya (ti), Swahili (sw), Hausa (ha), Sidama (sid) and Wolaytta (wal) with the same voices as voice.generate. Each request's voice ID must match its language; the SDK rejects any other language, or a voice ID from another language, before uploading. Swahili, Hausa, Sidama and Wolaytta need SDK 0.13.0 or later.
Any account with at least one paid top-up can create batches; signup credit alone does not count. Create them with the SDK methods below (Node.js or Python SDK 0.9.0 or later), or upload a CSV on the Batches page of the dashboard.
const batch = await addis.batches.createFromRequests({
requests: chapters.map((text, index) => ({
customId: `chapter-${index + 1}`,
text, // e.g. "ሎሚ ጽቡቕ መዓልቲ እዩ።"
voiceId: "ti-berhane",
language: "ti",
})),
metadata: { project: "audiobook" },
});
const done = await addis.batches.waitFor(batch.id); // polls every 30 s
for await (const result of addis.batches.results(done.id)) {
if (result.status === "succeeded") {
const audio = await addis.files.content(result.response!.audioFileId);
// save audio
} else {
console.warn(result.customId, result.error);
}
}batch = addis.batches.create_from_requests(
[
{"custom_id": f"chapter-{i}", "text": text, "voice_id": "ti-berhane", "language": "ti"}
for i, text in enumerate(chapters, start=1)
],
metadata={"project": "audiobook"},
)
done = addis.batches.wait_for(batch["id"]) # polls every 30 s
for result in addis.batches.results(done["id"]):
if result["status"] == "succeeded":
audio = addis.files.content(result["response"]["audio_file_id"])
# save audio
else:
print(result["custom_id"], result["error"])Already have a JSONL file with one {"custom_id": "...", "body": {...}} per line? Upload it with files.upload and pass its ID to batches.create. batches.cancel stops queued requests; running ones finish and are billed.
Streaming
Play speech while it is generated, over HTTP for single requests or a persistent WebSocket for successive turns. Open the streaming guide →
Output formats
| Format | Use |
|---|---|
mp3_44100 | Compact delivery for web, mobile, and downloads. |
wav_44100 | Uncompressed editing and audio pipelines. |
pcm_16000 | Speech pipelines expecting 16 kHz PCM in a WAV container. |
Choose the format before estimating because output choice can affect generated duration and storage behavior.
Idempotency and retries
clientRequestId in Node.js and client_request_id in Python identifies one logical generation.
- Reuse it when retrying the same request after a timeout or uncertain response.
- Generate a new value for different text, voice, language, or output format.
- Do not retry a validation error unchanged.
- For a generation-in-progress response, wait for the reported retry interval before checking again.
Voice settings
speed is currently applied. stability, similarity, and style are accepted for compatibility but ignored by the current provider. The response reports ignored settings in meta.ignoredVoiceSettings or meta["ignored_voice_settings"].
Do not build user-facing behavior that assumes an ignored control changes the generated clip.
Usage and clip history
const usage = await addis.voice.usage();
const page = await addis.voice.clips.list({ limit: 20 });
const clip = await addis.voice.clips.get(page.data[0].id);
await clip.toFile("saved-clip.mp3");
await addis.voice.clips.delete(clip.id);usage = addis.voice.usage()
page = addis.voice.clips.list(limit=20)
clip = addis.voice.clips.get(page.data[0]["id"])
clip.to_file("saved-clip.mp3")
addis.voice.clips.delete(clip.id)curl https://api.addisassistant.com/api/v1/voice/usage \
-H "x-api-key: $ADDIS_API_KEY"
curl https://api.addisassistant.com/api/v1/voice/clips \
-H "x-api-key: $ADDIS_API_KEY"
curl -X DELETE https://api.addisassistant.com/api/v1/voice/clips/CLIP_ID \
-H "x-api-key: $ADDIS_API_KEY"Addis Voices 2 usage is billed at 5 ETB per generated minute. Use the estimate before generation when a user must approve spend, and use the usage response to display current ETB balance and total spend.
Errors
Common failures include unavailable voice IDs, unsupported formats, insufficient balance, idempotency conflicts, generation still in progress, rate limiting, and transient provider errors.
Refresh the voice catalog after an unavailable-voice error. Log the clip ID, request ID, and client request ID, but never the API key or sensitive full text.
Best Practices
Ensure high-quality output and reliable billing with these production patterns.
Script & Punctuation
Voice Selection
Cost & Retries
Clip Delivery
voice.generate for a completed clip, or Streaming text-to-speech to receive speech during generation.Migrate from Legacy Text-to-Speech
Addis Voices 2 uses the same Addis AI API key as the legacy API, so no credential migration is required. HTTP header names are case-insensitive: the SDK reads ADDIS_API_KEY, and raw requests send it through x-api-key.
| Area | Legacy Text-to-Speech | Addis Voices 2 |
|---|---|---|
| Endpoint | /api/v1/audio | /api/v1/voice/generations |
| Authentication | Existing Addis AI API key in X-API-Key | The same API key through the SDK or x-api-key; no credential change |
| Request | text, language, and optional stream | text, voice_id, language, output_format, and optional client_request_id |
| Voice selection | Language selects the legacy engine | Query the voice catalog, preview an available voice, then send its exact ID |
| Response | Base64 WAV JSON or a legacy audio stream | Durable clip metadata and a signed audio_url; HTTP and WebSocket streaming are also available |
| SDK | legacy.audio.generate() or legacy.audio.stream() | voice.generate(), voices.list(), estimates, usage, and clip management |
| Pricing | Existing Voice 1 account pricing remains unchanged | 5 ETB per generated minute, with a pre-generation estimate |
For a new integration, follow Generate and save a clip. Existing applications can keep using the complete Legacy Text-to-Speech guide while migrating one use case at a time. Review Pricing before switching production traffic.
Contract last verified:
Last updated on