Repolode
hexgrad

hexgrad/kokoro

Python inference library for Kokoro-82M, an open-weight text-to-speech model with 82 million parameters.

스타
9,474
포크
1,054
열린 이슈
214
마지막 커밋
작년

어떤 프로젝트인가요?

kokoro is an inference library for Kokoro-82M, a lightweight open-weight text-to-speech model. It can be installed from PyPI with pip and exposes a KPipeline class that turns text into audio, yielding graphemes, phonemes and audio chunks for each segment of input.

The library covers several languages through language codes, including American and British English, Spanish, French, Hindi, Italian, Brazilian Portuguese, and, with optional extras, Japanese and Mandarin Chinese. Voices are selected by name, such as af_heart, or can be loaded directly from a voice tensor file. English out-of-vocabulary fallback and some other languages rely on espeak-ng, which the setup instructions cover for Linux, macOS and Windows.

On Apple Silicon Macs, setting PYTORCH_ENABLE_MPS_FALLBACK=1 enables GPU acceleration. The project also provides a conda environment file for resolving dependency issues.

핵심 기능

  • 01Installable from PyPI with pip and driven by a KPipeline class
  • 02Outputs graphemes, phonemes and audio for each text segment
  • 03Supports multiple English, European and Asian languages via language codes
  • 04Lets you choose named voices or load a voice tensor directly
  • 05Uses espeak-ng for English fallback and some languages
  • 06Enables Apple Silicon GPU acceleration through PyTorch MPS

활용 사례

  • Adding speech output to Python applications or notebooks
  • Generating narration or voiceovers from long text split into segments
  • Running a lightweight TTS model on personal hardware or in production services

토픽

자주 묻는 질문

kokoro은(는) 무엇인가요?
Python inference library for Kokoro-82M, an open-weight text-to-speech model with 82 million parameters. kokoro is an inference library for Kokoro-82M, a lightweight open-weight text-to-speech model. It can be installed from PyPI with pip and exposes a KPipeline class that turns text into audio, yielding graphemes, phonemes and audio chunks for each segment of input.
kokoro은(는) 무료로 사용할 수 있나요? 라이선스는 무엇인가요?
kokoro은(는) Apache-2.0 라이선스의 오픈소스입니다. 상업용 제품에 사용하기 전에 라이선스 조건을 확인하세요.
kokoro은(는) 아직 유지보수되고 있나요?
6개월 이상 커밋 없음. kokoro의 마지막 커밋은 2025년 8월 6일입니다.
kokoro은(는) 어디에 사용할 수 있나요?
Adding speech output to Python applications or notebooks Generating narration or voiceovers from long text split into segments Running a lightweight TTS model on personal hardware or in production services
kokoro은(는) 어디서 받을 수 있나요?
소스 코드와 설치 방법은 GitHub에 있습니다: https://github.com/hexgrad/kokoro

요약은 프로젝트 README를 바탕으로 AI가 작성했습니다. GitHub 통계는 매일 갱신됩니다.

관련 프로젝트