⚠ अनुवाद पुराना है

VoiceChat टूल कॉल और प्रदर्शन की नवीनतम जानकारी के लिए अंग्रेज़ी संस्करण देखें।

CLI संदर्भ

speech बाइनरी सभी स्पीच प्रोसेसिंग कार्यों के लिए मुख्य एंट्री पॉइंट है। make build से बिल्ड करें, फिर .build/release/speech से चलाएँ।

transcribe

ऑडियो फ़ाइलों को टेक्स्ट में ट्रांसक्राइब करें।

speech transcribe <file> [options]
विकल्पडिफ़ॉल्टविवरण
<file>ट्रांसक्राइब करने के लिए ऑडियो फ़ाइल (WAV, M4A, MP3, CAF)
--engineqwen3ASR इंजन: qwen3, qwen3-coreml, parakeet, nemotron, omnilingual, cohere, voxtral, moss, whisper
--model, -m0.6Bमॉडल वैरिएंट: 0.6B, 1.7B, या पूर्ण HuggingFace मॉडल ID (केवल qwen3) [whisper]: default, turbo, or full CoreML HuggingFace repo ID.
[cohere/voxtral]: INT5 (डिफ़ॉल्ट), INT8, FP16, Hugging Face मॉडल ID या स्थानीय डायरेक्टरी. [moss coreml]: int8 (डिफ़ॉल्ट) या fp16; [moss mlx]: int5 (डिफ़ॉल्ट) या int8। संगत Hugging Face repository ID या local directory भी स्वीकार है।
--max-tokensCoreML: 512
MLX: 5120
[moss] द्वारा बनाए जाने वाले transcription tokens की अधिकतम संख्या।
--kv-cachefp16[moss mlx] dynamic KV-cache precision: fp16 या int8
--languageभाषा संकेत (वैकल्पिक, omnilingual द्वारा अनदेखा)
--window10[omnilingual] CoreML विंडो आकार सेकंड में: 5 या 10
--backendcoreml[omnilingual] बैकएंड: coreml (Neural Engine) या mlx (Metal GPU)
[moss] CoreML fixed 1,024-token state उपयोग करता है; MLX dynamic 131,072-token context देता है।
--variant300M[omnilingual mlx] आकार: 300M, 1B, 3B, या 7B
--bits4[omnilingual mlx] क्वांटिज़ेशन बिट्स: 4 या 8
--streamVAD के साथ स्ट्रीमिंग ट्रांसक्रिप्शन सक्षम करें
--max-segment10अधिकतम सेगमेंट अवधि सेकंड में (स्ट्रीमिंग)
--partialस्पीच के दौरान पार्शियल परिणाम जारी करें (स्ट्रीमिंग)

उदाहरण:

# बेसिक ट्रांसक्रिप्शन
speech transcribe recording.wav

# बड़े मॉडल का उपयोग करें
speech transcribe recording.wav --model 1.7B

# CoreML एनकोडर (Neural Engine + MLX डिकोडर)
speech transcribe recording.wav --engine qwen3-coreml

# Parakeet (CoreML) इंजन का उपयोग करें
speech transcribe recording.wav --engine parakeet

# Omnilingual (CoreML, 1,672 भाषाएँ)
speech transcribe recording.wav --engine omnilingual                              # 10 s विंडो
speech transcribe recording.wav --engine omnilingual --window 5                     # 5 s विंडो

# Omnilingual (MLX, 40 s तक कोई भी लंबाई)
speech transcribe recording.wav --engine omnilingual --backend mlx                              # 300M @ 4-bit
speech transcribe recording.wav --engine omnilingual --backend mlx --variant 1B                  # 1B @ 4-bit
speech transcribe recording.wav --engine omnilingual --backend mlx --variant 3B --bits 8         # 3B @ 8-bit
speech transcribe recording.wav --engine omnilingual --backend mlx --variant 7B                  # 7B @ 4-bit

# Cohere Transcribe 2B (MLX, डिफ़ॉल्ट INT5)
speech transcribe recording.wav --engine cohere
speech transcribe recording.wav --engine cohere --model int8 --language de

