{"id":23088,"library":"f5-tts","title":"F5-TTS: Flow Matching Text-to-Speech","description":"F5-TTS is a text-to-speech library using flow matching, designed for faithful and fluent speech synthesis. Current version: 1.1.20. Active development with frequent releases.","status":"active","version":"1.1.20","language":"python","source_language":"en","source_url":"https://github.com/SWivid/F5-TTS","tags":["text-to-speech","flow-matching","audio","deep-learning","pytorch"],"install":[{"cmd":"pip install f5-tts","lang":"bash","label":"PyPI install"},{"cmd":"pip install f5-tts[infer]","lang":"bash","label":"Install with inference dependencies"}],"dependencies":[{"reason":"Core requirement for model execution","package":"torch","optional":false},{"reason":"Inference UI, version <6.11 recommended","package":"gradio","optional":true},{"reason":"Vocoder for waveform generation","package":"vocos","optional":true}],"imports":[{"wrong":"from f5_tts import F5TTS","symbol":"F5TTS","correct":"from f5_tts import F5TTS"}],"quickstart":{"code":"from f5_tts import F5TTS\n\ntts = F5TTS()\n\n# Generate speech from text\nwaveform, sample_rate = tts.infer(text=\"Hello, world!\", ref_audio=\"path/to/ref.wav\", ref_text=\"Reference text\")\n\n# Save to file\nimport soundfile as sf\nsf.write(\"output.wav\", waveform, sample_rate)","lang":"python","description":"Quick start for basic inference with a reference audio clip."},"warnings":[{"fix":"pip install 'gradio<6.11'","message":"Gradio version conflict: Gradio >=6.11 causes UI freeze. Pin to <6.11 or use version from requirements.","severity":"gotcha","affected_versions":">=1.1.20"},{"fix":"from f5_tts import F5TTS","message":"Direct import of model classes (e.g., `from f5_tts.model import F5TTS`) may break in future releases. Use top-level `from f5_tts import F5TTS`.","severity":"deprecated","affected_versions":">=1.1.0"},{"fix":"Always provide matching reference text for best results.","message":"Inference requires both reference audio and reference text. Omitting ref_text may yield poor quality.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"search_vec":"'1.1.20':32 'activ':33 'audio':45 'current':30 'deep':47 'deep-learn':46 'design':23 'develop':34 'f5':2,11 'f5-tts':1,10 'faith':25 'flow':4,21,43 'flow-match':42 'fluent':27 'frequent':36 'learn':48 'librari':19 'match':5,22,44 'pytorch':49 'releas':37 'speech':9,18,28,41 'synthesi':29 'text':7,16,39 'text-to-speech':6,15,38 'tts':3,12 'use':20 'version':31","created_at":"2026-05-01T06:02:21.229007+00:00","updated_at":"2026-05-01T06:02:21.229007+00:00","problems":{"verify_error":"Traceback (most recent call last):\n  File \"<string>\", line 1, in <module>\nImportError: cannot import name 'F5TTS' from 'f5_tts' (unknown location)"},"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":"1.1.20","cli_name":"","cli_version":null,"type":"library","homepage":null,"github":"https://github.com/SWivid/F5-TTS","docs":null,"changelog":null,"pypi":"https://pypi.org/project/f5-tts/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["ai-ml","llm-agents"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"import_fail","verified_at":"2026-07-03","last_verified":"2026-07-03","next_check":"2026-07-10","install_tag":null}}