minimax-music-gen
ما الذي تفعله
تولّد هذه المهارة أغانيَ وموسيقى خلفية باستخدام خدمة الموسيقى من MiniMax. وهي موجهة لمن يريدون مقطوعة من وصف قصير أو من كلماتهم الخاصة أو من مزاج معين.
متى تستخدمها
- ✓عندما تريد كتابة أغنية وغنائها انطلاقًا من فكرة قصيرة.
- ✓عندما تملك كلمات وتريد تحويلها إلى أغنية.
- ✓عندما تريد موسيقى خلفية آلية لمشهد أو مزاج معين.
رابط المهارة
https://github.com/MiniMax-AI/skills/blob/main/skills/minimax-music-gen/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“أريد مقطوعة آلية مفعمة بالحيوية لفيديو الطبخ الخاص بي، بمزاج دافئ وسعيد.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يستخدم الوكيل أداة سطر الأوامر mmx لإنشاء الموسيقى، مع خيارات للنوع والمزاج والغناء والإيقاع. ويمكنه المساعدة في صياغة الكلمات أولًا، ثم تشغيل النتيجة بمشغّل محلي.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
MiniMax Music Generation Skill
Generate songs (vocal or instrumental) using the MiniMax Music API. Supports two creation modes: Basic (one-sentence-in, song-out) and Advanced Control (edit lyrics, refine prompt, plan before generating).
Prerequisites
mmx CLI (required): Music generation uses the
mmxcommand-line tool.Check if installed:
command -v mmx && mmx --version || echo "mmx not found"Install (requires Node.js):
npm install -g mmx-cliAuthenticate (first time only):
mmx auth login --api-key <your-minimax-api-key>The API key can be obtained from MiniMax Platform. Credentials are saved to
~/.mmx/credentials.jsonand persist across sessions.Verify:
mmx quota showAudio player (recommended):
mpv,ffplay, orafplay(macOS built-in) for local playback.mpvis preferred for its interactive controls.
CLI Tool
This skill uses the mmx CLI for all music generation:
Music Generation:
mmx music generate— model:music-2.6-free- Supports
--lyrics-optimizerto auto-generate lyrics from prompt - Supports
--instrumentalfor instrumental tracks - Supports
--lyricsfor user-provided lyrics - Structured params:
--genre,--mood,--vocals,--instruments,--bpm,--key,--tempo,--structure,--references
- Supports
Cover:
mmx music cover— model:music-cover-free- Takes reference audio via
--audio-file <path>or--audio <url> --promptdescribes the target cover style
- Takes reference audio via
Agent flags: Always add --quiet --non-interactive when calling mmx from agents.
Pipeline:
- Vocal:
User description -> mmx music generate --lyrics-optimizer -> MP3 - Instrumental:
User description -> mmx music generate --instrumental -> MP3 - Cover:
Source audio + style -> mmx music cover -> MP3
Storage
All generated music is saved to ~/Music/minimax-gen/. Create the directory if it doesn't
exist. Files are named with a timestamp and a short slug derived from the prompt:
YYYYMMDD_HHMMSS_<slug>.mp3
Language & Interaction
Detect the user's language from their first message and respond in that language for the entire session. This applies to all interaction text, questions, confirmations, and feedback prompts.
User-facing text localization rule:
- ALL text shown to the user — including preview labels, field names, confirmations, status messages, playback info, feedback prompts, and the prompt/description preview — MUST be fully translated into the user's language.
- The API prompt sent to the model should always be written in English for best generation quality. However, when previewing the prompt to the user, show a localized description in the user's language instead of the raw English prompt. The English prompt is an internal implementation detail — the user does not need to see it.
- The templates below are written in English as reference. At runtime, translate every label and message into the user's detected language.
Lyrics language rule:
- Default lyrics language = the user's language. A Chinese-speaking user gets Chinese lyrics; an English-speaking user gets English lyrics.
- Only generate lyrics in a different language if the user explicitly requests it.
- When a different lyrics language is needed, embed it naturally into the vocal or genre description in the prompt. For example, instead of appending "with Korean lyrics", use "featuring a Korean female vocalist" or specify a genre that implies the language (e.g., "K-pop", "J-rock", "Mandopop", "Latin pop").
Workflow
Step 0: Detect Intent
Parse the user's message to determine:
- Song category: vocal (with lyrics), instrumental (no vocals), or cover
- Creation mode preference: did they provide detailed requirements (Advanced) or a casual one-liner (Basic)?
If ambiguous, ask using this decision tree:
Q1: What type of music?
- Vocal (with lyrics)
- Instrumental (no vocals)
- Cover
Q2: Creation mode?
- Basic — one-line description, auto-generate
- Advanced — edit lyrics, refine prompt, plan
If the user gives a clear one-liner like "make me a sad piano piece", skip the questions — infer instrumental + basic mode and proceed.
Step 1: Basic Mode
Goal: User provides a short description, the skill auto-generates everything, then calls t
الأسئلة الشائعة
ما الذي أحتاجه للإعداد؟
تحتاج إلى أداة سطر الأوامر mmx التي تتطلب Node.js، ومفتاح API من MiniMax.
هل يمكنه إنشاء مقطوعة آلية؟
نعم. تدعم المهارة خيارًا آليًا للمقطوعات بلا غناء.
ماذا لو أردت استخدام كلماتي؟
تتيح المهارة إدخال الكلمات مباشرة، ويمكنها تحسينها قبل التوليد.
التفاصيل
الوصف الأصلي من المؤلف
Use when user wants to generate music, songs, or audio tracks. Triggers on any request involving music creation, song writing, lyrics generation, audio production, or covers. Also triggers when user provides lyrics and wants them turned into a song, or describes a mood/scene and wants background music. Supports multilingual triggers — match equivalent phrases in any language. Do NOT use for music playback of existing files, music theory questions, or music recommendation without generation.
repo: MiniMax-AI/skills
الشعبية
- نجوم GitHub
- 14k
- الترتيب
- #11294
- الترخيص
- MIT
- آخر تحديث
- 18/4/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
design-style-skill
14kيختار لوكيلك نمطًا بصريًا واحدًا ومتسقًا للشرائح، من الحاد والمضغوط إلى الناعم والمستدير أو الفسيح، مع زوايا ومسافات متناسقة.
ppt-editing-skill
14kيعلّم وكيلك تعديل ملف PowerPoint موجود أو قالب بأمان، بتغيير النص وإعادة ترتيب الشرائح أو حذفها وإعادة تجميع عرض صالح.
ppt-orchestra-skill
14kيساعد وكيلك على تخطيط عرض PowerPoint كامل قبل بنائه، بتصنيف كل شريحة في نوع صفحة معياري والتحقق من التنوع وجودة النص.
slide-making-skill
14kيساعد وكيلك على كتابة شرائح PowerPoint منفردة بلغة JavaScript باستخدام PptxGenJS، ويشمل التخطيط والنص والصور والمخططات والخطوط لملفات .pptx أصلية.
مهارات مشابهة
openai-whisper-api
394kيتيح لوكيلك تحويل التسجيل الصوتي إلى نص عبر خدمة النسخ لدى OpenAI، مع خيارات لتمييز المتحدثين وملفات الإخراج.
openai-whisper
394kيساعد وكيلك على نسخ الصوت على جهازك باستخدام أمر Whisper، دون مفتاح API ودون الحاجة إلى رفع الملفات إلى السحابة.
sag
394kيساعد وكيلك على قراءة النص بصوت عالٍ بأصوات ElevenLabs وتشغيل الناتج على حاسوبك، مع نصائح للنطق والتعبير.