NeuralBridge
Sign in Download IDE

Audio

Text‑to‑speech (TTS) and speech‑to‑text (STT). Each model has its own voices and formats — see the list on the model page.

Speech synthesis

Endpoints

POSThttps://api.neuralbridge.ru/v1/audio/speechprimary
Audio — speech — Speech synthesis: text in, audio file out.

Parameters

The set depends on the model: on the right — how many models out of 5 accept the parameter. Default and allowed values on the model page.

speed5 of 5
Speech rate relative to normal: below one is slower, above one is faster.
response_format5 of 5
Response format: plain text or strict JSON following a given schema.
voice4 of 5
Voice used for speech. Available voices are listed in the model specifications.
language4 of 5
Language of the material: a hint about which language is spoken or written. Usually speeds up and sharpens processing.
input1 of 5
sample_rate1 of 5
Audio sample rate in hertz.
bit_rate1 of 5
Bits per second for compressed formats (MP3, Opus): higher means better sound and a larger file.
temperature1 of 5
Controls how varied the answer is: higher values make the output more random, lower values more predictable.
apply_text_normalization1 of 5
Expand numbers, dates, times and abbreviations into words before synthesis. Turn it on for text with numbers.

Request example

Models deepgram/aura-1-08130. For another model, insert its identifier from the table below.

python
from openai import OpenAI

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

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

5 models

aura 1Deepgram
deepgram/aura-1-08130
Deepgram Aura-1 speech synthesis model for natural text-to-speech (English voices).
aura 2 enDeepgram
deepgram/aura-2-en-08130
Deepgram Aura-2 speech synthesis model with a set of English voices for natural text-to-speech.
aura 2 esDeepgram
deepgram/aura-2-es-08130
Deepgram Aura-2 speech synthesis model with a set of Spanish voices for natural text-to-speech.
inworld/tts-2-08130
Expressive speech synthesis by Inworld: 95 voices, delivery steered with tags in the text — whisper, excitement, laughter, pauses. Russian is among the best-quality languages. Up to 2,000 characters per request, MP3, Opus, WAV or FLAC, billed per character.
melottsMyShell
myshell-ai/melotts-08130
Multilingual speech synthesis model MyShell MeloTTS for high-quality text-to-speech.

Speech recognition

Endpoints

POSThttps://api.neuralbridge.ru/v1/audio/transcriptionsprimary
Audio — transcriptions — Transcribe a recording, with timecodes and speaker separation where the model supports it.

Parameters

The set depends on the model: on the right — how many models out of 5 accept the parameter. Default and allowed values on the model page.

language5 of 5
Language of the material: a hint about which language is spoken or written. Usually speeds up and sharpens processing.
response_format5 of 5
Response format: plain text or strict JSON following a given schema.
temperature5 of 5
Controls how varied the answer is: higher values make the output more random, lower values more predictable.
enable_timestamps3 of 5
Return timecodes for each transcript segment.
enable_diarization2 of 5
Split the transcript by speaker.
file1 of 5
Audio or video (mp3, wav, m4a, ogg, flac, mp4, mov, webm…). A file in the request — up to ~18 MB; for bigger files send a source_url link.
source_url1 of 5
An https link to audio or video instead of a file, including YouTube and TikTok. The link must open without signing in.
language_code1 of 5
The main language of the recording: an ISO-639-1 or ISO-639-3 code (en, eng, ru, rus…). Not set — the model detects it.
secondary_language_codes1 of 5
Up to 10 languages spoken along with the main one (mixed speech). Only together with the main language.
diarize1 of 5
Label which speaker said each word (up to 32 speakers).
num_speakers1 of 5
The maximum number of speakers in the recording, 1–32. Helps speaker labelling. Only with diarize.
diarization_threshold1 of 5
0–1: higher means one speaker is split in two less often (and two speakers merge more often). Only with diarize and without num_speakers.
tag_audio_events1 of 5
Mark sounds in the text — [laughter], [applause], [music]. On by default.
timestamps_granularity1 of 5
none — no timestamps; word — for every word (default); character — for every character.
file_format1 of 5
pcm_s16le_16 — raw 16-bit PCM, 16 kHz, mono (faster); other — any regular file (default).
no_verbatim1 of 5
Remove fillers like «uh», «um», repetitions and false starts.
keyterms1 of 5
Up to 100 words or phrases (each up to 50 characters and 5 words) — names, brands and terms the model recognises more accurately. Extra charge per second of audio.
numbers_format1 of 5
digits — as digits («42»), words — as words («forty-two»). Not set — the model decides.
seed1 of 5
Pins randomness: repeating a request with the same seed and parameters returns the same result.