# Voxtral Mini 3B (MLX, डिफ़ॉल्ट INT5)
speech transcribe recording.wav --engine voxtral
speech transcribe recording.wav --engine voxtral --model int8 --language fr

# MOSS Transcribe Diarize (छोटे audio के लिए CoreML)
speech transcribe recording.wav --engine moss
speech transcribe recording.wav --engine moss --model fp16

# MOSS Transcribe Diarize (MLX 128K offline context; INT5 डिफ़ॉल्ट)
speech transcribe meeting.wav --engine moss --backend mlx
speech transcribe meeting.wav --engine moss --backend mlx --model int8 --kv-cache int8

# Whisper Large-v3 Turbo (CoreML)
speech transcribe recording.wav --engine whisper
speech transcribe recording.wav --engine whisper --model turbo --language de

# VAD के साथ स्ट्रीमिंग
speech transcribe recording.wav --stream --partial

align

शब्द-स्तरीय फ़ोर्स्ड अलाइनमेंट — हर शब्द के लिए सटीक टाइमस्टैम्प प्राप्त करें।

speech align <file> [options]
विकल्पडिफ़ॉल्टविवरण
<file>ऑडियो फ़ाइल
--text, -tअलाइन करने के लिए टेक्स्ट (अगर नहीं दिया, तो पहले ट्रांसक्राइब करता है)
--model, -m0.6Bट्रांसक्रिप्शन के लिए ASR मॉडल: 0.6B, 1.7B, या पूर्ण ID
--aligner-modelफ़ोर्स्ड अलाइनर मॉडल ID
--languageभाषा संकेत

उदाहरण:

# ऑटो-ट्रांसक्राइब फिर अलाइन करें
speech align recording.wav

# ज्ञात टेक्स्ट के साथ अलाइन करें
speech align recording.wav --text "Can you guarantee that the replacement part will be shipped tomorrow?"

speak

टेक्स्ट-टू-स्पीच संश्लेषण।

speech speak "<text>" [options]
विकल्पडिफ़ॉल्टविवरण
<text>संश्लेषण करने के लिए टेक्स्ट (यदि --batch-file उपयोग कर रहे हैं तो वैकल्पिक)
--engineqwen3TTS इंजन: qwen3, cosyvoice, voxcpm2, indextts2, f5, higgs, indic-mio, magpie, या magpie-coreml
--output, -ooutput.wavआउटपुट WAV फ़ाइल पथ
--languageenglishभाषा। जब --speaker सेट हो तो स्पीकर की मूल बोली का उपयोग करने के लिए छोड़ दें।
--streamस्ट्रीमिंग संश्लेषण सक्षम करें
--voice-sampleवॉयस क्लोनिंग के लिए reference audio (qwen3, cosyvoice, voxcpm2, f5, higgs, और indextts2 के साथ काम करता है)
--verboseविस्तृत समय जानकारी दिखाएँ

Qwen3-TTS विकल्प

विकल्पडिफ़ॉल्टविवरण
--modelbaseमॉडल वैरिएंट: base, customVoice, या पूर्ण HF मॉडल ID
--speakerस्पीकर वॉयस (--model customVoice आवश्यक)
--instructस्टाइल निर्देश (CustomVoice मॉडल)
--list-speakersउपलब्ध स्पीकर सूचीबद्ध करें और बाहर निकलें
--temperature0.3सैंपलिंग तापमान
--top-k50Top-k सैंपलिंग
--max-tokens500अधिकतम टोकन (500 = ~40s ऑडियो)
--batch-fileबैच संश्लेषण के लिए प्रति पंक्ति एक टेक्स्ट वाली फ़ाइल
--batch-size4समानांतर जनरेशन के लिए अधिकतम बैच आकार
--first-chunk-frames3पहले स्ट्रीम किए गए चंक में codec फ़्रेम
--chunk-frames25प्रति स्ट्रीम किए गए चंक codec फ़्रेम

CosyVoice3 विकल्प

