[Integrations](https://spiral.ai/integrations) › [Factory Droid](https://spiral.ai/integrations/factory-droid) › [Lyria 3.5](https://spiral.ai/integrations/factory-droid/lyria-3-5)

# How to Use Lyria 3.5 in Factory Droid

Lyria 3.5 creates vocal songs and instrumental soundtracks up to three minutes long, with verse, chorus, and bridge structure. Google reports improved audio fidelity compared with Lyria 2.

|  |  |
| --- | --- |
| Model | Lyria 3.5 |
| Available through | fal, Gemini |
| Category | Audio |
| Price | $0.13 per generation. |
| Returns | audio |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Lyria 3.5 in Factory Droid

- Read the product video brief in this project. Use Lyria 3.5 to create a 60-second instrumental backing track with soft piano, light percussion, and a gradual build.
- Read the game’s art direction notes. Use Lyria 3.5 to create a two-minute instrumental title theme with plucked strings, warm woodwinds, and a gentle opening.
- Use Lyria 3.5 to turn the original lyrics in lyrics.txt into a two-minute folk demo. Follow its verse and chorus labels, with acoustic guitar and a warm baritone.
- Use the project’s title-screen illustration as inspiration for Lyria 3.5. Request a 60-second instrumental with sparse piano, low strings, and an uneasy mood.
- Read the launch video storyboard. Use Lyria 3.5 to draft a 90-second instrumental score with a restrained introduction, a lively middle, and a quiet ending.

## How to set up Lyria 3.5 in Factory Droid

Pick the way that suits you. Each takes about two minutes.

### Use Spiral's MCP server

1. **Add the server**: Droid saves it to your user config, `~/.factory/mcp.json`, so it works in every project.

```bash
droid mcp add spiral https://api.spiral.ai/mcp --type http
```

2. **Sign in**: Start `droid`, type `/mcp`, select spiral and authenticate it. Sign in to Spiral in the browser and click Authorize. No API key.

3. **Check it**: Spiral shows as connected. needs authentication means the sign-in did not finish: run `/mcp` again.

```bash
droid mcp list
```

### Use the Spiral skill

1. **Send Factory Droid this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Lyria 3.5**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "fal",
    "model": "google/lyria-3.5",
    "input": {
      "prompt": "An uplifting pop song with driving electric guitar, energetic drums, and a catchy chorus singing '\''Rise up and shine today'\''. 120 BPM. Two minutes long with a…"
    }
  }'
