elevenlabs-tts
ما الذي تفعله
تتيح هذه المهارة للوكيل إنشاء التعليق الصوتي والسرد من خلال خدمة ElevenLabs لتحويل النص إلى كلام. وهي لمن يحتاج إلى تسجيلات صوتية من نص، دون أن تُخزَّن إعدادات الصوت داخل المهارة نفسها.
متى تستخدمها
- ✓عندما تحتاج إلى سرد أو تعليق صوتي من سكربت.
- ✓عندما تريد توليد صوت منطوق من نص قصير.
- ✓عندما تريد إعادة استخدام ملف تعريف صوت محفوظ لصوت جديد.
رابط المهارة
https://github.com/MengTo/Skills/blob/main/agent-skills/codex/elevenlabs-tts/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“حوّل هذا السكربت إلى تعليق صوتي باستخدام صوت الراوي المحفوظ لدي.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يقرأ الوكيل مفتاح API من البيئة، ويقرأ ملف تعريف الصوت من ملف إعداد محلي. ويولّد الصوت بإعدادات لذلك الطلب وحده، ولا يغيّر إعدادات الصوت المحفوظة.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
ElevenLabs TTS
Use this skill for ElevenLabs text-to-speech generation. Keep the skill reusable and non-personal:
- Do not store API keys, voice names, voice ids, emails, account names, customer names, or personal defaults in the skill.
- Read
ELEVENLABS_API_KEYfrom the process environment or the nearest.env. - Read account-specific voice profiles from local JSON config outside this skill.
- Generate audio with request-level settings. Do not mutate saved ElevenLabs account or voice settings unless the user explicitly asks.
Local Profiles
Prefer one of these config sources, in order:
--config /path/to/profiles.jsonELEVENLABS_TTS_CONFIG=/path/to/profiles.jsonlocal/elevenlabs/profiles.json
Project-local profile files are also fine when they are gitignored, for example config/local/elevenlabs-tts.json.
The helper script expects this shape:
{
"default_profile": "default",
"profiles": {
"default": {
"voice_name": "Voice name from the local account",
"voice_id": "optional-direct-voice-id",
"voice_id_env": "OPTIONAL_ENV_VAR_WITH_VOICE_ID",
"model_id": "eleven_multilingual_v2",
"output_format": "mp3_44100_128",
"voice_settings": {
"stability": 0.5,
"similarity_boost": 1.0,
"style": 0.0,
"speed": 1.0,
"use_speaker_boost": true
},
"output_dir": "outputs/voiceovers",
"emails": []
}
}
}
Fields like emails, owners, aliases, and notes are for local routing/context only. The script ignores unknown metadata fields.
Workflow
- Choose the profile from
--profile,ELEVENLABS_TTS_PROFILE, ordefault_profile. - Prefer the helper script:
python3 <skill-root>/scripts/generate_voice.py --text-file script.txt --profile default --output output.mp3 - If the profile has
voice_id, use it. If it hasvoice_id_env, read that env var. Otherwise search ElevenLabs byvoice_name. - Use profile
model_id,output_format, andvoice_settingsunless the user overrides them for this generation. - Put generated audio in the requested destination. If no destination is given, use the profile
output_dir, thenoutputs/voiceovers/. - Report the output path and any important warnings. Do not print secrets.
Helper Script
The bundled script supports:
--text "..."for inline text--text-file path.txtfor script files- stdin when neither
--textnor--text-fileis provided --profile nameto select a local profile--config path.jsonto select a local profile file--voice-id,--voice-name,--model-id,--output-format, and--settings-jsonfor one-off overrides--output path.mp3to choose the output file--dry-runto print the resolved request payload without calling the text-to-speech endpoint--list-voicesto list matching ElevenLabs voices without generating audio
API Notes
Use the current ElevenLabs endpoints:
- Voice search:
GET https://api.elevenlabs.io/v2/voices - Speech generation:
POST https://api.elevenlabs.io/v1/text-to-speech/:voice_id?output_format=...
Send the API key as xi-api-key.
الأسئلة الشائعة
أين تُحفظ إعدادات الصوت الخاصة بي؟
في ملف إعداد محلي خارج المهارة، فلا تُخزّن أسماء الأصوات ومعرّفاتها داخل المهارة نفسها.
هل ستغيّر إعدادات حسابي في ElevenLabs؟
لا. تستخدم المهارة إعدادات على مستوى الطلب، ما لم تطلب تغييرًا صريحًا.
من أين يأتي مفتاح API؟
يُقرأ من البيئة أو من ملف env قريب، ولا يُخزّن داخل المهارة.
التفاصيل
الوصف الأصلي من المؤلف
Generate ElevenLabs text-to-speech audio from scripts or inline text using local voice profiles. Use when the user asks for ElevenLabs, text-to-speech, TTS, narration, voiceover, speech audio, or voice generation; load voice names, voice ids, emails, owners, and account-specific defaults only from local config outside the skill.
repo: MengTo/Skills
الشعبية
- نجوم GitHub
- 7.2k
- الترتيب
- #13334
- الترخيص
- MIT
- آخر تحديث
- 1/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
3d-cloth-material
7.2kيساعد وكيلك على بناء قماش منسوج واقعي في Three.js، مع نسيج الخيوط والبريق الناعم والثنيات الطبيعية والأطراف والدروز.
3d-falling-leaves
7.2kيساعد وكيلك على إضافة أوراق متساقطة واقعية إلى مشهد ثلاثي الأبعاد، تتقلب وتنجرف مع الريح وتُعاد تدويرها مع حركة الكاميرا.
3d-four-seasons
7.2kيساعد وكيلك على إضافة مظاهر الربيع والصيف والخريف والشتاء إلى مشهد ثلاثي الأبعاد، بتغيير النباتات والضوء والسماء والثلج دون إعادة بناء المشهد.
3d-high-poly-models
7.2kيساعد وكيلك على بناء نماذج ثلاثية الأبعاد مفصلة بأشكال ناعمة وحواف مقنعة، ثم تجهيز نسخ أخف تعمل جيدًا على الويب.
مهارات مشابهة
openai-whisper-api
394kيتيح لوكيلك تحويل التسجيل الصوتي إلى نص عبر خدمة النسخ لدى OpenAI، مع خيارات لتمييز المتحدثين وملفات الإخراج.
openai-whisper
394kيساعد وكيلك على نسخ الصوت على جهازك باستخدام أمر Whisper، دون مفتاح API ودون الحاجة إلى رفع الملفات إلى السحابة.
sag
394kيساعد وكيلك على قراءة النص بصوت عالٍ بأصوات ElevenLabs وتشغيل الناتج على حاسوبك، مع نصائح للنطق والتعبير.