विकल्पडिफ़ॉल्टविवरण
--speakersमल्टी-स्पीकर डायलॉग के लिए स्पीकर मैपिंग: s1=alice.wav,s2=bob.wav
--cosy-instructस्टाइल निर्देश (डिफ़ॉल्ट को ओवरराइड करता है)। CosyVoice3 के लिए वॉयस स्टाइल को नियंत्रित करता है।
--turn-gap0.2डायलॉग टर्न के बीच मौन अंतराल सेकंड में
--crossfade0.0टर्न के बीच क्रॉसफ़ेड ओवरलैप सेकंड में
--model-idHuggingFace मॉडल ID

IndexTTS2 विकल्प

IndexTTS2 expanded MLX bundle पर आधारित zero-shot voice-cloning engine है। इसके लिए --voice-sample आवश्यक है और अभी यह केवल batch synthesis चलाता है।

विकल्पडिफ़ॉल्टविवरण
--indextts2-model-idaufklarer/IndexTTS2-MLX-fp16HuggingFace model ID। डिफ़ॉल्ट aufklarer/IndexTTS2-MLX-fp16 है।
--indextts2-bundle-dirHugging Face से डाउनलोड करने के बजाय local expanded bundle लोड करें।
--indextts2-emotion-audioवैकल्पिक emotion/style reference audio। डिफ़ॉल्ट speaker reference है।
--indextts2-emotionवैकल्पिक preset या 8-value emotion vector। Presets में eager, happy, excited, और calm शामिल हैं।
--indextts2-emotion-weight1.0--indextts2-emotion को scale करता है; speaker identity महत्वपूर्ण हो तो modest रखें।
--indextts2-speaking-rate1.00.5 से 1.5 तक speaking-rate multiplier; 1.0 से ऊपर तेज़ है।
--indextts2-max-pauseलंबे internal low-energy pauses के लिए वैकल्पिक सीमा, seconds में।
--indextts2-s2mel-steps15S2Mel फ़्लो चरण (डिफ़ॉल्ट 15, सुनकर सत्यापित; 25 अपस्ट्रीम से हूबहू)

F5-TTS विकल्प

विकल्पडिफ़ॉल्टविवरण
--f5-reference-textसंदर्भ ट्रांसक्रिप्ट: --voice-sample की पाठ्य सामग्री (अनिवार्य)
--f5-steps16फ़्लो मैचिंग चरण (डिफ़ॉल्ट 16; अधिकतम निष्ठा हेतु 32)
--f5-cfg-strength2.0क्लासिफ़ायर-मुक्त गाइडेंस तीव्रता
--f5-sway-1.0Sway सैंपलिंग गुणांक
--f5-speed1.0वाक्-गति गुणक
--f5-seed0नियतात्मक आउटपुट हेतु सीड
--f5-target-rms0.1संदर्भ RMS सामान्यीकरण लक्ष्य
--f5-model-idHugging Face मॉडल ID
--f5-bundle-dirइस स्थानीय डायरेक्टरी से बंडल लोड करें

Higgs TTS 3 विकल्प

विकल्पडिफ़ॉल्टविवरण
--higgs-ref-textसंदर्भ ट्रांसक्रिप्ट: --voice-sample की पाठ्य सामग्री (क्लोनिंग बेहतर होती है)
--higgs-temperature0.8सैंपलिंग तापमान (डिफ़ॉल्ट 0.8)
--higgs-top-pन्यूक्लियस सैंपलिंग सीमा (डिफ़ॉल्ट बंद)
--higgs-top-kTop-k सैंपलिंग कटऑफ़ (डिफ़ॉल्ट बंद)
--higgs-max-new-tokens2048अधिकतम उत्पन्न ऑडियो फ़्रेम (25 प्रति सेकंड)
--higgs-seed0नियतात्मक आउटपुट हेतु सीड
--higgs-model-idHugging Face मॉडल ID
--higgs-bundle-dirइस स्थानीय डायरेक्टरी से बंडल लोड करें

उदाहरण:

# बेसिक TTS
speech speak "Hello, world!" --output hello.wav

# वॉयस क्लोनिंग (Qwen3-TTS)
speech speak "Hello in your voice" --voice-sample reference.wav -o cloned.wav

# वॉयस क्लोनिंग (CosyVoice)
speech speak "Hello in your voice" --engine cosyvoice --voice-sample reference.wav -o cloned.wav