Request example

Models elevenlabs/scribe-v3-08130. For another model, insert its identifier from the table below.

bash
curl https://api.neuralbridge.ru/v1/audio/transcriptions \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -F model="elevenlabs/scribe-v3-08130" \
  -F file=@record.mp3

5 models

elevenlabs/scribe-v3-08130
ElevenLabs speech recognition for recorded audio: 90+ languages, up to 32 speakers, word and character timestamps, audio event tags, key terms. A file or a link (YouTube, TikTok), priced per second of audio.
nova 3Deepgram
deepgram/nova-3-08130
Speech recognition model Deepgram Nova-3 for accurate audio transcription with advanced options.
whisperOpenAI
openai/whisper-08130
OpenAI Whisper speech recognition model for audio-to-text transcription.
openai/whisper-large-v3-turbo-08130
Accelerated OpenAI Whisper large-v3-turbo speech recognition model for transcription and audio translation.
openai/whisper-tiny-en-08130
Lightweight English OpenAI Whisper tiny speech recognition model for fast transcription.

Music and songs

Endpoints

POSThttps://api.neuralbridge.ru/v1/audio/musicprimary
Audio — music — Music and songs: a description or a plan of parts in, audio file out.

Parameters

The set depends on the model: on the right — how many models out of 2 accept the parameter. Default and allowed values on the model page.

prompt2 of 2
The request text: what you want to get. For video: the scene, camera movement and light; for music: genre, mood, instruments, tempo. The length limit depends on the model.
instrumental2 of 2
true guarantees a track without vocals. Without it the model decides from the description whether to sing, and writes the lyrics itself.
duration1 of 2
Length in seconds: of the clip for video, of the track for music. Also affects the price.
seed1 of 2
Pins randomness: repeating a request with the same seed and parameters returns the same result.
output_format1 of 2
Codec, sample rate and bitrate: for example mp3_44100_128 is MP3, 44.1 kHz, 128 kbit/s; opus_48000_96 is Opus in an Ogg container. auto is the model default.
sign_with_c2pa1 of 2
true adds a C2PA signature to the MP3 file, a mark that the track was made by AI.
composition_plan1 of 2
A song in parts: {"chunks": [{"text", "duration_ms", "positive_styles", "negative_styles", "context_adherence"}]}. text holds the part name in square brackets ([Verse 1], [Chorus]), the lyric lines and cues in curly braces ({guitar solo}). Used instead of prompt; the limit is the number of parts.
section_duration_ms1 of 2
Limits of duration_ms of one plan part, in milliseconds.
section_lines1 of 2
The largest number of lines in text of one plan part.
section_line_chars1 of 2
The longest allowed line in a part text.
section_name_chars1 of 2
Length limits of the part name in square brackets, for example [Verse 1].
section_styles1 of 2
Limits of the number of styles in positive_styles (at least one) and negative_styles of one part. Styles work best in English.
context_adherence1 of 2
low lets a part drift away from its neighbours, high keeps their sound (default).
lyrics1 of 2
Song lyrics, lines separated by line breaks (\n). Song parts are tags in square brackets: [Intro], [Verse], [Pre Chorus], [Chorus], [Bridge], [Outro] and more. Any language. The song length follows the lyrics.
lyrics_optimizer1 of 2
true lets the model write the lyrics from the description (when lyrics is empty). Billed separately, even when lyrics are given.
format1 of 2
Audio file format: mp3 or wav (when the model accepts it).
sample_rate1 of 2
Audio sample rate in hertz.
bitrate1 of 2
MP3 bitrate in bit/s: 32000, 64000, 128000 or 256000. Higher means better quality and a bigger file; 256000 by default.

Request example

Models elevenlabs/music-v2-08130. For another model, insert its identifier from the table below.

bash
curl https://api.neuralbridge.ru/v1/audio/music \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "elevenlabs/music-v2-08130", "prompt": "Warm cinematic ambient, soft piano, subtle strings, hopeful mood", "duration": 30, "instrumental": true}' \
  --output music.mp3

2 models

elevenlabs/music-v2-08130
ElevenLabs music model: instrumental tracks and songs with vocals from a description or from a plan of parts with your own lyrics, 3 seconds to 10 minutes.
minimax/music-2.6-08130
MiniMax music model: songs with vocals from a style description and your own lyrics (or lyrics written by the model) and instrumental tracks. The model picks the length; you pay per track.