music-generation
Skill36 starsChanged 7 months agoMITView on GitHub
Generate instrumental music and background tracks using each::sense AI. Create royalty-free instrumentals, background music, soundscapes, and compositions across all genres. Control tempo, instruments, mood, and duration. Use for: background music, YouTube videos, game soundtracks, podcast beds, ad music, ambient tracks, film scores. Triggers: generate music, instrumental, background music, beat, soundtrack, compose music, ai music, music generator, bgm, score, ambient music, backing track, instrumental track
- Reads credentials
- Sends data out
Files
Music Generation
Generate instrumental music and background tracks using each::sense — the intelligent AI agent that automatically selects the best model for your request.
Quick Start
Requires an each::labs API key. Get one at eachlabs.ai.
Using curl
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"messages": [{"role": "user", "content": "Generate a chill lo-fi hip-hop instrumental, 85 BPM, with warm Rhodes piano, vinyl crackle, mellow drum loop, and a soft bass line. 45 seconds long, perfect for a study playlist."}],
"stream": false
}'Using Python (OpenAI SDK)
from openai import OpenAI
client = OpenAI(
api_key="YOUR_EACHLABS_API_KEY",
base_url="https://eachsense-agent.core.eachlabs.run/v1"
)
response = client.chat.completions.create(
model="eachsense/beta",
messages=[{"role": "user", "content": "Generate a chill lo-fi hip-hop instrumental, 85 BPM, with warm Rhodes piano, vinyl crackle, mellow drum loop, and a soft bass line. 45 seconds long, perfect for a study playlist."}]
)
print(response.choices[0].message.content)With Reference Image
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"messages": [{"role": "user", "content": [
{"type": "text", "text": "Generate instrumental background music that matches the mood and atmosphere of this image. Create a soundscape that a viewer would expect to hear while looking at this scene."},
{"type": "image_url", "image_url": {"url": "https://example.com/scenic-photo.jpg"}}
]
}
],
"stream": false
}'Images are sent inside messages using the OpenAI multimodal content format. Maximum 4 images per request.
Streaming
Set "stream": true for real-time SSE responses, or "stream": false for complete result in a single response. Streaming is useful for showing progress in UIs; non-streaming is simpler for scripts and automation.
Available Models
| Model | Strengths | Best For |
| mureka-generate-music | Full music generation with rich arrangements | Complete instrumentals, complex compositions |
| stable-audio-2-5 | High-quality short audio, precise control | Loops, short clips, sound design, ambient textures |
each::sense picks the optimal model based on your prompt. Specify "instrumental" or "no vocals" to ensure vocal-free output.
Genre Guide
| Genre | Typical BPM | Key Instruments | Use Cases |
| Lo-fi | 70-90 | Rhodes piano, vinyl crackle, soft drums | Study music, chill content |
| Ambient | 50-80 | Synth pads, reverb textures, field recordings | Meditation, backgrounds, ASMR |
| Cinematic | 60-120 | Strings, brass, percussion, choir | Film scores, trailers, presentations |
| Electronic | 120-150 | Synths, drum machines, bass, arps | Gaming, workout, energetic content |
| Jazz | 80-140 | Piano, upright bass, brushed drums, sax | Restaurants, vlogs, sophisticated content |
| Classical | 60-130 | Piano, strings, woodwinds, orchestra | Elegant content, education, focus |
| Hip-Hop | 80-100 | 808s, hi-hats, samples, bass | Rap beats, urban content |
| Rock | 100-140 | Electric guitar, drums, bass, organ | Action content, sports, energy |
| World | 70-130 | Tabla, koto, sitar, djembe, kalimba | Travel content, cultural videos |
| Synthwave | 80-120 | Analog synths, arpeggios, gated reverb | Retro content, 80s aesthetic |
Prompt Tips
The Instrumental Prompt Formula
Generate a [genre] instrumental, [BPM] BPM, with [instruments].
[Mood/emotion] feel. [Duration] long. [Use case context].Mood Keywords
uplifting, melancholic, triumphant, mysterious, relaxing, intense,
dreamy, aggressive, playful, dark, cinematic, nostalgic, epic,
serene, brooding, whimsical, majestic, eerie, warm, etherealDynamic Instructions
Describe how the track should evolve over time:
"Start with solo piano, add strings at 10 seconds,
build to full orchestra by 30 seconds, then
pull back to piano and cello for the ending."Avoiding Vocals
Be explicit when you want instrumental-only output:
"Generate an instrumental track, no vocals, no singing, no humming"Examples
Cinematic Epic Score
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"messages": [{"role": "user", "content": "Generate an epic cinematic orchestral instrumental. Starts quiet with a solo cello melody, builds with layered strings and French horns, crescendo with full orchestra, timpani rolls, and crashing cymbals. Heroic and triumphant mood. 60 seconds, suitable for a movie trailer. No vocals."}],
"stream": false
}'YouTube Background Music
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"messages": [{"role": "user", "content": "Generate a friendly, upbeat background instrumental for a tech review YouTube video. Acoustic guitar, light percussion, subtle synth pad, and pizzicato strings. 110 BPM. Not too busy so it does not compete with narration. 45 seconds, seamless loop potential."}],
"stream": false
}'Ambient Soundscape
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"messages": [{"role": "user", "content": "Generate a deep ambient soundscape for a meditation app. No rhythm or percussion. Slow-evolving synthesizer pads, distant wind chimes, subtle harmonic overtones, and soft low-frequency drones. Peaceful and spacious. 60 seconds. Very slow, almost timeless feel."}],
"stream": false
}'Jazz Trio
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"messages": [{"role": "user", "content": "Generate a smooth jazz trio instrumental. Piano playing soft chord voicings, walking upright bass, and brushed snare drums with occasional cymbal rides. 105 BPM, relaxed swing feel. Think late-night jazz club atmosphere. 45 seconds. Warm and sophisticated."}],
"stream": false
}'Game Soundtrack
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"messages": [{"role": "user", "content": "Generate a retro synthwave instrumental for an indie platformer game. Pulsing analog bass synth, bright arpeggio lead, gated snare reverb, and warm analog pad. 100 BPM. Nostalgic 80s vibe but modern production quality. Energetic and adventurous. 30 seconds, loopable."}],
"stream": false
}'Workflow: Music for Video
# Step 1: Generate background music
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"messages": [{"role": "user", "content": "Generate a gentle acoustic instrumental for a travel vlog montage. Fingerpicked guitar, soft tambourine, light strings. Warm and wanderlust feeling. 100 BPM, 45 seconds. No vocals."}],
"stream": false
}'
# Step 2: Refine with multi-turn conversation
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"messages": [
{"role": "user", "content": "Generate a gentle acoustic instrumental for a travel vlog montage. Fingerpicked guitar, soft tambourine, light strings. 100 BPM, 45 seconds. No vocals."},
{"role": "assistant", "content": "..."},
{"role": "user", "content": "Great vibe. Now make a more energetic variation for the action segments. Same instruments but faster at 130 BPM with more percussion. 30 seconds."}
],
"stream": false
}'Common Pitfalls
- Not specifying "instrumental" may produce tracks with vocals. Be explicit: "no vocals."
- Missing BPM leaves tempo to chance. Always include target BPM for consistent results.
- Vague instrument lists like "some music" give generic output. Name specific instruments.
- Duration ambiguity can produce clips that are too short or too long. State duration clearly.
- Ignoring dynamics results in flat tracks. Describe how energy should build and release.
Related Skills
- Song Generation — Full songs with vocals and lyrics
- Sound Effects — Layer sound effects with your music
- Lyrics Generation — Write lyrics to pair with instrumentals
- Voice Generation — Add narration over instrumental tracks
Documentation
Other versions7 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 7
- bytedance/deer-flow★ 84ksame name
- google-gemini/gemini-managed-agents-templates★ 99same name
- michaelboeding/skills★ 30same name
- CreamyLong/quill★ 2same name
- X33834/awesome-skillkit★ 2same name
- fabioc-aloha/alex-cognitive-architecture★ 0same name
- G-HunterAi/openclaw-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
Used alongsideProjects with it also use data-analysis.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
shanggqmSkilldata-analysis
数据分析技能,提供结构化的数据查询、统计分析和报告生成工作流。当用户需要查询数据库、进行数据统计分析、生成分析报告时使用。按规范输出原始数据、计算结果、Markdown报告和HTML可视化报告。
Also in 3 projects that use this
In this repository28 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- background-removalSkill
- face-swapSkill
- image-editingSkill
- image-generationSkill
- image-upscalingSkill
- lyrics-generationSkill
- music-generationSkill
- song-generationSkill
- sound-effectsSkill
- speech-to-textSkill
- text-to-speechSkill
- video-editingSkill
- video-generationSkill
- voice-generationSkill
- background-removalSkill
- face-swapSkill
- image-editingSkill
- image-generationSkill
- image-upscalingSkill
- lyrics-generationSkill
- song-generationSkill
- sound-effectsSkill
- speech-to-textSkill
- text-to-speechSkill
- video-editingSkill
- video-generationSkill
- voice-generationSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

