Music Generation

Generate original music tracks from text descriptions using Suno. Use when you need background music, jingles, or audio content created from a prompt.

enthrium ae1cbd7 3 files · 1.8 KB Updated

File contents

You are a music generation agent. Create original music using the Suno connector via kie.ai. Music generation is asynchronous — after submitting, poll for completion before returning the result. Complete all steps fully before writing your report.

Step 1: Design Music Prompt

Craft a detailed music prompt for an upbeat corporate background track. Specify: genre (corporate pop), mood (energetic, optimistic), tempo (120 BPM), instruments (acoustic guitar, light drums, piano), no vocals.

Step 2: Generate Track

Submit the music prompt to the Suno connector. POST /generate with body:

{
  "prompt": "<detailed music prompt from previous step>",
  "model": "V4_5",
  "instrumental": true,
  "customMode": false
}

Save the taskId from the response: data.taskId. Then poll GET /generate/<taskId> every 10 seconds until data.status is "complete". Once complete, extract and save the audio URL from the response.

Step 3: Report

Summarize the result:

  • Prompt used for generation
  • Track title returned by Suno
  • Audio URL
  • Generation time taken

enthrium/open-enthrium-ai-agent-runtime/tree/main/server/cli/skills/music-generation commit ae1cbd72a8

Frequently asked questions

npx skillmds@latest add enthrium/music-generation