テキスト読み上げ
1回のAPI呼び出し
シンプル化
テキスト読み上げAPIで音声アプリ、オーディオブック、アクセシブルなコンテンツを作成。開発者とビジネス向けに142言語で600以上の自然な音声。
API料金
シンプルで透明な料金
業界最高のコストパフォーマンス
わかりやすい料金設定で業界最高の価値を提供。あらゆる規模のビジネスに最適なAPIは、1文字あたりわずか$0.000025でプレミアムなテキスト読み上げ変換を提供。予算を気にせず音声コンテンツを拡大できます。
- 50,000 Characters per $1
- High-Quality TTS Voices
- Fast TTS Speed
- Commercial Rights
- Simple API Integration
- 600 Voices 142 Languages
開発者向け
開発者がVerbatikのTTS APIを選ぶ理由
優れたAI音声API
高度な音声AI技術を搭載した600以上の自然な音声にアクセス
超高速処理
最適化されたテキストから音声APIで数秒で数百万文字を変換
142の言語と方言
包括的なテキストからオーディオAPIでグローバルな視聴者にリーチ
シンプルな統合
明確なドキュメントでわずか数行のコードで音声AI APIを実装
エンタープライズスケーラビリティ
テキスト読み上げAI APIは小規模プロジェクトからエンタープライズニーズまで対応
商用利用権
生成されたオーディオを商用製品で使用する完全な権利
APIの始め方
Text-to-Speech API Documentation
Complete guide to integrating TTS API with 568 voices across multiple providers
Quick Navigation
VerbatikText-to-Speech API Overview
High-quality neural text-to-speech with multiple voices
The Verbatik Text-to-Speech API provides high-quality neural voice synthesis Convert text to natural-sounding speech with 568 voices across 142 languages.
Key Features
- 568 neural voices
- 142 supported languages
- SSML support for advanced control
- Multiple provider support
Technical Specs
- MP3 output format
- 24kHz sample rate
- Character-based billing
- S3 storage integration
Voice Library
API Endpoints
/api/v1/ttsSynthesize Speech
Convert text to speech using neural voices. Supports both plain text and SSML input with optional audio storage.
Request Headers
| Header | Required | Description |
|---|---|---|
| Authorization | Yes | Bearer token for authentication |
| Content-Type | Yes | text/plain or application/ssml+xml |
| X-Voice-ID | Optional | Voice to use (default: Matthew) |
| X-Store-Audio | Optional | Store audio in S3 and return URL (true/false) |
Example Request (Plain Text)
curl -X POST "https://api.verbatik.com/api/v1/tts" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: text/plain" \
-H "X-Voice-ID: Sarah" \
-H "X-Store-Audio: true" \
-d "Hello, this is a test of our text-to-speech API."Example Request (SSML)
curl -X POST "https://api.verbatik.com/api/v1/tts" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/ssml+xml" \
-H "X-Voice-ID: Emma" \
-H "X-Store-Audio: true" \
-d '<speak version="1.0">
Hello, <break time="500ms"/> this is a <emphasis level="strong">test</emphasis>
of our text-to-speech API with <prosody rate="slow">SSML support</prosody>.
</speak>'Example Response (Stored Audio)
{
"success": true,
"audio_url": "https://s3.eu-west-2.amazonaws.com/speak.verbatik.com/audio/123/uuid-filename.mp3"
}/api/v1/voicesGet Available Voices
Retrieve the list of all available voices with their details including name, gender, and language.
Example Request
curl -X GET "https://api.verbatik.com/api/v1/voices" \
-H "Authorization: Bearer YOUR_API_TOKEN"Example Response
[
{
"name": "Sarah",
"gender": "Female",
"language_code": "en-US"
},
{
"name": "Matthew",
"gender": "Male",
"language_code": "en-US"
},
{
"name": "Emma",
"gender": "Female",
"language_code": "en-US"
}
]Integration Examples
Ready-to-use code examples for popular programming languages and frameworks.
JavaScript/Node.js Example
async function synthesizeSpeech(text, voice, apiToken, storeAudio = true) {
try {
const response = await fetch('https://api.verbatik.com/api/v1/tts', {
method: 'POST',
headers: {
'Authorization': `Bearer ${apiToken}`,
'Content-Type': 'text/plain',
'X-Voice-ID': voice,
'X-Store-Audio': storeAudio.toString()
},
body: text
});
if (!response.ok) {
throw new Error(`HTTP error! status: ${response.status}`);
}
if (storeAudio) {
const result = await response.json();
console.log('Audio URL:', result.audio_url);
return result;
} else {
// Direct audio stream
const audioBlob = await response.blob();
const audioUrl = URL.createObjectURL(audioBlob);
return { audio_url: audioUrl };
}
} catch (error) {
console.error('TTS synthesis failed:', error);
throw error;
}
}
// Usage example
synthesizeSpeech(
'Hello, this is a test of our text-to-speech API.',
'Sarah',
'YOUR_API_TOKEN'
).then(result => {
console.log('Success:', result);
}).catch(error => {
console.error('Error:', error);
});Python Example
import requests
import json
def synthesize_speech(text, voice="Sarah", api_token="YOUR_API_TOKEN", store_audio=True):
url = "https://api.verbatik.com/api/v1/tts"
headers = {
"Authorization": f"Bearer {api_token}",
"Content-Type": "text/plain",
"X-Voice-ID": voice,
"X-Store-Audio": str(store_audio).lower()
}
try:
response = requests.post(url, headers=headers, data=text)
response.raise_for_status()
if store_audio:
result = response.json()
print(f"Audio URL: {result['audio_url']}")
return result
else:
# Direct audio content
return {"audio_content": response.content}
except requests.exceptions.RequestException as e:
print(f"TTS synthesis failed: {e}")
raise
# Usage example
result = synthesize_speech(
"Hello, this is a test of our text-to-speech API.",
"Sarah",
"YOUR_API_TOKEN"
)
print("Success:", result)PHP Example
<?php
function synthesizeSpeech($text, $voice = 'Sarah', $apiToken = 'YOUR_API_TOKEN', $storeAudio = true) {
$url = 'https://api.verbatik.com/api/v1/tts';
$headers = [
'Authorization: Bearer ' . $apiToken,
'Content-Type: text/plain',
'X-Voice-ID: ' . $voice,
'X-Store-Audio: ' . ($storeAudio ? 'true' : 'false')
];
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, $text);
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
$httpCode = curl_getinfo($ch, CURLINFO_HTTP_CODE);
curl_close($ch);
if ($httpCode !== 200) {
throw new Exception("HTTP error! status: $httpCode");
}
if ($storeAudio) {
$result = json_decode($response, true);
echo "Audio URL: " . $result['audio_url'] . "\n";
return $result;
} else {
return ['audio_content' => $response];
}
}
// Usage example
try {
$result = synthesizeSpeech(
'Hello, this is a test of our text-to-speech API.',
'Sarah',
'YOUR_API_TOKEN'
);
echo "Success: " . json_encode($result) . "\n";
} catch (Exception $e) {
echo "Error: " . $e->getMessage() . "\n";
}
?>cURL Example
# Basic text-to-speech request
curl -X POST "https://api.verbatik.com/api/v1/tts" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: text/plain" \
-H "X-Voice-ID: Sarah" \
-H "X-Store-Audio: true" \
-d "Hello, this is a test of our text-to-speech API."
# SSML request
curl -X POST "https://api.verbatik.com/api/v1/tts" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/ssml+xml" \
-H "X-Voice-ID: Emma" \
-H "X-Store-Audio: true" \
-d '<speak version="1.0">
Hello, <break time="500ms"/> this is a <emphasis level="strong">test</emphasis>
of our text-to-speech API with <prosody rate="slow">SSML support</prosody>.
</speak>'
# Get available voices
curl -X GET "https://api.verbatik.com/api/v1/voices" \
-H "Authorization: Bearer YOUR_API_TOKEN"Available Voices
Browse our collection of 568 neural voices across 142 languages from multiple providers.
Voice Browser
Use the Voice Library to browse, filter, and test all available voices with audio previews.
Troubleshooting & Error Handling
HTTP Error Codes
| Code | Error Type | Description | Solution |
|---|---|---|---|
| 400 | Bad Request | Invalid SSML or request format | Check SSML syntax and headers |
| 401 | Unauthorized | Missing or invalid API token | Verify Authorization header |
| 402 | Payment Required | Insufficient character balance | Top up account or reduce text length |
| 422 | Unprocessable Entity | Validation errors | Check request parameters |
| 429 | Too Many Requests | Rate limit exceeded | Wait before making more requests |
| 500 | Internal Server Error | Service unavailable | Try again later or contact support |
Common Issues & Solutions
"Invalid SSML format"
- Ensure SSML starts with <speak> and ends with </speak>
- Check for properly closed tags
- Validate XML syntax
- Use proper Content-Type header for SSML
"Voice not found"
- Use the /api/v1/voices endpoint to get valid voice names
- Check voice name spelling and case sensitivity
- Ensure the voice supports the target language
- Try with a default voice like "Matthew" or "Sarah"
"Audio quality issues"
- Use neural voices for best quality
- Check text for special characters or formatting
- Use SSML for pronunciation control
- Try different voices for comparison
SSML Quick Reference
Common SSML Tags
Example Usage
<speak version="1.0">
Hello <break time="1s"/>
<emphasis level="strong">world</emphasis>
</speak>Need Help?
Our support team is here to help you integrate the TTS API successfully.
Voice Cloning API Documentation
Advanced AI-powered multilingual voice cloning technology
Quick Navigation
Voice Cloning API Overview
Advanced AI-powered multilingual voice cloning technology
The Voice Cloning API provides state-of-the-art text-to-speech voice cloning capabilities powered by advanced AI technology. Clone any voice using a sample audio file and generate speech in multiple languages with remarkable accuracy and naturalness.
Key Features
- 14 supported languages
- High-quality voice cloning
- Multiple audio formats
- Voice enhancement options
Technical Specs
- Max text: 3,000 characters
- Max audio: 50MB
- 2x character billing rate
- S3 storage integration
API Endpoints
/api/v1/voice-cloningClone Voice
Clone a voice using provided text and speaker audio. Supports both file uploads and URL-based audio inputs.
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| text | string | Yes | Text to synthesize (max 3000 characters) |
| language | string | Yes | Target language code (see supported languages) |
| speaker_audio | file | Yes* | Audio file for voice cloning (max 50MB) |
| speaker_audio_url | string | Yes* | URL to audio file for voice cloning |
| cleanup_voice | boolean | No | Apply denoising to speaker audio (default: true) |
*Either speaker_audio or speaker_audio_url is required.
Example Request (cURL)
curl -X POST "https://api.verbatik.com/api/v1/voice-cloning" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: multipart/form-data" \
-F "text=Hello, this is a test of voice cloning technology." \
-F "language=en" \
-F "speaker_audio=@/path/to/speaker.wav" \
-F "cleanup_voice=true"Example Response
{
"success": true,
"audio_url": "https://s3.eu-west-2.amazonaws.com/speak.verbatik.com/voice-cloning/uuid-filename.wav",
"characters_used": 94,
"remaining_balance": 9906,
"language": "en"
}/api/v1/voice-cloning/languagesGet Supported Languages
Retrieve the list of supported languages for voice cloning.
Example Request
curl -X GET "https://api.verbatik.com/api/v1/voice-cloning/languages" \
-H "Authorization: Bearer YOUR_API_TOKEN"Example Response
{
"success": true,
"languages": {
"en": "English 🇺🇸",
"fr": "French 🇫🇷",
"de": "German 🇩🇪",
"es": "Spanish 🇪🇸",
"it": "Italian 🇮🇹",
"pt": "Portuguese 🇵🇹",
"cs": "Czech 🇨🇿",
"pl": "Polish 🇵🇱",
"ru": "Russian 🇷🇺",
"nl": "Dutch 🇳🇱",
"tr": "Turkish 🇹🇷",
"ar": "Arabic 🇦🇪",
"zh-cn": "Mandarin Chinese 🇨🇳",
"hi": "Hindi 🇮🇳"
}
}/api/v1/voice-cloning/infoGet Service Information
Get detailed information about the voice cloning service capabilities and limitations.
Example Request
curl -X GET "https://api.verbatik.com/api/v1/voice-cloning/info" \
-H "Authorization: Bearer YOUR_API_TOKEN"Example Response
{
"success": true,
"service": "Verbatik Voice Cloning",
"description": "Advanced AI-powered multilingual voice cloning technology",
"supported_formats": ["wav", "mp3", "m4a", "ogg", "flv"],
"max_text_length": 3000,
"max_audio_size": "50MB",
"character_rate": "2x (voice cloning uses double character rate)",
"min_audio_duration": "6 seconds recommended",
"languages": { ... }
}Integration Examples
Ready-to-use code examples for popular programming languages and frameworks.
JavaScript/Node.js Example
const FormData = require('form-data');
const fs = require('fs');
const fetch = require('node-fetch');
async function cloneVoice(text, audioFile, language, apiToken) {
const formData = new FormData();
formData.append('text', text);
formData.append('language', language);
formData.append('speaker_audio', fs.createReadStream(audioFile));
formData.append('cleanup_voice', 'true');
try {
const response = await fetch('https://api.verbatik.com/api/v1/voice-cloning', {
method: 'POST',
headers: {
'Authorization': `Bearer ${apiToken}`,
...formData.getHeaders()
},
body: formData
});
if (!response.ok) {
throw new Error(`HTTP error! status: ${response.status}`);
}
const result = await response.json();
console.log('Voice cloning successful:', result);
return result;
} catch (error) {
console.error('Voice cloning failed:', error);
throw error;
}
}
// Usage example
cloneVoice(
'Hello, this is a test of voice cloning technology.',
'/path/to/speaker.wav',
'en',
'YOUR_API_TOKEN'
).then(result => {
console.log('Audio URL:', result.audio_url);
}).catch(error => {
console.error('Error:', error);
});Python Example
import requests
def clone_voice(text, audio_file_path, language, api_token):
url = "https://api.verbatik.com/api/v1/voice-cloning"
headers = {
"Authorization": f"Bearer {api_token}"
}
files = {
'speaker_audio': open(audio_file_path, 'rb')
}
data = {
'text': text,
'language': language,
'cleanup_voice': 'true'
}
try:
response = requests.post(url, headers=headers, files=files, data=data)
response.raise_for_status()
result = response.json()
print(f"Voice cloning successful: {result}")
return result
except requests.exceptions.RequestException as e:
print(f"Voice cloning failed: {e}")
raise
finally:
files['speaker_audio'].close()
# Usage example
result = clone_voice(
"Hello, this is a test of voice cloning technology.",
"/path/to/speaker.wav",
"en",
"YOUR_API_TOKEN"
)
print(f"Audio URL: {result['audio_url']}")PHP Example
<?php
function cloneVoice($text, $audioFilePath, $language, $apiToken) {
$url = 'https://api.verbatik.com/api/v1/voice-cloning';
$postFields = [
'text' => $text,
'language' => $language,
'cleanup_voice' => 'true',
'speaker_audio' => new CURLFile($audioFilePath)
];
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, $postFields);
curl_setopt($ch, CURLOPT_HTTPHEADER, [
'Authorization: Bearer ' . $apiToken
]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
$httpCode = curl_getinfo($ch, CURLINFO_HTTP_CODE);
curl_close($ch);
if ($httpCode !== 200) {
throw new Exception("HTTP error! status: $httpCode");
}
$result = json_decode($response, true);
echo "Voice cloning successful: " . json_encode($result) . "\n";
return $result;
}
// Usage example
try {
$result = cloneVoice(
'Hello, this is a test of voice cloning technology.',
'/path/to/speaker.wav',
'en',
'YOUR_API_TOKEN'
);
echo "Audio URL: " . $result['audio_url'] . "\n";
} catch (Exception $e) {
echo "Error: " . $e->getMessage() . "\n";
}
?>cURL Example
# Voice cloning with file upload
curl -X POST "https://api.verbatik.com/api/v1/voice-cloning" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: multipart/form-data" \
-F "text=Hello, this is a test of voice cloning technology." \
-F "language=en" \
-F "speaker_audio=@/path/to/speaker.wav" \
-F "cleanup_voice=true"
# Voice cloning with audio URL
curl -X POST "https://api.verbatik.com/api/v1/voice-cloning" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: multipart/form-data" \
-F "text=Hello, this is a test of voice cloning technology." \
-F "language=en" \
-F "speaker_audio_url=https://example.com/speaker.wav" \
-F "cleanup_voice=true"
# Get supported languages
curl -X GET "https://api.verbatik.com/api/v1/voice-cloning/languages" \
-H "Authorization: Bearer YOUR_API_TOKEN"
# Get service information
curl -X GET "https://api.verbatik.com/api/v1/voice-cloning/info" \
-H "Authorization: Bearer YOUR_API_TOKEN"Supported Languages
The Voice Cloning API supports 14 languages for high-quality voice synthesis.
Troubleshooting & Error Handling
HTTP Error Codes
| Code | Error Type | Description | Solution |
|---|---|---|---|
| 400 | Bad Request | Invalid request parameters | Check parameter format and values |
| 401 | Unauthorized | Missing or invalid authentication | Verify API token in Authorization header |
| 402 | Payment Required | Insufficient character balance | Top up your account or reduce text length |
| 413 | Payload Too Large | Audio file exceeds size limit | Reduce file size to under 50MB |
| 422 | Unprocessable Entity | Validation errors | Check the errors field in response |
| 429 | Too Many Requests | Rate limit exceeded | Wait before making more requests |
| 500 | Internal Server Error | Service unavailable | Try again later or contact support |
Common Issues & Solutions
"Invalid speaker audio file"
- Check file format (must be wav, mp3, m4a, ogg, or flv)
- Ensure file size is under 50MB
- Verify file is not corrupted
- Make sure the file contains actual audio data
"Voice cloning timed out"
- The service has a 5-minute timeout
- Try with shorter text or smaller audio files
- Check if the audio file is too large or complex
- Retry the request after a few minutes
"Insufficient character balance"
- Voice cloning uses 2x character rate
- Check user's available character balance
- Consider upgrading user's plan
- Reduce text length to fit within available credits
"Unsupported language"
- Use the /voice-cloning/languages endpoint to get supported languages
- Ensure language code is lowercase (e.g., 'en', not 'EN')
- Check for typos in the language code
- Refer to the supported languages section above
Security Best Practices
API Token Security
Store API tokens securely and never expose them in client-side code
HTTPS Only
Always use HTTPS for API requests to ensure data encryption
Need Help?
Our support team is here to help you integrate the Voice Cloning API successfully.
お気に入りのツールと統合
Zapierの自動化プラットフォームを通じて、Verbatikの強力なテキスト読み上げAPIを数千のアプリと接続。
テキストを音声に即座に変換
革新的な即時変換ツールで、テキストを自然な音声に簡単に変換
600以上の音声
多様なテキスト読み上げ変換のために600以上のリアルなAI音声から選択
142の言語とアクセントをサポート
142の言語とアクセントをサポートし、幅広い言語の多様性を提供
音声のカスタマイズが可能
速度、ピッチ、音量、発音を含むAI音声のカスタマイズ
MP3とWAVオーディオファイル形式でダウンロード
多目的な使用のために高品質なMP3とWAV形式でオーディオダウンロードを提供
商用および放送権
広範囲なオーディオ配信のための商用および放送権が利用可能
Verbatikがお手伝いできること
世界中のすべての言語とアクセントのAI音声

