elevenlabs
Skill này làm gì
Skill này tạo âm thanh bằng ElevenLabs, gồm lời kể, đối thoại, hiệu ứng âm thanh và nhạc. Nó dành cho người sáng tạo cần giọng nói hoặc âm thanh cho video, podcast hoặc game.
Khi nào nên dùng
- ✓Khi bạn cần lời thuyết minh hoặc lời kể cho video hoặc podcast.
- ✓Khi bạn muốn tạo một hiệu ứng âm thanh từ mô tả bằng văn bản.
- ✓Khi bạn cần nhạc nền hoặc nhạc phim cho dự án.
Liên kết skill
https://github.com/calesthio/OpenMontage/blob/main/.agents/skills/elevenlabs/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Tạo lời kể ấm áp cho kịch bản này cho video sản phẩm của tôi, dùng giọng thân thiện.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent chọn tùy chọn giọng nói hoặc âm thanh, gửi văn bản hoặc mô tả đến ElevenLabs, rồi lưu file âm thanh. Khi nhóm có thiết lập chung, skill dùng nhà cung cấp tập trung thay vì yêu cầu bạn nhập khóa.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
ElevenLabs Audio Generation
Current v4 transports
For v4, v4 Turbo, Instant Soundtracks and realtime models, read the October integration guide. v4 uses Text to Dialogue; Turbo uses the dialogue WebSocket. Do not send those models to the legacy text-to-speech endpoint.
OpenMontage provider routing
Inspect the OpenMontage registry before choosing an authentication path.
- Prefer
fal_elevenlabs_ttswhen it is available. It provides Eleven v3, Multilingual v2, and Turbo v2.5 through the centrally managed fal.ai connection; no separate ElevenLabs credential is needed. - Use
elevenlabs_ttsonly when that direct provider is already reported as available by the registry. - In a shared installation, never tell the user to create a
.env, export a key, or paste a credential. Report missing direct-provider access as an administrator setup request.
The direct API examples below require a centrally configured
ELEVENLABS_API_KEY; they are not the default path when the fal.ai provider is
available.
Text-to-Speech
from elevenlabs.client import ElevenLabs
from elevenlabs import save, VoiceSettings
import os
client = ElevenLabs(api_key=os.getenv("ELEVENLABS_API_KEY"))
audio = client.text_to_speech.convert(
text="Welcome to my video!",
voice_id="JBFqnCBsd6RMkjVDRZzb",
model_id="eleven_multilingual_v2",
voice_settings=VoiceSettings(
stability=0.5,
similarity_boost=0.75,
style=0.5,
speed=1.0
)
)
save(audio, "voiceover.mp3")
Models
| Model | Quality | SSML Support | Notes |
|---|---|---|---|
eleven_multilingual_v2 |
Highest consistency | None | Stable, production-ready, 29 languages |
eleven_flash_v2_5 |
Good | <break>, <phoneme> |
Fast, supports pause/pronunciation tags |
eleven_turbo_v2_5 |
Good | <break>, <phoneme> |
Fastest latency |
eleven_v3 |
Most expressive | None | Alpha — unreliable, needs prompt engineering |
Choose: multilingual_v2 for reliability, flash/turbo for SSML control, v3 for maximum expressiveness (expect retakes).
Voice Settings by Style
| Style | stability | similarity | style | speed |
|---|---|---|---|---|
| Natural/professional | 0.75-0.85 | 0.9 | 0.0-0.1 | 1.0 |
| Conversational | 0.5-0.6 | 0.85 | 0.3-0.4 | 0.9-1.0 |
| Energetic/YouTuber | 0.3-0.5 | 0.75 | 0.5-0.7 | 1.0-1.1 |
Pauses Between Sections
With flash/turbo models: Use SSML break tags inline:
...end of section. <break time="1.5s" /> Start of next...
Max 3 seconds per break. Excessive breaks can cause speed artifacts.
With multilingual_v2 / v3: No SSML support. Options:
- Paragraph breaks (blank lines) — creates ~0.3-0.5s natural pause
- Post-process with ffmpeg: split audio and insert silence
WARNING: ... (ellipsis) is NOT a reliable pause — it can be vocalized as a word/sound. Do not use ellipsis as a pause mechanism.
Pronunciation Control
Phonetic spelling (any model): Write words as you want them pronounced:
Janus→Jan-usnginx→engine-x- Use dashes, capitals, apostrophes to guide pronunciation
SSML phoneme tags (flash/turbo only):
<phoneme alphabet="ipa" ph="ˈdʒeɪnəs">Janus</phoneme>
Iterative Workflow
- Generate → listen → identify pronunciation/pacing issues
- Adjust: phonetic spellings, break tags, voice settings
- Regenerate. If pauses aren't precise enough, add silence in post with ffmpeg rather than fighting the TTS engine.
Voice Cloning
Instant Voice Clone
with open("sample.mp3", "rb") as f:
voice = client.voices.ivc.create(
name="My Voice",
files=[f],
remove_background_noise=True
)
print(f"Voice ID: {voice.voice_id}")
- Use
client.voices.ivc.create()(notclient.voices.clone()) - Pass file handles in binary mode (
"rb"), not paths - Convert m4a first:
ffmpeg -i input.m4a -codec:a libmp3lame -qscale:a 2 output.mp3 - Multiple samples (2-3 clips) improve accuracy
- Save voice ID for reuse
Professional Voice Clone: Requires Creator plan+, 30+ min audio. See reference.md.
Sound Effects
Max 22 seconds per generation.
result = client.text_to_sound_effects.convert(
text="Thunder rumbling followed by heavy rain",
duration_seconds=10,
prompt_influence=0.3
)
with open("thunder.mp3", "wb") as f:
for chunk in result:
f.wr
Câu hỏi thường gặp
Tôi có cần khóa ElevenLabs riêng không?
Không phải lúc nào. Skill ưu tiên nhà cung cấp được quản lý tập trung khi có sẵn, và yêu cầu quản trị viên thiết lập nếu không có.
Nó có nhân bản giọng nói được không?
Có. Nhân bản giọng là một trong các tác vụ âm thanh mà skill hỗ trợ.
Nó dùng những mô hình nào?
Nó hỗ trợ các mô hình v4 mới và các endpoint chuyển văn bản thành giọng nói cũ, và ghi chú endpoint mỗi mô hình cần.
Chi tiết
Mô tả gốc của tác giả
Generate AI voiceovers, sound effects, and music using ElevenLabs APIs. Use when creating audio content for videos, podcasts, or games. Triggers include generating voiceovers, narration, dialogue, sound effects from descriptions, background music, soundtrack generation, voice cloning, or any audio synthesis task.
repo: calesthio/OpenMontage
Độ phổ biến
- Sao GitHub
- 75k
- Vị trí xếp hạng
- #2652
- Giấy phép
- AGPL-3.0
- Cập nhật
- 28/10/2026
Bình luận
- …
Thêm skill từ kho mã này
3d-asset-generation
75kGiúp agent của bạn chọn cách tạo đối tượng 3D cho một cảnh, bằng thư viện có sẵn, các tool chuyển văn bản hoặc ảnh thành 3D, và Blender để lắp ráp cuối cùng.
acestep
75kGiúp agent của bạn tạo nhạc nền, bài hát, jingle và các stem cho video bằng trình tạo nhạc mã nguồn mở ACE-Step.
agents
75kGiúp agent của bạn xây dựng trợ lý AI giọng nói bằng ElevenLabs, như bot chăm sóc khách hàng và nhân vật giọng nói tương tác.
ai-video-gen
75kGiúp agent của bạn tạo các đoạn video AI từ mô tả bằng văn bản hoặc ảnh tham khảo, chọn trong số nhiều dịch vụ tạo video.
Skill tương tự
openai-whisper-api
394kCho phép agent của bạn chuyển bản ghi âm thành văn bản bằng dịch vụ chuyển đổi của OpenAI, với tùy chọn nhãn người nói và tệp đầu ra.
openai-whisper
394kGiúp agent của bạn chuyển âm thanh thành văn bản trên chính máy tính bằng lệnh Whisper, không cần khóa API và không cần tải lên đám mây.
sag
394kGiúp agent của bạn đọc văn bản thành tiếng nói bằng giọng ElevenLabs và phát kết quả trên máy tính, kèm mẹo về phát âm và biểu cảm.