# CosyVoice बहुभाषी
speech speak "Hallo Welt" --engine cosyvoice --language german -o hallo.wav

# मल्टी-स्पीकर डायलॉग
speech speak "[S1] Hello there! [S2] Hey, how are you?" \
    --engine cosyvoice --speakers s1=alice.wav,s2=bob.wav -o dialogue.wav

# इनलाइन इमोशन/स्टाइल टैग
speech speak "(excited) Wow, amazing! (sad) But I have to go..." \
    --engine cosyvoice -o emotion.wav

# संयुक्त: डायलॉग + इमोशन + वॉयस क्लोनिंग
speech speak "[S1] (happy) Great news! [S2] (surprised) Really?" \
    --engine cosyvoice --speakers s1=alice.wav,s2=bob.wav -o combined.wav

# कस्टम स्टाइल निर्देश
speech speak "Hello world" --engine cosyvoice --cosy-instruct "Speak cheerfully" -o cheerful.wav

# स्ट्रीमिंग संश्लेषण
speech speak "Long text here..." --stream

# फ़ाइल से बैच संश्लेषण
speech speak --batch-file texts.txt --batch-size 4

kokoro

Neural Engine (CoreML) पर Kokoro-82M का उपयोग करके हल्का टेक्स्ट-टू-स्पीच। नॉन-ऑटोरिग्रेसिव — एकल फ़ॉरवर्ड पास, ~45ms लेटेंसी।

speech kokoro "<text>" [options]
विकल्पडिफ़ॉल्टविवरण
<text>संश्लेषण करने के लिए टेक्स्ट
--voiceaf_heartवॉयस प्रीसेट (10 भाषाओं में 50 उपलब्ध)
--languageenभाषा कोड: en, es, fr, hi, it, ja, pt, zh, ko, de
--output, -okokoro_output.wavआउटपुट WAV फ़ाइल पथ
--list-voicesसभी उपलब्ध वॉयस सूचीबद्ध करें और बाहर निकलें
--model, -mHuggingFace मॉडल ID

उदाहरण:

# बेसिक Kokoro TTS
speech kokoro "Hello, world!" --voice af_heart -o hello.wav

# फ़्रेंच वॉयस
speech kokoro "Bonjour le monde" --voice ff_siwis --language fr -o bonjour.wav

# सभी 50 वॉयस सूचीबद्ध करें
speech kokoro --list-voices

respond

PersonaPlex 7B का उपयोग करके फुल-डुप्लेक्स स्पीच-टू-स्पीच डायलॉग।

speech respond [options]
विकल्पडिफ़ॉल्टविवरण
--input, -iइनपुट ऑडियो WAV फ़ाइल (24kHz मोनो) (आवश्यक)
--output, -oresponse.wavआउटपुट रिस्पॉन्स WAV फ़ाइल
--voiceNATM0वॉयस प्रीसेट (जैसे NATM0, NATF1, VARF0)
--system-promptassistantप्रीसेट: assistant, focused, customer-service, teacher
--system-prompt-textकस्टम सिस्टम प्रॉम्प्ट टेक्स्ट (प्रीसेट को ओवरराइड करता है)
--max-steps20012.5Hz पर अधिकतम जनरेशन स्टेप्स (~16s)
--streamजनरेशन के दौरान ऑडियो चंक्स जारी करें
--compileसंकलित ट्रांसफ़ॉर्मर सक्षम करें (warmup + kernel fusion)
--list-voicesउपलब्ध वॉयस प्रीसेट सूचीबद्ध करें
--list-promptsउपलब्ध सिस्टम प्रॉम्प्ट प्रीसेट सूचीबद्ध करें
--transcriptमॉडल का इनर मोनोलॉग टेक्स्ट प्रिंट करें
--jsonJSON के रूप में आउटपुट (ट्रांसक्रिप्ट, लेटेंसी, ऑडियो पथ)
--verboseविस्तृत समय जानकारी दिखाएँ

सैंपलिंग ओवरराइड्स

