Skip to content

assemblyai-tts-1

Active on this gateway Audio

AssemblyAI TTS 1 is a text-to-speech model from AssemblyAI. It is suited for voice agents, narration, and multilingual applications, and draws on a public library of several thousand voices across languages. Voices are selected by slug or ID, and the spoken language follows the chosen voice or can be set explicitly through the language provider option.

AcceptsText
ProducesAudio

Pricing

Current price per 1,000,000 tokens. Every request is billed automatically from its exact usage.

Input 5,382,000 Toman$18,00 / 1M tokens ≈ 5,382,00 Toman / 1K tokens≈ $0,01800 / 1K tokens
Output 0 Toman$0,00 / 1M tokens ≈ 0,00 Toman / 1K tokens≈ $0,00000 / 1K tokens

Statistics

Live performance and usage of this model, aggregated across all users.

API

Turn text into speech and get the audio file back, using your API token.

POST https://apiex.cloud/api/v1/audio/speech
<?php
$ch = curl_init( "https://apiex.cloud/api/v1/audio/speech" );

curl_setopt_array( $ch, array(
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_POST           => true,
    CURLOPT_HTTPHEADER     => array(
        "Authorization: Bearer YOUR_API_KEY",
        "Content-Type: application/json",
    ),
    CURLOPT_POSTFIELDS     => json_encode( array(
        "model" => "assemblyai/assemblyai-tts-1",
        "input" => "Hello! This is a test of the text-to-speech API.",
        "voice" => "alloy",
    ) ),
) );

file_put_contents( "speech.mp3", curl_exec( $ch ) ); // audio/mpeg, or audio/wav for some models

Authentication Every request must include an Authorization: Bearer <TOKEN> header. Generate a token from your account's API Keys page — you can set its rate limit and IP restrictions.

Supported parameters

Parameter Type Description
model string, required This model's ID, exactly as shown above.
input string, required The text to speak. Up to 4,000 characters.
voice string, optional The voice to use. Which voices exist depends on the model.

Frequently asked questions

What is assemblyai-tts-1?

AssemblyAI TTS 1 is a text-to-speech model from AssemblyAI. It is suited for voice agents, narration, and multilingual applications, and draws on a public library of several thousand voices across languages. Voices are selected by slug or ID, and the spoken language follows the chosen voice or can be set explicitly through the language provider option.

How much does assemblyai-tts-1 cost?

Input tokens are priced at $18,00 per 1,000,000 tokens and output tokens at $0,00 per 1,000,000 tokens. Pricing is billed automatically per request; no separate plan is required.

Does assemblyai-tts-1 support image input?

assemblyai-tts-1 currently accepts text input only.

When was assemblyai-tts-1 added to this gateway?

assemblyai-tts-1 has been available on this gateway since October 28, 2026.

Is assemblyai-tts-1 currently available?

Yes, assemblyai-tts-1 is active and can be used right now through this gateway.

Ready to build with one API?

Create an account, make a key and send your first request in a few minutes.

Create your account