[Integrations](https://spiral.ai/integrations) › [Codex](https://spiral.ai/integrations/codex) › [ACE-Step Lyrics to Audio](https://spiral.ai/integrations/codex/ace-step-lyrics-to-audio)

# How to Use ACE-Step Lyrics to Audio in Codex

ACE-Step Lyrics to Audio turns written lyrics and a musical brief into song drafts up to four minutes long. Unlike ACE-Step Audio to Audio, it creates music without a reference recording.

|  |  |
| --- | --- |
| Model | ACE-Step Lyrics to Audio |
| Available through | fal |
| Category | Audio |
| Price | $0.00026 per second. Billed on `duration`, default 60. |
| Returns | audio |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with ACE-Step Lyrics to Audio in Codex

- Read the game's audio brief and use ACE-Step Lyrics to Audio to create a 60-second instrumental menu theme with piano, soft strings, and a calm mood. Use [inst] for the lyrics and save the take with the prototype's audio assets.
- Use ACE-Step Lyrics to Audio to make a 30-second instrumental backing track for the product demo described in this repository. Keep the musical brief focused on light percussion and acoustic guitar, and use [instrumental] for the lyrics.
- Read the song lyrics in the project and use ACE-Step Lyrics to Audio to create a 90-second demo. Preserve the words, mark the verse and chorus, and request an acoustic folk arrangement.
- Compose a 30-second upbeat lo-fi track with ACE-Step Lyrics to Audio for a product video. Save the result in ./assets.
- Make a calm piano loop with ACE-Step Lyrics to Audio for a meditation app.

## How to set up ACE-Step Lyrics to Audio in Codex

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

### Use Spiral's MCP server

1. **Add the hosted server**

```bash
codex mcp add spiral --url https://api.spiral.ai/mcp
```

2. **Sign in**: Codex opens the browser: sign in to Spiral and click Authorize. No API key. `codex mcp list` then shows Spiral.

```bash
codex mcp login spiral
```

### Use the Spiral skill

1. **Send Codex 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 ACE-Step Lyrics to Audio**: 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": "fal-ai/ace-step",
    "input": {
      "tags": "lofi, hiphop, drum and bass, trap, chill"
    }
  }'
```

Then paste one of the prompts above: Codex finds ACE-Step Lyrics to Audio on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/codex

## ACE-Step Lyrics to Audio tools and prices

- [ACE Step · Lyrics to Audio](https://spiral.ai/tools/fal/fal-ai/ace-step) (fal): $0.00026 per second. Billed on `duration`, default 60.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| lyrics |  |  | Lyrics to be sung in the audio. If not provided or if [inst] or [instrumental] is the content of this field, no lyrics will be sung. Use control structures like [verse], [chorus] and [bridge] to control the structure of the song. |
| duration | 5 to 240 | 60 | The duration of the generated audio in seconds. |
| number_of_steps | 3 to 60 | 27 | Number of steps to generate the audio. |
| seed |  | — | Random seed for reproducibility. If not provided, a random seed will be used. |
| scheduler | euler, heun | euler | Scheduler to use for the generation process. |
| guidance_type | cfg, apg, cfg_star | apg | Type of CFG to use for the generation process. |

## What can you do with ACE-Step Lyrics to Audio in Codex?

Turn a project's music briefs into playable drafts for games, demos, and other prototypes. Use ACE-Step takes to compare musical directions alongside the scenes or features they accompany.

### Songwriting demos

Audition a verse and chorus as a new song, or revise an existing demo to compare another lyrical or musical direction.

### Podcast theme drafts

Create an instrumental theme from a brief, or remix an existing theme recording to explore a different treatment.

### Game soundtrack sketches

Explore music for a menu, quiet exploration scene, or tense encounter. Start with a written brief or an existing music sketch, then audition the result against the scene.

### Short video backing

Draft instrumental backing for a product demonstration or travel edit, either from a musical description or by remixing an existing cue.

### Lyric delivery experiments

Hear how written lines sound in a new song or an edited recording. Compare phrasing and pronunciation before choosing a take.

### Complete song drafts

Turn a musical brief and sectioned lyrics into a song draft lasting up to four minutes.

## Overview

- [fal](https://spiral.ai/providers/fal)
- [All Codex guides](https://spiral.ai/integrations/codex)

## ACE-Step Lyrics to Audio in other agents

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

## More Codex guides

- [ACE-Step Audio to Audio](https://spiral.ai/integrations/codex/ace-step-audio-to-audio)
- [ACE-Step Prompt to Audio](https://spiral.ai/integrations/codex/ace-step-prompt-to-audio)
- [ACE-Step Audio Outpaint](https://spiral.ai/integrations/codex/ace-step-audio-outpaint)
- [Async Pro 1.0](https://spiral.ai/integrations/codex/async-pro-1-0)
- [ACE-Step Audio Inpaint](https://spiral.ai/integrations/codex/ace-step-audio-inpaint)
- [Audio Understanding](https://spiral.ai/integrations/codex/audio-understanding)

## Questions about ACE-Step Lyrics to Audio in Codex

**Can Codex use ACE-Step Lyrics to Audio?**

Yes. Add Spiral to Codex as an MCP server, and Codex can find and run ACE-Step Lyrics to Audio like any built-in tool.

**How much does ACE-Step Lyrics to Audio cost in Codex?**

$0.00026 per second. Billed on `duration`, default 60. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Codex plan is separate.

**Do I need a fal account to use ACE-Step Lyrics to Audio in Codex?**

No. Spiral runs ACE-Step Lyrics to Audio on its own fal account. You sign in to Spiral once and never paste a key.

**How long does it take to set up ACE-Step Lyrics to Audio in Codex?**

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

**Does Codex wait while ACE-Step Lyrics to Audio runs?**

ACE-Step Lyrics to Audio runs in the background. Codex starts the run, checks on it and gives you the audio when it's ready.

**What is ACE-Step useful for?**

Use ACE-Step to audition song ideas, instrumental backing, and alternate musical treatments. It is a practical choice for drafts you can listen to and revise before committing to a production.

**How should I write an ACE-Step music brief?**

Keep the musical description separate from the words to be sung. Start with a focused brief such as acoustic folk, guitar, gentle percussion, and a restrained vocal, then place the lyrics in their own section.

**Can ACE-Step make instrumentals?**

Yes. Use [instrumental] or [inst] in place of sung lyrics, and describe the instrumentation and mood in the musical brief.

**How do I indicate song sections?**

Place [verse], [chorus], and [bridge] before the corresponding lyrics. Treat these as structural guidance and listen to the result before assuming the arrangement follows every instruction.

**Does ACE-Step perform equally well in every language?**

No. The model card says performance varies by language and is strongest in its top ten languages, so audition pronunciation before using a take.