विकल्पडिफ़ॉल्टविवरण
--audio-temp0.8ऑडियो सैंपलिंग तापमान
--text-temp0.7टेक्स्ट सैंपलिंग तापमान
--audio-top-k250ऑडियो top-k उम्मीदवार
--repetition-penalty1.2ऑडियो पुनरावृत्ति दंड (1.0 = अक्षम)
--text-repetition-penalty1.2टेक्स्ट पुनरावृत्ति दंड (1.0 = अक्षम)
--repetition-window30फ़्रेमों में पुनरावृत्ति दंड विंडो
--silence-early-stop15जल्दी रुकने से पहले मौन फ़्रेम (0 = अक्षम)
--entropy-threshold0जल्दी रुकने के लिए टेक्स्ट एंट्रॉपी थ्रेशोल्ड (0 = अक्षम)
--entropy-window10जल्दी रुकने से पहले लगातार लो-एंट्रॉपी स्टेप्स

उदाहरण:

# बेसिक स्पीच-टू-स्पीच
speech respond --input question.wav

# संकलित ट्रांसफ़ॉर्मर के साथ महिला आवाज़ का उपयोग करें
speech respond -i question.wav --voice NATF1 --compile

# रिस्पॉन्स स्ट्रीम करें और ट्रांसक्रिप्ट दिखाएँ
speech respond -i question.wav --stream --transcript --verbose

voice-chat

NVIDIA Nemotron VoiceChat 11B पर आधारित Soniqo के साथ लाइव full-duplex बातचीत। डिफ़ॉल्ट protected-head INT5 bundle पहली बार उपयोग पर download होता है; microphone mode Apple AEC, streaming RNN-T captions, स्पष्ट realtime metrics, adaptive 8→2→1-step voice refinement और लंबे silent catch-up के बजाय bounded input resync देता है।

speech voice-chat [options]
विकल्पडिफ़ॉल्टविवरण
--model, -maufklarer/VoiceChat-11B-Perception-MLX-int5Hugging Face model ID या पूरा local bundle।
--revisionmainHub revision।
--system-promptSystem prompt बदलें।
--mcp-configMCP tool servers के लिए सामान्य JSON configuration।
--mcp-serverसभी configuredएक server चुनें; दोहराया जा सकता है।
--mcp-write-policyallowWrite policy: तुरंत allow, मॉडल-आधारित confirm, या deny
--mcp-timeout-seconds15MCP tool-call timeout; server startup को कम-से-कम 60 सेकंड मिलते हैं।
--greetModel को पहले greet करने दें।
--no-aecApple acoustic echo cancellation बंद करें।
--no-transcriptLive RNN-T user captions बंद करें।
--no-rnnt-turn-takingNVIDIA RNN-T turn-taking safety fallbacks बंद करें।
--prebuffer-frames3Playback से पहले buffer किए जाने वाले 80 ms output frames।
--max-buffered-frames8पुराना audio हटाने से पहले अधिकतम queued 80 ms microphone frames।
--max-secondsइतने seconds बाद live capture रोकें।
--inputMicrophone के बजाय audio file पढ़ें।
--output, -oFull-context 22.05 kHz WAV लिखें।
--tail-seconds6File input के बाद जोड़ी गई silence।
--force-turn-at-endFile EOF पर BOS force करें; केवल regression।
--plainस्थिर redraw dashboard के बजाय append-only output का उपयोग करें।
--debug-timelineवाक्यों और generated pronunciation के अंत के relative timestamp तथा model-decoded tool-call lifecycle event दिखाएँ।
--terminal-width120Terminal display width।
--temperature0Text temperature; 0 greedy है।
--text-top-p1Text top-p।
--guidance0.2EAR-TTS guidance strength।
--speech-top-p0.95EAR-TTS top-p।
--speech-noise0.001EAR-TTS sampling noise।
--speech-iterations8प्रति frame EAR-TTS MaskGIT iterations।
--realtime-speech-iterations2Realtime speed बचाने के लिए अस्थायी voice-refinement iterations।
--live-speech-context-seconds20Live mode में रखा गया हाल का EAR-TTS इतिहास; 0 पूरा इतिहास रखता है।

उदाहरण:

speech voice-chat

speech voice-chat --model /path/to/complete-bundle --prebuffer-frames 3

