---
title: "AI music in your agent: songs, instrumentals, BGM"
summary: "Install the Beatra Skill and describe a song: full songs with your lyrics, instrumentals, and background music as MP3, guided by an optional reference track."
url: "https://beatra.ai/en/use-cases/ai-music-generation"
language: "en"
last_verified: "2026-11-09"
---

[Beatra](https://beatra.ai/en) · [Use cases](https://beatra.ai/en/use-cases)

# 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 2026-11-09

## Set it up in your agent

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

```text
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](https://beatra.ai/en/compatibility)

## 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 2026-10-18; the live model list is always current.

[Live model list](https://docs.beatra.ai/en/docs/models)

## 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](https://beatra.ai/en/pricing) · [Live model list](https://docs.beatra.ai/en/docs/models)

## Skills for this task

The Beatra Skill covers everything on this page. These Skills add a ready-made workflow for one task:

- [Music Generation Studio](https://beatra.ai/en/skills/music-generation-studio): Describe the scene, mood, and length, pick instrumental or vocals, then create tracks to listen to, check length and loop points, and refine the one you like.

## 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

- [Text-to-video, image-to-video, and editing, 480p to 4K.](https://beatra.ai/en/use-cases/ai-video-generation)
- [Text-to-speech in 40 languages, preset or cloned voices.](https://beatra.ai/en/use-cases/ai-voiceover)
- [Text-to-image and edits in Claude Code through Beatra MCP.](https://beatra.ai/en/use-cases/claude-code-image-mcp)
- [White-background shots, lifestyle scenes, and listing sets.](https://beatra.ai/en/use-cases/batch-product-images)
- [One install and one balance, compared with each model's API.](https://beatra.ai/en/use-cases/beatra-vs-model-apis)
