Skip to content

添加本地TTS服务,由Kokoro模型实现 #385

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

devinzhang91
Copy link

@openrz
Copy link
Collaborator

openrz commented Apr 5, 2025

效果似乎不是很好

@lvturner
Copy link

lvturner commented Apr 6, 2025

Just a tip - hopefully it helps someone, you can use Kokoro-FastAPI

Then in .config.yaml set up as follows

 KokoroTTS:
    type: openai
    api_key: Probably_not_needed
    api_url: http://host.containers.internal:8880/v1/audio/speech
    model: tts-1
    lang_code: "a"
    voice: af_jessica+zf_xiaoxiao
    speed: 1
    output_dir: tmp/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants