tiktok-voice

tiktok-voice creates MP3 speech through a Python script that uses TikTok's text-to-speech API.

github.com/oscie57/tiktok-voice
tiktok-voice homepage screenshot

About tiktok-voice

tiktok-voice is a Python script hosted on GitHub that interacts with the TikTok text-to-speech API. It takes text you provide and returns an MP3 file spoken in a specified TikTok voice. Documentation is in the repository wiki and readme, with voice samples in the /samples/ folder.

You can generate speech from a plaintext file or from text passed as a command-line argument. You select a voice with the -v option and provide a TikTok session ID. The script can save the result as an MP3 file or play it directly with the -p option and then delete it. Supported languages include English variants, German, French, Spanish, Portuguese (Brazil), Indonesian, Japanese, and Korean.

It suits people who can install Python 3.8+ and required packages and run commands in a terminal. The creator asks users to credit the repository and not to use it for content-farm projects such as Reddit story readers or short-form video generators.

Key features

  • Generates MP3 files from text using TikTok voices
  • Reads input from text file or command argument
  • Supports voices in 12 listed languages and variants
  • Plays audio directly then deletes with -p option
  • Includes sample audio files in samples folder
Best for: People comfortable running Python commands who want TikTok voices as MP3 files.
Good for
  • Command-line workflow for file or direct text input
  • Multiple voice options across listed languages
  • Sample files available to preview voices
Watch out for
  • Requires Python 3.8+, packages, and session ID
  • 200-character limit when using text argument
  • File input supports only Latin characters

tiktok-voice at a glance

Type
Open-source project
Pricing
Not confirmed. Check the site
Open source
Not stated
Language
English
Last checked
Oct 5, 2026 · Online when checked
Listed
Oct 5, 2026

tiktok-voice alternatives

Tools and sites you could use instead, ranked by how closely they match.

All 24 alternatives

Popular in TikTok Tools

Well-known listings from the same topic.

All 68

tiktok-voice FAQ

What do I need to use tiktok-voice?
You need Python 3.8+, the required packages, a voice code, and a TikTok session ID.
How do I create speech from a file?
Put text in a plaintext file, then run main.py with -v VOICE -f FILENAME.txt and --session SESSION_ID.
What are the text limits?
File input has no character limit but supports only Latin characters. Argument input has a 200-character limit and supports non-Latin characters where the voice supports it.
Can I use it for content-farm videos?
No. The creator asks not to use it for Reddit story readers or TikTok, Reels, or Shorts generators.
Is something wrong or out of date?

Tell us and an editor will check it.

Own this website?

Claim the listing and suggest updates yourself. An editor checks every claim first.

Claim this listing