返回 Skill 列表
extension
分类: 内容与媒体无需 API Key

inworld

Inworld TTS API。涵盖语音克隆、音频标记和时间戳。在集成Inworld文本转语音、克隆声音、添加音频标记(类似SSML)或对齐口型同步时间戳时使用。关键词:Inworld、文本转语音、TTS、语音克隆、口型同步。

person作者: jakexiaohubgithub

Inworld AI

Text-to-Speech platform with voice cloning, audio markups, and timestamp alignment.

Quick Navigation

| Topic | Reference | | ------------- | ----------------------------------------------- | | Installation | installation.md | | Voice Cloning | cloning.md | | Voice Control | voice-control.md | | API Reference | api.md |

When to Use

  • Text-to-speech audio generation
  • Voice cloning from 5-15 seconds of audio
  • Emotion-controlled speech ([happy], [sad], etc.)
  • Word/phoneme timestamps for lip sync
  • Custom pronunciation with IPA

Models

| Model | ID | Latency | Price | | ------------ | ---------------------- | ------- | ------------ | | TTS 1.5 Max | inworld-tts-1.5-max | ~200ms | $10/1M chars | | TTS 1.5 Mini | inworld-tts-1.5-mini | ~120ms | $5/1M chars |

Minimal Example

import requests, base64, os

response = requests.post(
    "https://api.inworld.ai/tts/v1/voice",
    headers={"Authorization": f"Basic {os.getenv('INWORLD_API_KEY')}"},
    json={"text": "Hello!", "voiceId": "Ashley", "modelId": "inworld-tts-1.5-max"}
)
audio = base64.b64decode(response.json()['audioContent'])

Key Features

  • 15 languages — en, zh, ja, ko, ru, it, es, pt, fr, de, pl, nl, hi, he, ar
  • Instant cloning — 5-15 seconds audio, no training
  • Audio markups[happy], [laughing], [sigh] (English only)
  • Timestamps — word, phoneme, viseme timing for lip sync
  • Streaming/voice:stream endpoint

Prohibitions

  • Audio markups work only in English
  • Use ONE emotion markup at text beginning
  • Match voice language to text language
  • Instant cloning may not work for children's voices or unique accents

Links