AiVoxta Developer Resources & API Documentation
Integrate studio-grade neural text-to-speech powered by Fish Audio S2.1 into applications, autonomous agents, and workflows. Exposed via predictable REST endpoints, an OpenAPI 3.1.0 specification, and a live Streamable HTTP Model Context Protocol (MCP) server.
openapi.json
Machine-readable JSON schema for API generators and Swagger/Postman.
/.well-known/mcp
Model Context Protocol manifest and JSON-RPC streamable tools for agents.
llms.txt
Standardized llmstxt.org index specifying when and how agents should call AiVoxta.
llms-full.txt
Full API parameters, emotion tags dictionary, and tool schema reference.
Authentication & Privacy Architecture (BYOK)
AiVoxta implements a client-first Bring-Your-Own-Key model. Authenticate API requests to protected endpoints by supplying your personal Fish Audio API key via either HTTP request header:
Don't have an API key yet? Follow our Free APIs Guide to acquire complimentary Fish Audio generation credits.
Core REST API Endpoints
Synthesize high-fidelity audio from text. Supports inline performance tags like [whispering], [excited], [dramatic] without SSML.
curl -X POST https://aivoxta.vercel.app/api/tts \
-H "Content-Type: application/json" \
-H "x-fish-api-key: $FISH_API_KEY" \
-d '{
"text": "Welcome to AiVoxta. [excited] Let us build amazing voice agents!",
"voice_id": "hindi-female",
"format": "mp3",
"temperature": 0.7
}' --output voice.mp3Fetch directory of curated and dynamic neural voices across Hindi, English, and Japanese.
curl https://aivoxta.vercel.app/api/voices
Automatically annotate plain dialogue with expressive emotion tags using LLMs or the built-in rule-based tagger.
Query current Fish Audio credit balance and active subscription package.
Model Context Protocol (MCP) Server Setup
AiVoxta exposes an official Model Context Protocol server via Streamable HTTP transport. Connect Claude Desktop, Cursor, ChatGPT, or custom agent runtimes by adding the endpoint to your configuration:
{
"mcpServers": {
"aivoxta": {
"url": "https://aivoxta.vercel.app/.well-known/mcp"
}
}
}Emotion Performance Tags Dictionary
Insert any of the following natural tags directly within your script text to shape pitch, cadence, and breath: