How to generate music with an AI agent

Install the Beatra Skill, approve the sign-in once, then describe the song: style, mood, vocals, and your lyrics if you have them. The agent returns MP3 files: full songs with vocals, instrumentals, or background music, and it can follow a reference track you upload.

Updated

Set it up in your agent

Install the Beatra Skill once. The steps are the same for every task on this site.

Send this to your agentSign in once the first time

Install Beatra and tell me when I need to sign in: https://beatra.ai/install.md

Claude Code

  1. Send Claude Code the install message above.
  2. Or run claude plugin marketplace add beatra-ai/ai-media-generator-skill, then claude plugin install beatra@ai-media-generator-skill.
  3. When Claude Code shows a sign-in link, open it, sign in, and click Allow.

Codex

  1. Send Codex the install message above.
  2. Or run codex plugin marketplace add beatra-ai/ai-media-generator-skill, then codex plugin add beatra@ai-media-generator-skill.
  3. When Codex shows a sign-in link, open it, sign in, and click Allow.

Cursor

  1. Send the install message above in Cursor's agent chat.
  2. When the agent shows a sign-in link, open it, sign in, and click Allow.

Other agents

  1. Send the install message above to any agent that can install a Skill and run scripts.
  2. When the agent shows a sign-in link, open it, sign in, and click Allow.

Then ask in plain words, for example:

Write an upbeat indie-pop song about a late-night drive, female vocals, about two minutes.
Make a 60-second calm piano loop for a podcast intro, no vocals.

Tested agents and install methods →

What you get

  • Songs with your lyrics or lyrics the agent writes, instrumentals, and background music for video, podcasts, and games.
  • A style prompt plus lyrics of up to 5,000 characters, depending on the model.
  • A reference track of 6 seconds to 8 minutes (MP3, WAV, or FLAC) to steer the style.
  • Output: MP3.

Limits depend on the model. Figures as of ; the live model list is always current.

Live model list

Price

Installing is free. Each render uses Beatra credits, and new accounts start with free credits. Plans are on the pricing page, and the price of each model is in the live model list.

Pricing →Live model list

Skills for this task

Questions

Can it write the lyrics?

Yes. Describe the theme and the agent writes singable lyrics first; you can change them before the song is rendered.

Can it make music without vocals?

Yes. Ask for no vocals and you get an instrumental or a background track.

Where do the songs go?

They come back into your agent conversation and are saved on the Work page of the Beatra console.

More use cases