models

speech-02-turbo

Markdown · JSON

speech-02-turbo

Speech-02 Turbo is intended for fast speech synthesis with consistent rhythm and multilingual output.

About the model

This description covers the model’s capabilities. Available in Ailoot inputs, outputs and options are listed for the selected method below.

Fast speech for interactive responses

Speech 02 Turbo is intended for interactive speech synthesis. The manufacturer describes a combination of speed, consistent rhythm and natural sound; uses include voice responses, game dialogue and interactive content. The model receives text and produces speech audio.

Choosing the vocal character

The Speech 02 family allows voice, language, accent and emotional coloration to be combined. The jointly trained autoregressive Transformer and speaker encoder connect timbre with content. Text can be synthesized with a prepared voice; creation of a new cloned voice is a separate preparation process.

The model selects emotional intonation from the text itself or accepts a specified state: joy, sadness, anger, fear, disgust, surprise or calm. Speed, pitch and volume are also controlled to align a line with the desired interaction pace.

Languages and word pronunciation

Russian speech and other languages are supported, including English, Chinese, Cantonese, Japanese, Korean, French, German, Spanish, Portuguese, Turkish, Arabic and Ukrainian. The current Speech 02 specification specifically excludes Persian, Filipino and Tamil.

Pronunciation can be refined through a replacement dictionary, international phonetic notation, Chinese pinyin and Japanese reading variants. Pauses between spoken sections are set within 0.01–99.99 seconds. Pause duration is specified to two decimal places; markers are placed between spoken passages and not consecutively. The model provides speed of 0.5–2, volume above 0 and up to 10, and pitch adjustment from −12 to 12.

Audio for playback

Synchronous input is limited to text of fewer than 10,000 characters; for text exceeding 3000 characters, the manufacturer recommends incremental output. Model capabilities include MP3, WAV, FLAC and PCM; general settings also describe Opus and G.711 μ-law, with one or two audio channels.

This Ailoot card accepts text and returns speech. Turbo's speed concerns the variant's intended use; actual response duration and availability of extended formats depend on the selected access method.

Additional audio settings include sample rates of 8, 16, 22.05, 24, 32 and 44.1 kHz. MP3 provides bitrates of 32, 64, 128 or 256 kbps. Voice coloration can also be changed and one effect applied: spacious echo, hall echo, telephone sound or a robotic voice. Voice-modification effects are supported for MP3, WAV and FLAC when receiving the audio in full, and only for MP3 when streaming. G.711 μ-law formats use an 8 kHz sample rate. These capabilities belong to MiniMax's synthesis settings.

The manufacturer provides speech-text synchronization: sentence timestamps, word timestamps or word timestamps during incremental output. This result helps align speech with displayed text. This additional capability requires support for the corresponding response format.

Ailoot · Text to speech POST /v1/audio/speech speech-02-turbo

speech-02-turbo

MiniMax /speech-02-turbo

Overview

Speech-02 Turbo is intended for fast speech synthesis with consistent rhythm and multilingual output.

Accepted inputs
Text
Results
speech

Available in Ailoot · inputs & methods

Ailoot · Text to speech POST /v1/audio/speech
Input types
text
Output types
speech
Output format
mp3
FieldTypeRequirementValues & limitsDefault
FieldmodelTypestringRequirementRequiredValues & limits
speech-02-turbo
Default—
FieldinputTypestringRequirementRequiredValues & limits
Minimum length: 1
Maximum length (exclusive): 10,000
Unit: Unicode characters
Default—
FieldvoiceTypestringRequirementRequiredValues & limits
Pattern: ^[A-Za-z0-9_-]{1,128}$
Default—
Fieldresponse_formatTypestringRequirementOptionalValues & limits
mp3
Default—
Input material combinations

text_to_speech · Required: input

Method parameters and lifecycle
ParameterContract
Parametermaterial_typesContracttext
ParameterrequiredContractnull
Parameteroptional_controlsContractnull

Lifecycle: synchronous_result_then_owned_library

GET /v1/media/tasks/{task_id} · actual returned task_id or media library record

GET /v1/media/assets/{asset_id}/content

GET /v1/media/assets

GET /v1/media/assets/{asset_id}