speech voice-chat --input question.wav --output response.wav

speech voice-chat --mcp-config Examples/VoiceChatMCP/apple-reminders.json

File mode audio hardware के बिना reproducible path है। --force-turn-at-end केवल controlled regression tests के लिए है और इसे natural turn-taking latency के रूप में report नहीं करना चाहिए।

Apple Reminders demo केवल list_reminders, create_reminder और update_reminder दिखाता है; सूची खोज अडैप्टर के भीतर रहती है। एक समतल read सभी सूचियों को कवर करता है और update बोले गए नाम को रनटाइम में निजी ID से जोड़ता है। डैशबोर्ड function decoding का समय, token steps और token/s ऑडियो RTF से अलग दिखाता है।

vad

Pyannote सेगमेंटेशन का उपयोग करके ऑफ़लाइन वॉयस एक्टिविटी डिटेक्शन।

speech vad <file> [options]
विकल्पविवरण
<file>विश्लेषण करने के लिए ऑडियो फ़ाइल
--model, -mHuggingFace मॉडल ID
--onsetOnset थ्रेशोल्ड (स्पीच प्रारंभ)
--offsetOffset थ्रेशोल्ड (स्पीच समाप्ति)
--min-speechन्यूनतम स्पीच अवधि सेकंड में
--min-silenceन्यूनतम मौन अवधि सेकंड में
--jsonJSON के रूप में आउटपुट

vad-stream

Silero VAD v5 का उपयोग करके स्ट्रीमिंग वॉयस एक्टिविटी डिटेक्शन। ऑडियो को 32ms चंक्स में प्रोसेस करता है।

speech vad-stream <file> [options]
विकल्पविवरण
<file>विश्लेषण करने के लिए ऑडियो फ़ाइल
--engineVAD इंजन: mlx (डिफ़ॉल्ट) या coreml
--model, -mHuggingFace मॉडल ID (इंजन द्वारा स्वतः चयनित)
--onsetOnset थ्रेशोल्ड
--offsetOffset थ्रेशोल्ड
--min-speechन्यूनतम स्पीच अवधि सेकंड में
--min-silenceन्यूनतम मौन अवधि सेकंड में
--jsonJSON के रूप में आउटपुट

wake

KWS Zipformer का उपयोग करके ऑन-डिवाइस कीवर्ड स्पॉटिंग (3.49M पैरामीटर, CoreML INT8, 26× रियल-टाइम, केवल अंग्रेज़ी)।

speech wake <file> [options]
विकल्पविवरण
<file>विश्लेषण करने के लिए ऑडियो फ़ाइल
--keywordsएक या अधिक कीवर्ड। प्रारूप: "hey soniqo", "hey soniqo:0.15:0.5" या "LIGHT UP|▁ L IGHT ▁UP:0.25:2.0" (स्पष्ट BPE टुकड़ों के साथ sherpa-onnx शैली)
--keywords-fileकीवर्ड फ़ाइल, प्रति पंक्ति एक प्रविष्टि
--model, -mHuggingFace मॉडल ID। डिफ़ॉल्ट: aufklarer/KWS-Zipformer-3M-CoreML-INT8
--jsonJSON के रूप में आउटपुट

diarize

स्पीकर डायराइज़ेशन — पहचानें कि कौन कब बोला।

speech diarize <file> [options]
विकल्पडिफ़ॉल्टविवरण
<file>विश्लेषण करने के लिए ऑडियो फ़ाइल
--enginepyannoteडायराइज़ेशन इंजन: pyannote, community1 (CoreML + native PLDA/VBx), या sortformer
--community1-compute-unitsaneCommunity-1 CoreML compute units: ane, cpu, gpu, या all
--num-speakersCommunity-1 के लिए ज्ञात सटीक speaker count
--min-speakers1Community-1 के लिए न्यूनतम speaker count
--max-speakersCommunity-1 के लिए अधिकतम speaker count
--target-speakerलक्ष्य स्पीकर निष्कर्षण के लिए एनरोलमेंट ऑडियो (केवल pyannote)
--embedding-enginemlxस्पीकर एम्बेडिंग इंजन: mlx या coreml (केवल pyannote)
--vad-filterSilero VAD के साथ प्री-फ़िल्टर (केवल pyannote)
--rttmRTTM फ़ॉर्मेट में आउटपुट
--jsonJSON के रूप में आउटपुट
--score-againstDER गणना के लिए संदर्भ RTTM फ़ाइल