```

Then paste one of the prompts above: Factory Droid finds Lyria 3.5 on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/factory-droid

## Lyria 3.5 tools and prices

- [Lyria 3.5](https://spiral.ai/tools/fal/google/lyria-3.5) (fal): $0.13 per generation.
- [Lyria 3.5 · Music Generation](https://spiral.ai/tools/gemini/lyria-3.5) (Gemini): $0.104 per song.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| negative_prompt |  |  | Negative prompting is not supported by Lyria 3.5. |
| image_url |  | — | Optional image URL to use as visual inspiration for music generation. The model will create music that matches the mood and theme of the image. |

## What can you do with Lyria 3.5 in Factory Droid?

Create music drafts for the app, game, or video project you are building. A coding agent can turn project notes and original lyrics into a musical brief with instruments, tempo, and section structure.

### Video backing tracks

Create an instrumental backing track for a product video, with a quiet opening and a stronger final section.

### Brand jingle drafts

Turn an original slogan into a sung hook. Specify the instruments and vocal style to give the concept a clear direction.

### Personal birthday songs

Write a song around someone’s hobbies and shared memories, with a chorus that repeats their name.

### Personalized ringtone ideas

Generate a short musical idea with a recognizable opening phrase, then select an excerpt for a ringtone.

### Music inspired by artwork

Use an illustration or photograph to guide a soundtrack’s mood, then add direction for instruments and tempo.

### Songwriting demos

Hear original lyrics as a structured song with verses, a chorus, and a bridge before developing the arrangement further.

## Overview

- [Google Gemini](https://spiral.ai/providers/gemini)
- [All Factory Droid guides](https://spiral.ai/integrations/factory-droid)

## Lyria 3.5 in other agents

- [Amp](https://spiral.ai/integrations/amp/lyria-3-5)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/lyria-3-5)
- [Claude](https://spiral.ai/integrations/claude-desktop/lyria-3-5)
- [Claude Code](https://spiral.ai/integrations/claude-code/lyria-3-5)
- [Cline](https://spiral.ai/integrations/cline/lyria-3-5)
- [Codex](https://spiral.ai/integrations/codex/lyria-3-5)
- [Cursor](https://spiral.ai/integrations/cursor/lyria-3-5)
- [Devin](https://spiral.ai/integrations/devin/lyria-3-5)
- [dots](https://spiral.ai/integrations/dots/lyria-3-5)
- [Gemini](https://spiral.ai/integrations/gemini/lyria-3-5)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/lyria-3-5)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/lyria-3-5)
- [goose](https://spiral.ai/integrations/goose/lyria-3-5)
- [Grok](https://spiral.ai/integrations/grok/lyria-3-5)
- [Grok Build](https://spiral.ai/integrations/grok-build/lyria-3-5)
- [Hermes](https://spiral.ai/integrations/hermes/lyria-3-5)
- [Instinct](https://spiral.ai/integrations/instinct/lyria-3-5)
- [Manus](https://spiral.ai/integrations/manus/lyria-3-5)
- [Muse](https://spiral.ai/integrations/muse/lyria-3-5)
- [Muse Code](https://spiral.ai/integrations/muse-code/lyria-3-5)
- [n8n](https://spiral.ai/integrations/n8n/lyria-3-5)
- [Notion](https://spiral.ai/integrations/notion/lyria-3-5)
- [OpenClaw](https://spiral.ai/integrations/openclaw/lyria-3-5)
- [opencode](https://spiral.ai/integrations/opencode/lyria-3-5)
- [Perplexity](https://spiral.ai/integrations/perplexity/lyria-3-5)
- [Raycast](https://spiral.ai/integrations/raycast/lyria-3-5)
- [VS Code](https://spiral.ai/integrations/vscode/lyria-3-5)
- [Windsurf](https://spiral.ai/integrations/windsurf/lyria-3-5)
- [Zapier](https://spiral.ai/integrations/zapier/lyria-3-5)

## More Factory Droid guides

- [Lyria 3 Pro](https://spiral.ai/integrations/factory-droid/lyria-3-pro)
- [MMAudio V2 Text to Audio](https://spiral.ai/integrations/factory-droid/mmaudio-v2-text-to-audio)
- [Lyria 3](https://spiral.ai/integrations/factory-droid/lyria-3)
- [MiniMax Music 01](https://spiral.ai/integrations/factory-droid/minimax-music-01)
- [Kotoba STT](https://spiral.ai/integrations/factory-droid/kotoba-stt)
- [MiniMax Music 1.5](https://spiral.ai/integrations/factory-droid/minimax-music-1-5)

## Questions about Lyria 3.5 in Factory Droid

**Can Factory Droid use Lyria 3.5?**

Yes. Add Spiral to Factory Droid as an MCP server, and Factory Droid can find and run Lyria 3.5 like any built-in tool.

**How much does Lyria 3.5 cost in Factory Droid?**

$0.13 per generation. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Factory Droid plan is separate.

**Do I need a fal account to use Lyria 3.5 in Factory Droid?**

No. Spiral runs Lyria 3.5 on its own fal account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Lyria 3.5 in Factory Droid?**

About two minutes: add the server, then sign in, then check it.

**Which provider runs Lyria 3.5?**

Spiral offers Lyria 3.5 through fal and Gemini. Name one in your prompt, or let Factory Droid pick.

**Does Factory Droid wait while Lyria 3.5 runs?**

Lyria 3.5 runs in the background. Factory Droid starts the run, checks on it and gives you the audio when it's ready.

**How long can a Lyria 3.5 track be?**

Lyria 3.5 supports tracks up to three minutes long. State the duration you want in the musical brief.

**Can Lyria 3.5 make instrumental music?**

Yes. Ask for an instrumental track explicitly, then describe its instruments, tempo, and mood.

**What audio quality does Lyria 3.5 generate?**

Google documents 44.1 kHz stereo audio. Its evaluation reports improved audio fidelity compared with Lyria 2.

**Can Lyria 3.5 sing in different languages?**

Yes. Write the musical brief in the language you want the lyrics in.

**What should I put in a Lyria 3.5 prompt?**

Specify the instruments, tempo, and how the energy should change. For vocals, describe the singer’s sound; for a structured song, label the sections.