Method shapes and IDs are exact; supplier capability is separate from admission.

Pricing

Ailoot method rates

Ailoot Text to speechPOST /v1/audio/speech
Input
$60.00 per 1 million characters

Ailoot reserves an estimated amount before a request. After the result, it settles the final charge from measured usage. Streaming settlement uses the final usage record. How reservation and settlement work →

Example requests

Ailoot · Text to speech

Speech example
set -eu
: "${AILOOT_API_KEY:?Set your Ailoot API key}"
: "${AILOOT_TEXT_FILE:?Set your actual UTF-8 narration script}"
export AILOOT_TEXT_FILE
: "${AILOOT_VOICE_ID:?Set the actual accepted voice ID for this model}"
export AILOOT_VOICE_ID
python3 - <<'PY_REQUEST'
import json,os
from pathlib import Path
p=json.loads('{"model": "speech-02-turbo", "input": ""}')
f=Path(os.environ["AILOOT_TEXT_FILE"])
if not f.is_file():raise SystemExit("Choose your actual UTF-8 source material")
text=f.read_text(encoding="utf-8")
if not text.strip():raise SystemExit("Source material must contain text")
p["input"]=text
import re
voice=os.environ["AILOOT_VOICE_ID"]
if not re.fullmatch(r"[A-Za-z0-9_-]{1,128}",voice):raise SystemExit("Set an actual accepted voice ID")
p["voice"]=voice
Path("request.json").write_text(json.dumps(p,ensure_ascii=False))
PY_REQUEST
curl --fail-with-body --silent --show-error https://api.ailoot.ai/v1/audio/speech \
  -H "Authorization: Bearer $AILOOT_API_KEY" -H 'Content-Type: application/json' \
  --data-binary @request.json -D response-headers.txt -o speech.mp3

Receive and save results

Ailoot · Text to speech

mp3

  • GET /v1/media/tasks/{task_id}
  • GET /v1/media/assets/{asset_id}/content
  • GET /v1/media/assets
  • GET /v1/media/assets/{asset_id}
Keep all completed results

Keep every complete returned response, file and content part.

Keep the complete binary result and headers. If JSON/multiple outputs are returned, retain every data item and fetch each actual signed asset URL.

If the original response needs checking

Retain original operation_id/X-Client-Request-ID for reconciliation without resubmission; no dedicated audio poll route.

Response fields
FieldType
Fieldbinary audioTypebytes
Fieldresponse headersTypeheaders
Errors and next steps
ResponseConditionNext step
Response400 · invalid_request_errorConditionInvalid required fields, material representation or parameter valueNext stepCorrect the indicated fields before a new creation request.
Responseserver_errorConditionThe returned response says the operation or result requires a checkNext stepKeep the original returned operation/task ID, request headers and response; continue supported reads of that original operation. Do not resubmit the creation request.

Aliases

Model aliases

Ailoot speech-02-turbo

Method path aliases

Use the method paths shown above.

Related caller IDs

speech-02-turbo

FAQ · speech-02-turbo
What inputs and results are available?

POST /v1/audio/speech · speech-02-turbo: text → speech

Which fields does the request use?

POST /v1/audio/speech · speech-02-turbo: model, input, voice, response_format

More details

Connect Ailoot to Claude Code, OpenCode, Hermes or your own app.

The company and its project portfolio

The company and its project portfolio: millions of customers; monthly sales in the billions.

Buy tokens at a discount.

Subscription discounts for regular use. Promo codes offer up to 50% off token purchases.

Subscription
Choose a discounted plan for your regular requests.
Promo code: up to 50% off
Enter your code at checkout. The price updates to reflect the current promotion.
Spending in your history
The model, tokens and amount are recorded for each request.

Choose a subscription · View model prices

Connect the API to a product you sell.

Use Ailoot in SaaS, apps and bots under its official service offer and licence agreement. Request a reseller licence for resale.

Commercial application
Add text, image, video and audio generation to paid features in your service.
Reseller licence
Send a description of your project and how you provide access. Request written terms for use and resale.
Documents on the website
The service offer, licence agreement and data processing policy are available before you connect.

Request a reseller licence · Service offer and licence agreement