उदाहरण:

# बेसिक डायराइज़ेशन (pyannote, डिफ़ॉल्ट)
speech diarize meeting.wav

# एंड-टू-एंड Sortformer (CoreML, Neural Engine)
speech diarize meeting.wav --engine sortformer

# मूल्यांकन के लिए RTTM आउटपुट
speech diarize meeting.wav --rttm

# लक्ष्य स्पीकर निष्कर्षण (केवल pyannote)
speech diarize meeting.wav --target-speaker enrollment.wav

# संदर्भ के विरुद्ध स्कोर
speech diarize meeting.wav --score-against reference.rttm

embed-speaker

ऑडियो से एक स्पीकर एम्बेडिंग वेक्टर निकालें।

speech embed-speaker <file> [options]
विकल्पविवरण
<file>स्पीकर वॉयस युक्त ऑडियो फ़ाइल
--engineWeSpeaker 256-dim के लिए mlx (डिफ़ॉल्ट) या coreml; persistent identity CoreML 192-dim के लिए redimnet2; CAM++ CoreML 192-dim के लिए camplusplus
--jsonJSON के रूप में आउटपुट

language-id

ऑडियो फ़ाइल में बोली गई भाषा पहचानें।

speech language-id <file> [options]
विकल्पविवरण
<file>वर्गीकृत की जाने वाली ऑडियो फ़ाइल
--engineइन्फ़रेंस इंजन: mlx या coreml
--modelHugging Face मॉडल ID बदलें
--topदिखाए जाने वाले भाषा उम्मीदवारों की संख्या
--jsonपरिणाम JSON में दें
speech language-id recording.wav --top 5
speech language-id recording.wav --engine coreml --json

denoise

Neural Engine पर DeepFilterNet3 का उपयोग करके बैकग्राउंड नॉइज़ हटाएँ।

speech denoise <file> [options]
विकल्पडिफ़ॉल्टविवरण
<file>इनपुट ऑडियो फ़ाइल
--output, -oinput_clean.wavआउटपुट फ़ाइल पथ
--model, -mHuggingFace मॉडल ID

उदाहरण:

speech denoise noisy-recording.wav -o clean.wav

compose

Generate 30 s of music from a text prompt using MAGNeT on MLX.

speech compose <prompt> [options]
OptionDefaultDescription
<prompt>Text prompt describing the music to generate (e.g. "happy rock")
--output, -omagnet.wavOutput WAV path (32 kHz mono)
--variantsmall-int4Model variant: small-int4, small-int8, medium-int4, or medium-int8. Resolves to aufklarer/MAGNeT-{Small,Medium}-30secs-MLX-{4,8}bit.
--temperature3.0Sampling temperature, annealed linearly per stage.
--top-p0.9Nucleus sampling threshold.
--cfg-max10.0Max classifier-free guidance coefficient.
--cfg-min1.0Min CFG coefficient (annealed alongside the mask schedule).
--steps20,10,10,10Comma-separated decoding iterations per codebook (4 values).
--seedRandom seed for reproducible output.

Examples:

# Default: small-int4, ~10 s wall on M-series for a 30 s clip
speech compose "happy rock" -o happy_rock.wav

# Larger model — better prompt following, slower
speech compose "lo-fi hip hop with mellow piano" --variant medium-int4 -o lofi.wav

# Reproducible
speech compose "energetic EDM with synth lead" --seed 42 -o edm.wav

transcribe-batch

ऑडियो फ़ाइलों की पूरी डायरेक्टरी ट्रांसक्राइब करें; मॉडल केवल एक बार लोड होता है।

speech transcribe-batch <input-dir> [options]
विकल्पडिफ़ॉल्टविवरण
<input-dir>ट्रांसक्राइब करने हेतु ऑडियो फ़ाइलों की डायरेक्टरी (WAV, FLAC आदि)
--output-dirट्रांसक्रिप्ट की आउटपुट डायरेक्टरी
--engineqwen3ASR इंजन (transcribe जैसे ही मान)
--jsonlपरिणाम JSON lines में, प्रति फ़ाइल एक पंक्ति

