music-generation
하는 일
이 스킬은 보컬이 있는 노래나 연주곡 형태의 독창적인 음악을 만듭니다. 배경음악, 징글, 테마곡이 필요한 사람을 위한 기능입니다.
사용하는 경우
- ✓사용자가 노래, 징글, 테마곡을 작곡해 달라고 요청할 때.
- ✓사용자가 영상에 쓸 배경음악이나 연주곡을 원할 때.
- ✓사용자가 가사를 가지고 있고 멜로디에 맞춰 부르기를 원하는 경우.
스킬 링크
https://github.com/bytedance/deer-flow/blob/main/skills/public/music-generation/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“팟캐스트 인트로에 쓸 짧고 경쾌한 연주곡 징글을 만들어 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
스킬은 제목, 스타일 프롬프트, 선택적 가사가 담긴 작은 설정 파일을 씁니다. 그다음 이를 음악 생성 서비스에 보내고 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 음악 생성 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
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
engineer-system-change
85k에이전트가 소프트웨어 변경을 만들기 전에 문제, 사용자, 위험을 확인해 실제로 필요한지 판단하도록 돕습니다.
academic-paper-review
85k에이전트가 연구 논문을 동료 심사자처럼 검토해, 방법, 강점, 약점, 다음 단계를 정리하도록 돕습니다.
bootstrap
85k개인 SOUL.md 파일을 만들기 위해 친근한 온보딩 대화를 진행하며, AI 파트너가 누구이고 어떻게 행동할지 정의합니다.
chart-visualization
85k숫자를 차트 이미지로 바꾸며, 선형, 막대, 원형, 지도, 퍼널 등 26가지 차트 유형 중에서 고릅니다.
비슷한 스킬
openai-whisper-api
394k에이전트가 OpenAI의 받아쓰기 서비스로 오디오 녹음을 텍스트로 바꾸도록 돕습니다. 화자 표시와 출력 파일 옵션을 쓸 수 있습니다.
openai-whisper
394k에이전트가 API 키나 클라우드 업로드 없이 내 컴퓨터에서 Whisper 명령으로 오디오를 텍스트로 바꾸도록 돕습니다.
sag
394k에이전트가 ElevenLabs 음성으로 텍스트를 읽고 결과를 컴퓨터에서 재생하며, 발음과 표현에 관한 팁을 제공하도록 돕습니다.