{"data":{"slug":"2noise-chattts","name":"ChatTTS","tagline":"A generative speech model for daily dialogue","github_url":"https://github.com/2noise/ChatTTS","owner":"2noise","repo":"ChatTTS","owner_avatar_url":"https://avatars.githubusercontent.com/u/164844019?v=4","primary_language":"Python","stars":39768,"forks":4257,"topics":["agent","chat","chatgpt","chattts","chinese","chinese-language","english","english-language","gpt","llm","llm-agent","natural-language-inference","python","text-to-speech","torch","torchaudio","tts"],"archived":false,"github_pushed_at":"2026-04-10T16:33:48+00:00","maintenance_label":"Slowing","stars_delta_30d":140,"url":"https://www.graphcanon.com/tools/2noise-chattts","markdown_url":"https://www.graphcanon.com/tools/2noise-chattts.md","api_url":"https://www.graphcanon.com/api/graphcanon/tools/2noise-chattts","graph_url":"https://www.graphcanon.com/api/graphcanon/graph?tool=2noise-chattts","description":"A generative speech model for daily dialogue.","homepage_url":"https://2noise.com","license":"AGPL-3.0","open_issues":60,"watchers":203,"ai_summary":"2noise/ChatTTS is a Python-based repository focusing on generating speech for everyday conversation. It supports both Chinese and English languages.","readme_excerpt":"### Install requirements\n#### 1. Install Directly\n```bash\npip install --upgrade -r requirements.txt\n```\n\n#### 2. Install from conda\n```bash\nconda create -n chattts python=3.11\nconda activate chattts\npip install -r requirements.txt\n```\n\n#### Optional: Install vLLM (Linux only)\n```bash\npip install safetensors vllm==0.2.7 torchaudio\n```\n\n#### Unrecommended Optional: Install TransformerEngine if using NVIDIA GPU (Linux only)\n> [!Warning]\n> DO NOT INSTALL! \n> The adaptation of TransformerEngine is currently under development and CANNOT run properly now. \n> Only install it on developing purpose. See more details on at #672 #676\n\n> [!Note]\n> The installation process is very slow.\n\n```bash\npip install git+https://github.com/NVIDIA/TransformerEngine.git@stable\n```\n\n#### Unrecommended Optional: Install FlashAttention-2 (mainly NVIDIA GPU)\n> [!Warning]\n> DO NOT INSTALL! \n> Currently the FlashAttention-2 will slow down the generating speed according to [this issue](https://github.com/huggingface/transformers/issues/26990). \n> Only install it on developing purpose.\n\n> [!Note]\n> See supported devices at the [Hugging Face Doc](https://huggingface.co/docs/transformers/perf_infer_gpu_one#flashattention-2).\n\n\n```bash\npip install flash-attn --no-build-isolation\n```\n\n---\n\n### Quick Start\n> Make sure you are under the project root directory when you execute these commands below.\n\n#### 1. Launch WebUI\n```bash\npython examples/web/webui.py\n```\n\n#### 2. Infer by Command Line\n> It will save audio to `./output_audio_n.mp3`\n\n```bash\npython examples/cmd/run.py \"Your text 1.\" \"Your text 2.\"\n```\n\n---\n\n## Installation\n\n1. Install the stable version from PyPI\n```bash\npip install ChatTTS\n```\n\n2. Install the latest version from GitHub\n```bash\npip install git+https://github.com/2noise/ChatTTS\n```\n\n3. Install from local directory in dev mode\n```bash\npip install -e .\n```","github_created_at":"2024-05-27T18:26:49+00:00","created_at":"2026-07-07T17:31:31.416643+00:00","updated_at":"2026-08-16T12:01:44.017444+00:00","categories":[{"slug":"ai-agents","name":"AI Agents","url":"https://www.graphcanon.com/categories/ai-agents","markdown_url":"https://www.graphcanon.com/categories/ai-agents.md","api_url":"https://www.graphcanon.com/api/graphcanon/categories/ai-agents"},{"slug":"speech-audio","name":"Speech & Audio","url":"https://www.graphcanon.com/categories/speech-audio","markdown_url":"https://www.graphcanon.com/categories/speech-audio.md","api_url":"https://www.graphcanon.com/api/graphcanon/categories/speech-audio"}],"tags":[{"slug":"agent","name":"agent"},{"slug":"chatgpt","name":"chatgpt"},{"slug":"chattts","name":"chattts"},{"slug":"chinese-language","name":"chinese language"},{"slug":"english-language","name":"english-language"},{"slug":"llm-agent","name":"llm-agent"},{"slug":"natural-language-inference","name":"natural-language-inference"},{"slug":"torch","name":"torch"}],"trust":{"provenance":{"is_fork":false,"github_id":806709826,"owner_type":"Organization","methodology":"github_public_v1","parent_repo":null,"near_duplicate_slugs":[]},"computed_at":"2026-08-16T12:01:43.230Z","maintenance":{"label":"Slowing","score":36,"methodology":"github_public_v1","releases_90d":0,"days_since_push":127,"last_release_at":"2026-04-10T16:33:49Z","stars_delta_30d":140,"open_issues_delta_30d":-1},"security_summary":{"status":"no_lockfile","scanner":null,"low_count":0,"high_count":0,"last_scan_at":"2026-07-11T10:57:29.168Z","medium_count":0,"scan_profile":"none","critical_count":0}},"capability_facts":{"scan":{"source":"repo_scan","observed_at":"2026-08-16T12:01:43.678Z"},"languages":{"value":["python"],"source":"github.language","observed_at":"2026-08-16T12:01:43.678Z"},"license_spdx":{"value":"AGPL-3.0","source":"github.license","observed_at":"2026-08-16T12:01:43.678Z"}},"decision_facts":{"hosting":{"model":"unknown","summary":""},"pricing":null,"requirements":{"notes":["Python-based implementation means that familiarity with Python is necessary for effective use."],"requires_docker":false},"constraints":{"hosting_model":"unknown","requires_docker":false},"when_to_use":["Use ChatTTS when you require text-to-speech functionality for daily dialogue applications, especially those involving Chinese or English languages.","Leverage ChatTTS if your project involves creating conversational AI agents that need natural speech output."],"when_not_to_use":["Avoid using ChatTTS in environments where the speech generation model is expected to handle complex technical jargon or specialized vocabulary, as it's optimized for daily conversation.","Do not use ChatTTS if your project requires the integration of more than two languages simultaneously due to its current support for only Chinese and English."],"source":"enrich:decision_facts","observed_at":"2026-07-11T12:38:48.849Z"},"constraint_facets":{"hosting_model":"unknown","requires_docker":false},"decision_summary":[{"label":"Hosting","value":"unknown"},{"label":"Requirements","value":"Python-based implementation means that familiarity with Python is necessary for effective use."},{"label":"Adopt for","value":"ChatTTS is a Python-based repository for generating speech tailored to everyday conversations in both Chinese and English."},{"label":"License detail","value":"Licensed under AGPL-3.0, which allows for free use, distribution, and modification as long as these rights are maintained in derivative works."}]}}