music-generation
यह क्या करती है
यह स्किल मौलिक संगीत बनाती है, या तो गायन के साथ या सिर्फ़ इंस्ट्रुमेंटल ट्रैक के रूप में। यह उन लोगों के लिए है जिन्हें बैकग्राउंड म्यूज़िक, जिंगल या थीम गाना चाहिए।
कब इस्तेमाल करें
- ✓जब कोई गाना, जिंगल या थीम सॉन्ग बनवाना चाहता है।
- ✓जब किसी वीडियो के लिए बैकग्राउंड म्यूज़िक या इंस्ट्रुमेंटल ट्रैक चाहिए।
- ✓जब किसी के पास बोल हैं और वह उन्हें धुन पर गवाना चाहता है।
Skill का लिंक
https://github.com/bytedance/deer-flow/blob/main/skills/public/music-generation/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मेरे पॉडकास्ट इंट्रो के लिए एक छोटा, उत्साही इंस्ट्रुमेंटल जिंगल बनाइए।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
स्किल शीर्षक, स्टाइल प्रॉम्प्ट और वैकल्पिक बोल के साथ एक छोटी spec फ़ाइल लिखती है। फिर उसे एक म्यूज़िक जनरेशन सेवा को भेजती है और 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 music generation API इस्तेमाल करती है।
जानकारी
लेखक का मूल विवरण
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
कमेंट
- …
इस repository की और skills
engineer-system-change
85kआपके एजेंट को सॉफ़्टवेयर बदलाव बनाने से पहले जाँचने देती है कि वह सच में ज़रूरी है या नहीं, समस्या, उपयोगकर्ताओं और जोखिमों की जाँच करते हुए।
academic-paper-review
85kआपके एजेंट को शोध पत्र की समीक्षा एक peer reviewer की तरह करने देती है, तरीकों, मज़बूत पक्षों, कमज़ोरियों और अगले कदमों के साथ।
bootstrap
85kएक दोस्ताना ऑनबोर्डिंग बातचीत का मार्गदर्शन करती है, जो एक निजी SOUL.md फ़ाइल बनाती है और तय करती है कि आपका AI साथी कौन है और कैसे व्यवहार करता है।
chart-visualization
85kआपके नंबरों को चार्ट इमेज में बदलती है, 26 चार्ट प्रकारों में से चुनकर, जैसे लाइन, बार, पाई, मानचित्र और फ़नल।
मिलती-जुलती skills
openai-whisper-api
394kयह आपके एजेंट को OpenAI की transcription सेवा से ऑडियो रिकॉर्डिंग को टेक्स्ट में बदलने देती है, जिसमें स्पीकर लेबल और आउटपुट फ़ाइलों के विकल्प हैं।
openai-whisper
394kयह आपके एजेंट को बिना API key और बिना क्लाउड अपलोड के, आपके अपने कंप्यूटर पर Whisper कमांड से ऑडियो का ट्रांसक्रिप्ट बनाने में मदद करती है।
sag
394kयह आपके एजेंट को ElevenLabs आवाज़ों से टेक्स्ट को ज़ोर से पढ़वाने और नतीजा आपके कंप्यूटर पर चलाने देती है, उच्चारण और भाव के सुझावों के साथ।