Աուդիո
Տեքստից խոսքի սինտեզ (TTS) և աուդիոնից տեքստի վերագրում (STT). Յուրաքանչյուր մոդելի համար ձայները և ֆորմատները տարբեր են — ցանկը մոդելի էջում:
Խոսքի սինտեզ
Ենդպոինտներ
https://api.neuralbridge.ru/v1/audio/speechհիմնականՊարամետրեր
Սահմանակումը կախված է մոդելից՝ աջից՝ քանի մոդել 5-ից ընդունում են պարամետրը: Լռելյայն արժեքները և թույլատրելի արժեքները գտնվում են մոդելի էջում:
speed5 5-իցresponse_format5 5-իցvoice4 5-իցlanguage4 5-իցinput1 5-իցsample_rate1 5-իցbit_rate1 5-իցtemperature1 5-իցapply_text_normalization1 5-իցՀարցման օրինակ
Մոդելում deepgram/aura-1-08130. Այլ մոդելի համար տեղադրեք նրա նույնականացումը ներքևի աղյուսակից.
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 մոդելների
deepgram/aura-1-08130deepgram/aura-2-en-08130deepgram/aura-2-es-08130inworld/tts-2-08130myshell-ai/melotts-08130Ձայնի ճանաչում
Ենդպոինտներ
https://api.neuralbridge.ru/v1/audio/transcriptionsհիմնականՊարամետրեր
Սահմանակումը կախված է մոդելից՝ աջից՝ քանի մոդել 5-ից ընդունում են պարամետրը: Լռելյայն արժեքները և թույլատրելի արժեքները գտնվում են մոդելի էջում:
language5 5-իցresponse_format5 5-իցtemperature5 5-իցenable_timestamps3 5-իցenable_diarization2 5-իցfile1 5-իցsource_url1 5-իցlanguage_code1 5-իցsecondary_language_codes1 5-իցdiarize1 5-իցnum_speakers1 5-իցdiarization_threshold1 5-իցtag_audio_events1 5-իցtimestamps_granularity1 5-իցfile_format1 5-իցno_verbatim1 5-իցkeyterms1 5-իցnumbers_format1 5-իցseed1 5-իցՀարցման օրինակ
Մոդելում elevenlabs/scribe-v3-08130. Այլ մոդելի համար տեղադրեք նրա նույնականացումը ներքևի աղյուսակից.
curl https://api.neuralbridge.ru/v1/audio/transcriptions \
-H "Authorization: Bearer YOUR_API_KEY" \
-F model="elevenlabs/scribe-v3-08130" \
-F file=@record.mp35 մոդելների
elevenlabs/scribe-v3-08130deepgram/nova-3-08130openai/whisper-08130openai/whisper-large-v3-turbo-08130openai/whisper-tiny-en-08130Երաժշտություն և երգեր
Ենդպոինտներ
https://api.neuralbridge.ru/v1/audio/musicհիմնականՊարամետրեր
Սահմանակումը կախված է մոդելից՝ աջից՝ քանի մոդել 2-ից ընդունում են պարամետրը: Լռելյայն արժեքները և թույլատրելի արժեքները գտնվում են մոդելի էջում:
prompt2 2-իցinstrumental2 2-իցduration1 2-իցseed1 2-իցoutput_format1 2-իցsign_with_c2pa1 2-իցcomposition_plan1 2-իցsection_duration_ms1 2-իցsection_lines1 2-իցsection_line_chars1 2-իցsection_name_chars1 2-իցsection_styles1 2-իցcontext_adherence1 2-իցlyrics1 2-իցlyrics_optimizer1 2-իցformat1 2-իցsample_rate1 2-իցbitrate1 2-իցՀարցման օրինակ
Մոդելում elevenlabs/music-v2-08130. Այլ մոդելի համար տեղադրեք նրա նույնականացումը ներքևի աղյուսակից.
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 մոդելներ
elevenlabs/music-v2-08130minimax/music-2.6-08130