お客様の声
お客様からの評価

Ricky G.
コンテンツクリエイター
Verbatikは市場で最もリアルな音声を持っていることが気に入りました。多くの種類があり、すべてのAI音声をカスタマイズする方法がたくさんあります。

Juan Carlos V.
メディア制作
Verbatikはテキスト読み上げの分野でゲームチェンジャーだと感じています。プラットフォームは使いやすく、音声出力は驚くほどリアルです。プレゼンテーション、動画、または実験的な作業でも、Verbatikは常に高品質なオーディオを提供し、プロジェクトに価値を加えてくれます。

Boris S.
個人講師
個人使用のために複数の対話やモノローグのナレーションを作成する方法を探していたときにVERBATIKを発見しました。低価格で良質なサービスを提供してくれました。

Zoe D.
学生
Verbatikは比較的使いやすく理解しやすく、求めていた迅速なテキスト読み上げ結果を提供してくれます。オーディオは教育動画のナレーションに使用され、エクスポートも簡単でした!

認証済みレビュアー
放送メディア
幅広いAI音声と音声体験をパーソナライズできる機能は、コンテンツクリエイターとして非常に価値があります。定期的に使用し、コンテンツ制作プロセスを最適化できるツールをさらに探求することを楽しみにしています。

Aswin V.
テクニカルアソシエイト
Verbatikソフトウェアは、テキストを音声に簡単に変換できるユーザーフレンドリーなソフトウェアです。文字起こしの精度は本当に素晴らしいです。さまざまなカスタマイズオプションがあり、スピーカーを変更でき、さまざまな言語をサポートしています。
よくある質問




