speech
Fungsinya
Skill ini membuat audio ucapan dari teks tertulis, seperti narasi atau voice-over untuk video demo. Skill ini untuk kreator dan tim yang membutuhkan suara untuk video, aplikasi, atau aksesibilitas.
Kapan dipakai
- ✓Saat Anda memerlukan voice-over atau narasi yang dibuat dari naskah.
- ✓Ketika Anda ingin banyak prompt atau baris audio diubah menjadi ucapan dalam satu kelompok.
- ✓Saat Anda membutuhkan teks dibacakan untuk aksesibilitas.
Link skill
https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/media/speech/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
“Ubah naskah demo produk saya menjadi voice-over yang hangat dan jelas, lalu simpan sebagai file audio.”
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Agent mengirim teks Anda persis seperti yang ditulis ke layanan text-to-speech dengan suara dan gaya yang Anda pilih, lalu menyimpan audionya. Agent juga dapat menjalankan kelompok dari daftar baris.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
Speech Generation Skill
Generate spoken audio for the current project (narration, product demo voiceover, IVR prompts, accessibility reads). OpenAI remains the default with gpt-4o-mini-tts-2025-12-15; Atlas Cloud is available only when the user explicitly selects it. Prefer the bundled CLIs for deterministic, reproducible runs.
When to use
- Generate a single spoken clip from text
- Generate a batch of prompts (many lines, many files)
Decision tree (single vs batch)
- If the user provides multiple lines/prompts or wants many outputs -> batch
- Else -> single
Workflow
- Decide intent: single vs batch (see decision tree above).
- Collect inputs up front: exact text (verbatim), desired voice, delivery style, format, and any constraints.
- If batch: write a temporary JSONL under tmp/ (one job per line), run once, then delete the JSONL.
- Augment instructions into a short labeled spec without rewriting the input text.
- Run
scripts/text_to_speech.pyfor the default OpenAI path, orscripts/atlas_text_to_speech.pyonly when Atlas Cloud was selected (seereferences/cli.md). - For important clips, validate: intelligibility, pacing, pronunciation, and adherence to constraints.
- Iterate with a single targeted change (voice, speed, or instructions), then re-check.
- Save/return final outputs and note the final text + instructions + flags used.
Temp and output conventions
- Use
tmp/speech/for intermediate files (for example JSONL batches); delete when done. - Write final artifacts under
output/speech/when working in this repo. - Use
--outor--out-dirto control output paths; keep filenames stable and descriptive.
Dependencies (install if missing)
Prefer uv for dependency management.
OpenAI backend package:
uv pip install openai
If uv is unavailable:
python3 -m pip install openai
The Atlas Cloud backend uses only the Python standard library.
Environment
- Default OpenAI calls require
OPENAI_API_KEY. - Optional Atlas Cloud calls require
ATLASCLOUD_API_KEY.
If the selected provider key is missing, give the user these steps:
- Create an API key in that provider's console.
- Set
OPENAI_API_KEYorATLASCLOUD_API_KEYas an environment variable in their system. - Offer to guide them through setting the environment variable for their OS/shell if needed.
- Keep provider credentials out of chat. Direct the user to set the selected key locally and confirm when ready.
If installation isn't possible in this environment, tell the user which dependency is missing and how to install it locally.
Defaults & rules
- Keep OpenAI as the default provider. Do not switch to Atlas Cloud unless the user requests it.
- Use
gpt-4o-mini-tts-2025-12-15unless the user requests another model. - Default voice:
cedar. If the user wants a brighter tone, prefermarin. - Built-in voices only. Custom voices are out of scope for this skill.
instructionsare supported for GPT-4o mini TTS models, but not fortts-1ortts-1-hd.- Input length must be <= 4096 characters per request. Split longer text into chunks.
- Enforce 50 requests/minute. The CLI caps
--rpmat 50. - Require
OPENAI_API_KEYbefore any live API call. - For Atlas Cloud, default to
xai/tts-v1, voiceeve, languageauto, and requireATLASCLOUD_API_KEY. - Atlas generation submits exactly one POST. Only prediction GET requests may retry, and polling must stay finite.
- Download Atlas outputs without an Authorization header and reject non-HTTPS or private-network targets.
- Provide a clear disclosure to end users that the voice is AI-generated.
- Use the OpenAI Python SDK (
openaipackage) for default OpenAI calls; the dedicated Atlas CLI uses its asynchronous HTTP contract. - Prefer the matching bundled CLI over writing new one-off scripts.
Instruction augmentation
Reformat user direction into a short, labeled spec. Only make implicit details explicit; do not invent new requirements.
Quick clarification (augmentation vs invention):
- If the user says "narration for a demo", you may add implied delivery constraints (clear, steady pacing, friendly tone).
- Do not introduce a new persona, accent, or emotional style the user did not request.
Template (include only relevant lines):
Voice Affect: <overall character and texture of the voice>
Tone: <attitude, formality, warmth>
Pacing: <slow, steady, brisk>
Emotion: <key emotions to convey>
Pronunciation: <words to enunciate or emp
Pertanyaan umum
Layanan mana yang dipakai?
OpenAI adalah pilihan default. Atlas Cloud hanya dipakai jika Anda memilihnya secara eksplisit.
Bisakah saya membuat suara kustom?
Tidak. Skill ini menyatakan pembuatan suara kustom berada di luar cakupan.
Apakah hasilnya diperiksa?
Ya. Untuk klip yang penting, agent memeriksa kejelasan, tempo, dan pengucapan, lalu membuat satu perubahan yang terarah bila diperlukan.
Detail
Deskripsi asli dari pembuat
Use when the user asks for text-to-speech narration or voiceover, accessibility reads, audio prompts, or batch speech generation. OpenAI remains the default; Atlas Cloud is an explicit optional backend for asynchronous multilingual speech. Custom voice creation is out of scope.
Popularitas
- Bintang GitHub
- 33k
- Peringkat
- #8860
- Lisensi
- MIT
- Diperbarui
- 2/11/2026
Komentar
- …
Skill lain dari repositori ini
owasp-security
33kMengajari agent Anda panduan keamanan OWASP untuk aplikasi web, API, mobile, kontainer, dan agent AI, sehingga bisa menemukan kelemahan umum dan menyarankan perbaikan.
agent-management
33kMembiarkan agent Anda membuat, mencantumkan, menidurkan, membangunkan, mengganti nama, dan menghapus agent AI menggunakan baris perintah AI Maestro, sambil mengelola siklus hidup setiap agent.
agent-messaging
33kMembiarkan agent Anda mengirim, menerima, dan membalas pesan bertanda tangan antaragent AI, menggunakan Agent Messaging Protocol, sebagian besar di mesin Anda sendiri.
docs-search
33kMembiarkan agent Anda mencari dokumentasi kode yang dibuat otomatis untuk tanda tangan fungsi, definisi kelas, dan komentar, sehingga agent memeriksa API yang sebenarnya sebelum mengubah kode.
Skill serupa
openai-whisper-api
394kMemungkinkan agent Anda mengubah rekaman audio menjadi teks memakai layanan transkripsi OpenAI, dengan opsi label pembicara dan file keluaran.
openai-whisper
394kMembantu agent Anda mentranskripsikan audio di komputer Anda sendiri dengan perintah Whisper, tanpa kunci API dan tanpa unggahan ke cloud.
sag
394kMembantu agent Anda membacakan teks dengan suara ElevenLabs dan memutar hasilnya di komputer Anda, dengan tips pelafalan dan intonasi.