Community코딩 & 개발github.com

elevenlabs/text-to-speech

ElevenLabs 음성 AI를 사용하여 텍스트를 음성으로 변환합니다. 오디오 생성, 음성 해설 제작, 음성 앱 구축 또는 70개 이상의 언어로 음성 합성이 필요할 때 사용하세요.

text-to-speech란 무엇인가요?

이 스킬은 ElevenLabs의 강력한 음성 AI API를 활용하여 텍스트를 자연스러운 음성으로 변환하는 작업을 수행합니다. 개발자는 다양한 음성, 언어, 및 음성 스타일을 선택하여 고품질의 음성 합성을 손쉽게 구현할 수 있습니다. 70개 이상의 언어를 지원하며, 실시간 스트리밍, 음성 복제, 감정 표현 조절 등 고급 기능을 제공합니다. 주로 Podcast 제작, 콘텐츠 내래이션, 음성 비서, 접근성 솔루션 등 다양한 음성 애플리케이션 개발에 활용됩니다.

지원 대상~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/elevenlabs/skills/tree/main/skills/text-to-speech

Installed? Explore more 코딩 & 개발 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

text-to-speech은(는) 무엇을 하나요?

ElevenLabs 음성 AI를 사용하여 텍스트를 음성으로 변환합니다. 오디오 생성, 음성 해설 제작, 음성 앱 구축 또는 70개 이상의 언어로 음성 합성이 필요할 때 사용하세요.

사용법

이 스킬은 ElevenLabs API를 통해 텍스트를 음성으로 변환합니다. API 키가 필요하며, 환경 변수 ELEVENLABS_API_KEY에 설정되어 있어야 합니다.

필수 조건

  • ElevenLabs API 키: elevenlabs.io에서 발급 가능
  • 환경 변수 ELEVENLABS_API_KEY 설정

지원 기능

  • 텍스트를 음성으로 변환: 일반 텍스트에서 고품질 오디오 생성
  • 다양한 음성 선택: 1000개 이상의 사전 제작 음성 또는 사용자 정의 음성 사용
  • 70개 이상의 언어 지원: 전 세계 주요 언어 및 방언 지원
  • 음성 스타일 조절: 감정, 속도, 피치 등 음성 매개변수 미세 조정
  • 실시간 스트리밍: WebSocket을 통한 실시간 오디오 스트리밍 지원

예제

import requests

ELEVENLABS_API_KEY = "your-api-key-here"
url = "https://api.elevenlabs.io/v1/text-to-speech/EXAVITQu4vrj1k0k5eMf"

headers = {
    "Accept": "audio/mpeg",
    "Content-Type": "application/json",
    "xi-api-key": ELEVENLABS_API_KEY
}

data = {
    "text": "안녕하세요, ElevenLabs 음성 합성 테스트입니다.",
    "voice_settings": {
        "stability": 0.5,
        "similarity_boost": 0.5
    }
}

response = requests.post(url, json=data, headers=headers)

if response.status_code == 200:
    with open("output.mp3", "wb") as f:
        f.write(response.content)
    print("오디오 파일이 생성되었습니다: output.mp3")
else:
    print(f"오류 발생: {response.status_code}")

설정

옵션 스킬 설정:

설정설명기본값
voice_id사용할 음성 IDEXAVITQu4vrj1k0k5eMf (Rachel)
model_id사용할 모델 IDeleven_monolingual_v1
stability음성 안정성 (0.0 - 1.0)0.5
similarity_boost음성 유사도 부스트 (0.0 - 1.0)0.5

환경 변수

  • ELEVENLABS_API_KEY: ElevenLabs API 키 (필수)

참고 자료

Individual skills in this repo

This repo contains 8 individual skills — each has its own dedicated page.

elevenlabs/agents

Build voice AI agents with ElevenLabs. Use when creating voice assistants, customer service bots, interactive voice characters, or any real-time voice conversation experience.

elevenlabs/music

Generate music using ElevenLabs Music API. Use when creating instrumental tracks, songs with lyrics, background music, jingles, or any AI-generated music composition. Supports prompt-based generation, composition plans for granular control, and detailed output with metadata.

elevenlabs/setup-api-key

Guides users through setting up an ElevenLabs API key for ElevenLabs MCP tools. Use when the user needs to configure an ElevenLabs API key, when ElevenLabs tools fail due to missing API key, or when the user mentions needing access to ElevenLabs. First checks whether ELEVENLABS_API_KEY is already configured and valid, and only runs full setup when needed.

elevenlabs/skills

Dub audio and video into other languages using the ElevenLabs Dubbing API (dubbing_v2), preserving the original speakers' voices. Use when translating videos, podcasts, or recordings into other languages, localizing media content, reviewing or correcting dubbing transcripts and translations, or regenerating a dub after edits.

elevenlabs/sound-effects

Generate sound effects from text descriptions using ElevenLabs. Use when creating sound effects, generating audio textures, producing ambient sounds, cinematic impacts, UI sounds, or any audio that isn't speech. Supports looping, duration control, and prompt influence tuning.

elevenlabs/speech-to-text

Transcribe audio to text using ElevenLabs Scribe v2. Use when converting audio/video to text, generating subtitles, transcribing meetings, or processing spoken content.

elevenlabs/voice-changer

Transform the voice in an audio recording into a different target voice while preserving emotion, timing, and delivery using the ElevenLabs Voice Changer (speech-to-speech) API. Use when converting one voice to another, changing the speaker/narrator of an existing recording, dubbing a voice-over in a different voice, creating character voices from a scratch performance, anonymizing a speaker, or any "voice conversion / voice transfer / speech-to-speech" task. Make sure to use this skill whenever the user mentions voice changing, voice conversion, speech-to-speech, swapping a voice in audio, re-voicing a clip, or applying a different voice to an existing recording — even if they don't explicitly say "voice changer".

elevenlabs/voice-isolator

Remove background noise and isolate vocals/speech from audio using ElevenLabs Voice Isolator (audio isolation) API. Use when cleaning up noisy recordings, removing music or background ambience from dialogue, isolating speech from field recordings, preparing audio for transcription, extracting vocals, or any "denoise / clean up / isolate voice" task.

관련 스킬