music-generation
ما الذي تفعله
تنشئ هذه المهارة موسيقى أصلية، إما بغناء أو مقطعًا موسيقيًا بلا غناء. وهي لمن يحتاج إلى موسيقى خلفية أو جingle أو لحن تعريفي.
متى تستخدمها
- ✓عندما يطلب أحد تأليف أغنية أو جingle أو لحن تعريفي.
- ✓عندما يريد أحد موسيقى خلفية أو مقطعًا بلا غناء لفيديو.
- ✓عندما يملك أحد كلمات ويريد غناءها على لحن.
رابط المهارة
https://github.com/bytedance/deer-flow/blob/main/skills/public/music-generation/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“صنع لي جingle قصيرًا ومبهجًا بلا غناء لمقدمة البودكاست الخاص بي.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
تكتب المهارة ملف مواصفات صغيرًا فيه عنوان ونص لأسلوب الموسيقى وكلمات اختيارية. ثم ترسله إلى خدمة توليد الموسيقى وتعيد ملف MP3.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
Music Generation Skill
Overview
This skill generates songs (vocal or instrumental) from a structured JSON spec using the
MiniMax music generation API (/v1/music_generation). You describe the style/mood/scene in
prompt, optionally provide lyrics, and the script returns an MP3.
Workflow
Step 1: Understand Requirements
Identify the desired style, mood, scene, language, and whether the user wants vocals or a pure instrumental track. Decide whether to supply lyrics or let the model write them.
Step 2: Create the Spec JSON
Write a JSON file in /mnt/user-data/workspace/ named {descriptive-name}.json:
{
"title": "Rainy Night Cafe",
"prompt": "indie folk, melancholic, introspective, walking alone, cafe",
"lyrics": "[verse]\nStreetlights glow the night wind sighs\n[chorus]\nPush the wooden door warm air inside"
}
Fields:
title(optional): a human-readable name.prompt(required): style, mood, and scene. Drives the musical character.lyrics(optional): song lyrics. Use\nbetween lines and structure tags such as[Intro],[Verse],[Pre Chorus],[Chorus],[Bridge],[Outro].is_instrumental(optional, bool): settruefor a pure instrumental track (no lyrics needed).
Behavior:
lyricsprovided → those lyrics are sung.is_instrumental: true→ instrumental, no vocals.- neither → the model auto-writes lyrics from
prompt(lyrics_optimizer).
Step 3: Execute Generation
python /mnt/skills/public/music-generation/scripts/generate.py \
--prompt-file /mnt/user-data/workspace/rainy-night-cafe.json \
--output-file /mnt/user-data/outputs/rainy-night-cafe.mp3
Parameters:
--prompt-file: Absolute path to the JSON spec (required).--output-file: Absolute path for the output MP3 (required).
[!NOTE] Do NOT read the python file, just call it with the parameters.
Environment
MINIMAX_API_KEY(required): your MiniMax interface key.MINIMAX_API_HOST(optional): defaulthttps://api.minimaxi.com.MINIMAX_MUSIC_MODEL(optional): defaultmusic-2.6-free(works for all API-key users); paid/Token-Plan users can setmusic-2.6for higher limits.
Output Handling
- Music is saved as MP3 (typically in
/mnt/user-data/outputs/). - Returned audio must decode to nonempty bytes and have an ID3 tag header or MPEG frame signature. This is a header sanity check, not complete audio decoding.
- Malformed, empty or unrecognized audio is rejected before creating the output directory or opening the output file; an existing output is preserved.
- Missing audio reports "MiniMax returned no audio data"; whitespace-only hex reports "MiniMax audio decoded to empty bytes".
- Share the generated file with the user using the present_files tool.
- Offer to iterate on style or lyrics if adjustments are needed.
Notes
- Keep
promptfocused on style/mood/scene; put the actual sung words inlyrics. - For non-English songs, write
lyricsin the target language.
الأسئلة الشائعة
هل يمكنني الحصول على مقطع بلا غناء؟
نعم. ضبط خيار البلا غناء على true ينتج مقطعًا بلا أي غناء.
هل يجب أن أكتب الكلمات؟
لا. إن لم تعطِ كلمات، يكتبها النموذج تلقائيًا.
أي خدمة تستخدمها؟
تقول المهارة إنها تستخدم واجهة MiniMax لتوليد الموسيقى.
التفاصيل
الوصف الأصلي من المؤلف
Use this skill when the user requests to generate, create, compose, or produce music or songs — background music, theme songs, jingles, or instrumental tracks. Generates a song from a style/mood prompt and optional lyrics via the MiniMax music API.
repo: bytedance/deer-flow
الشعبية
- نجوم GitHub
- 85k
- الترتيب
- #1385
- الترخيص
- MIT
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
engineer-system-change
85kيساعد وكيلك على التحقق من أن تغييرًا برمجيًا مطلوب فعلًا قبل بنائه، عبر فحص المشكلة والمستخدمين والمخاطر.
academic-paper-review
85kيساعد وكيلك على مراجعة ورقة بحثية كما يفعل محكّم علمي، مع المنهجية ونقاط القوة والضعف والخطوات التالية.
bootstrap
85kيرشد إلى محادثة تعارف ودية تبني ملف SOUL.md شخصيًا، يحدد من هو شريكك الذكي وكيف يتصرف.
chart-visualization
85kيحوّل أرقامك إلى صورة رسم بياني، مختارًا من بين 26 نوعًا من المخططات، مثل الخطي والعمودي والدائري والخريطة والقمع.
مهارات مشابهة
openai-whisper-api
394kيتيح لوكيلك تحويل التسجيل الصوتي إلى نص عبر خدمة النسخ لدى OpenAI، مع خيارات لتمييز المتحدثين وملفات الإخراج.
openai-whisper
394kيساعد وكيلك على نسخ الصوت على جهازك باستخدام أمر Whisper، دون مفتاح API ودون الحاجة إلى رفع الملفات إلى السحابة.
sag
394kيساعد وكيلك على قراءة النص بصوت عالٍ بأصوات ElevenLabs وتشغيل الناتج على حاسوبك، مع نصائح للنطق والتعبير.