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
https://api.neuralbridge.ru/v1/audio/speechprimaryParameters
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 5response_format5 of 5voice4 of 5language4 of 5input1 of 5sample_rate1 of 5bit_rate1 of 5temperature1 of 5apply_text_normalization1 of 5Request example
Models deepgram/aura-1-08130. For another model, insert its identifier from the table below.
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
deepgram/aura-1-08130deepgram/aura-2-en-08130deepgram/aura-2-es-08130inworld/tts-2-08130myshell-ai/melotts-08130Speech recognition
Endpoints
https://api.neuralbridge.ru/v1/audio/transcriptionsprimaryParameters
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 5response_format5 of 5temperature5 of 5enable_timestamps3 of 5enable_diarization2 of 5file1 of 5source_url1 of 5language_code1 of 5secondary_language_codes1 of 5diarize1 of 5num_speakers1 of 5diarization_threshold1 of 5tag_audio_events1 of 5timestamps_granularity1 of 5file_format1 of 5no_verbatim1 of 5keyterms1 of 5numbers_format1 of 5seed1 of 5Request example
Models elevenlabs/scribe-v3-08130. For another model, insert its identifier from the table below.
curl https://api.neuralbridge.ru/v1/audio/transcriptions \
-H "Authorization: Bearer YOUR_API_KEY" \
-F model="elevenlabs/scribe-v3-08130" \
-F file=@record.mp35 models
elevenlabs/scribe-v3-08130deepgram/nova-3-08130openai/whisper-08130openai/whisper-large-v3-turbo-08130openai/whisper-tiny-en-08130Music and songs
Endpoints
https://api.neuralbridge.ru/v1/audio/musicprimaryParameters
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 2instrumental2 of 2duration1 of 2seed1 of 2output_format1 of 2sign_with_c2pa1 of 2composition_plan1 of 2section_duration_ms1 of 2section_lines1 of 2section_line_chars1 of 2section_name_chars1 of 2section_styles1 of 2context_adherence1 of 2lyrics1 of 2lyrics_optimizer1 of 2format1 of 2sample_rate1 of 2bitrate1 of 2Request example
Models elevenlabs/music-v2-08130. For another model, insert its identifier from the table below.
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.mp32 models
elevenlabs/music-v2-08130minimax/music-2.6-08130