
I Tried Creating Natural-Sounding Japanese Speech with ElevenLabs Using Both the Web Interface and the API
This page has been translated by machine translation. View original
Introduction
I tried turning Japanese text into speech with ElevenLabs, a speech synthesis service. In the web interface, I could create natural-sounding Japanese speech just by choosing a model and a voice and pasting in the text. With the API, I could also create speech with only 12 lines of Python code.
What is ElevenLabs?
ElevenLabs is a voice AI service that provides text-to-speech, speech transcription, voice agents, and more. In addition to being usable from the web interface, it also offers an API and SDKs.
Test Environment
| Item | Value |
|---|---|
| Plan | Starter |
| Model | Eleven v4 (eleven_v4) |
| Python | 3.13.13 |
| elevenlabs (Python SDK) | 2.80.0 |
| Test date | 2026-12-02 |
References
Background
DevelopersIO already has articles about ElevenLabs.
The former is an article about using ElevenLabs from Claude Code's Skills, and the latter is an article about Audio Native, which embeds a read-aloud feature into a web page.
This article is positioned as an introductory article for people using ElevenLabs for the first time, covering how to create your first audio. I will try both the web interface and the API.
The text used for the reading is as follows.
こんにちは。この音声は、ElevenLabsの音声合成モデル「Eleven v4」で作りました。原稿は、Webブラウザの画面に文章を貼り付けただけです。たとえば、2026年12月2日の午後3時から、東京・大阪・福岡の3拠点をつないでオンライン勉強会を開く、といったお知らせも、このように読み上げられます。読み方や間の取り方の自然さを、ぜひ耳で確かめてみてください。
Creating Audio in the Web Interface
Opening the Speech Synthesis Screen
Log in to ElevenLabs and open Text to Speech from the menu. A text input field and fields for choosing the model and voice are lined up.

Choosing a Model
Select Eleven v4 in the model selection field.

Choosing a Voice
Open the voice selection field and filter by language: Japanese. When you select Japanese, you can further filter by region, such as Kanto or Kansai.

This time I filtered by Kanto, listened to samples, and chose Ishibashi - Inviting, Natural and Smoky. To use the same voice from the API, I added it to My Voices.
Entering Text and Generating
Paste the text into the input field and generate the audio. I left the voice settings at their default values.

The generated audio can be downloaded from the screen.

Generated Audio
I was able to get audio like the following. You can tell that very natural Japanese speech was generated.
Creating Audio with the API
Creating an API Key
Create an API key in the API key management screen.
I restricted the scope to only Text to Speech. This is so that, if the key leaks, operations other than text-to-speech cannot be performed with it.

Set the API key you created in the environment variable ELEVENLABS_API_KEY before running. The Python SDK reads the API key from this environment variable.
Installing the SDK
Install the Python SDK.
python -m venv .venv
source .venv/bin/activate
pip install elevenlabs
Writing and Running the Code
For voice_id, enter the value you copied by choosing Copy voice ID from the Ishibashi menu in My Voices.

from elevenlabs import save
from elevenlabs.client import ElevenLabs
client = ElevenLabs()
audio = client.text_to_speech.convert(
voice_id="<ここにコピーした声のIDを入れる>",
text="こんにちは。この音声は、ElevenLabsの音声合成モデル「Eleven v4」で作りました。原稿は、Webブラウザの画面に文章を貼り付けただけです。たとえば、2026年12月2日の午後3時から、東京・大阪・福岡の3拠点をつないでオンライン勉強会を開く、といったお知らせも、このように読み上げられます。読み方や間の取り方の自然さを、ぜひ耳で確かめてみてください。",
model_id="eleven_v4",
output_format="mp3_44100_128",
)
save(audio, "output.mp3")
When you run it, output.mp3 is created in the same directory.
python tts.py
ffprobe -v error -show_entries format=duration:stream=sample_rate,channels -of default=nw=1 output.mp3
sample_rate=44100
channels=1
duration=29.440000
About 29 seconds of audio was created. The two files I downloaded from the web interface were in the same format, with lengths of 27.9 seconds and 28.8 seconds. Even with the same voice and text, the lengths of the three files differed by up to 1.6 seconds.
Conclusion
I feel we have entered an era in which high-quality audio can be obtained very easily. As synthesized speech of this level becomes commonplace, I'm excited to expect that speech synthesis products will continue to develop further.
I hope this article is helpful for those who are starting to use ElevenLabs.