Skip to content

docs: document text-to-speech voice discovery and fallback restrictions - #147

Draft
edenai-assistant[bot] wants to merge 4 commits into
mainfrom
edenai-assistant/docs-aifeatures-568125f-b34ebdc
Draft

edenai-assistant[bot] wants to merge 4 commits into
mainfrom
edenai-assistant/docs-aifeatures-568125f-b34ebdc

Conversation

@edenai-assistant

Copy link
Copy Markdown
Contributor

Summary

Documents the text-to-speech voice discovery endpoints and fallback restrictions introduced in aifeatures commit range 568125f..b34ebdc:

  • v3/expert-models/listing-models.mdx: Documents GET /v3/info/audio/tts/voices for discovering voices accepted by Universal AI audio/tts models, with query filtering for model, language, and gender.
  • v3/llms/listing-models.mdx: Documents GET /v3/audio/voices for discovering voices accepted by OpenAI-compatible /v3/audio/speech models, with query filtering for model, language, and gender.
  • v3/general/fallback.mdx: Documents that text-to-speech requests on audio/tts and /v3/audio/speech reject fallbacks with HTTP 400 because voice identifiers are provider-specific.

🤖 Generated with Claude Code

Add documentation for GET /v3/info/audio/tts/voices and GET /v3/audio/voices discovery endpoints, including query parameters and code examples. Note the prohibition of fallbacks on text-to-speech requests across Universal AI and OpenAI-compatible speech endpoints.

Co-Authored-By: Claude Code <noreply@anthropic.com>
@mintlify

mintlify Bot commented Oct 12, 2026 •

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
edenai 🟢 Ready View Preview Oct 12, 2026, 2:49 PM

💡 Tip: Enable Automations to automatically generate PRs for you.

@coderabbitai

coderabbitai Bot commented Oct 12, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration
  • Configuration used: Repository YAML (base), Organization UI (inherited)
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: abdf98aa-2337-4f86-b14f-d0db8ca3042d

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

…-aifeatures-568125f-b34ebdc

# Conflicts:
#	v3/expert-models/listing-models.mdx
…ings

Only Universal AI audio/tts rejects fallbacks with a 400. /v3/audio/speech
answers 200 and drops the field, so the note no longer promises a status
there; it says which OpenAI-compatible endpoints take one model instead.

The voice sections move after the model response fields they had split, and
both now say how to send a voice, what each field means (including default
and preview_url), how language matches, and what a mismatched voice answers.
format_price used :g, which prints gradium's $0.0000578 a character as
$5.78e-05. Of the 85 live prices it is the only one whose output changes.

The TTS page is regenerated from the live API: its voice field now points
to GET /v3/info/audio/tts/voices, lovoai is gone and gradium is listed.

This branch was successfully deployed

1 active deployment
staging — 1b582542 Deployed Oct 12, 2026 by mintlify[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant