NeuralBridgeDocumentation

melotts

unofficialtts
DeveloperMyshell-Ai
Identifiermyshell-ai/melotts-08130

melotts specifications

Context window
Max output tokens
Release date
InputText
OutputAudio

What melotts can do

melotts API: connection and code examples

The service exposes a single OpenAI-compatible API. Set our base_url and the key from your dashboard.

OpenAI Python SDK

from openai import OpenAI

client = OpenAI(api_key="YOUR_API_KEY", base_url="https://api.neuralbridge.ru/v1")

audio = client.audio.speech.create(model="myshell-ai/melotts-08130", voice="default", input="Привет!")
audio.write_to_file("speech.mp3")

cURL

curl https://api.neuralbridge.ru/v1/audio/speech \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "myshell-ai/melotts-08130", "input": "Привет!"}' \
  --output speech.mp3

API endpoints

POST /v1/audio/speechprimaryAudio — vorbire
Sinteză de vorbire: text la intrare, fișier audio la ieșire.

Supported request parameters

ParameterDefaultAllowed valuesDescription
languageLimba materialului: indiciu pentru model, în ce limbă se vorbește sau este scris textul. De obicei accelerează și clarifică procesarea.
speed1Viteza vorbirii în raport cu cea obișnuită: sub un unitate — mai lent, peste un unitate — mai rapid.
response_formatmp3Formatul răspunsului: text simplu sau JSON strict conform schemei specificate.
Language:РусскийEnglishУкраїнськаБеларускаяҚазақшаOʻzbekchaКыргызчаТоҷикӣՀայերենAzərbaycancaTürkmençeRomânăDeutschFrançaisEspañolItalianoPortuguêsPolskiNederlandsTürkçeΕλληνικά