restore

Sidon से वाक् पुनर्स्थापन (शोर + प्रतिध्वनि हटाना) — CoreML, 48 kHz आउटपुट।

speech restore <audio-file> [options]
विकल्पडिफ़ॉल्टविवरण
--output, -oinput_restored.wavआउटपुट WAV फ़ाइल पथ (48 kHz)
--variantfp16परिशुद्धता / बंडल वेरिएंट

separate

संगीत को स्टेम में अलग करें (vocals, drums, bass, other)।

speech separate <input> [options]
विकल्पडिफ़ॉल्टविवरण
--stemsvocals,drums,bass,otherनिकालने हेतु स्टेम: vocals, drums, bass, other
--engineumxइंजन: umx (डिफ़ॉल्ट) या htdemucs (बेहतर गुणवत्ता)
--output-dirट्रांसक्रिप्ट की आउटपुट डायरेक्टरी

upsample

FlashSR से ऑडियो सुपर-रेज़ोल्यूशन — एक-चरण डिस्टिल्ड AudioSR, 48 kHz आउटपुट।

speech upsample <audio-file> [options]
विकल्पडिफ़ॉल्टविवरण
--output, -ohr.wavआउटपुट WAV फ़ाइल पथ (48 kHz)
--variantint4परिशुद्धता / बंडल वेरिएंट
--seedनियतात्मक आउटपुट हेतु सीड

qwen3-tts-coreml

CoreML पर Qwen3-TTS से टेक्स्ट-टू-स्पीच (Neural Engine)।

speech qwen3-tts-coreml "<text>" [options]
विकल्पडिफ़ॉल्टविवरण
--output, -ooutput.wavआउटपुट WAV फ़ाइल पथ
--languageenglishआउटपुट भाषा
--modelHugging Face मॉडल ID

vibevoice

Microsoft VibeVoice से टेक्स्ट-टू-स्पीच (MLX)।

speech vibevoice "<text>" --voice-cache <cache> [options]
विकल्पडिफ़ॉल्टविवरण
--voice-cache, -vvibevoice-encode-voice से बना वॉइस कैश (अनिवार्य)
--stepsDPM-Solver अनुमान चरण (अधिक चरण, बेहतर गुणवत्ता)
--cfg1.3क्लासिफ़ायर-मुक्त गाइडेंस तीव्रता
--long-formलंबे पाठ हेतु खंडों में लॉन्ग-फ़ॉर्म संश्लेषण

vibevoice-encode-voice

संदर्भ रिकॉर्डिंग और ट्रांसक्रिप्ट से VibeVoice वॉइस कैश बनाएं।

speech vibevoice-encode-voice <input> "<transcript>" [options]
विकल्पडिफ़ॉल्टविवरण
<input>संदर्भ ऑडियो फ़ाइल
<transcript>संदर्भ ऑडियो की ट्रांसक्रिप्ट (केवल अंग्रेज़ी)
--output, -oआउटपुट वॉइस कैश (.safetensors)

translate

MADLAD-400 से पाठ का लक्ष्य भाषा में अनुवाद (MLX)।

speech translate "<text>" --to <lang> [options]
विकल्पडिफ़ॉल्टविवरण
--to, -tलक्ष्य भाषा कोड (ISO 639-1, जैसे es, zh, ja)
--streamडिकोड होते समय टोकन स्ट्रीम करें
--modelHugging Face मॉडल ID

avatar-motion

वाक् ऑडियो से NVIDIA Audio2Face-3D अवतार-मोशन गुणांक फ़्रेम बनाएँ।

speech avatar-motion <input> [options]
विकल्पडिफ़ॉल्टविवरण
--output, -oavatar-motion.jsonlआउटपुट JSONL फ़ाइल पथ
--model…James-MLXअवतार पहचान बंडल (डिफ़ॉल्ट James; Claire और Mark उपलब्ध)
--verboseसमय और फ़्रेम संख्या दिखाएँ