# Let Codex write the track.

Describe the track and Codex generates it, vocals or instrumental, its own lyrics or yours. 10.5¢ a generation, no Suno account of your own.

Provider in the worked example: Suno via Locus.

Price shown for this route: 10.5¢ per generation.

## What it can do

### Generate music

Describe the track, or supply your own lyrics and style. Choose vocals or instrumental.

Price: 10.5¢.

### Get music status

Check the job status until the audio is ready. Starting a generation does not return a finished track.



### Generate lyrics

Write lyrics without generating audio.



### Get lyrics status

Check whether the lyrics are ready, then use them in a music request.



## Connect your agent

Read the [Codex setup guide](https://taskfuel.ai/docs/setup-cli/).

Use one TaskFuel account and prepaid balance. Inspect the provider and request quote before a paid call, then review the returned response and recorded charge.

## When to use it

### A soundtrack for the thing you just built.

The build works and it is silent. Ask for a loop in the same session that wrote the game loop, at about a dime, instead of shipping without audio.

### Background music without a stock library.

Describe the mood and length while you are still cutting the video. No catalogue to browse and no per-seat subscription for the one track you use.

### Audio a task can finish on its own.

A Codex task cannot stop to ask you for a track. With generation in reach it produces one and carries on, and the prepaid balance caps what the run can spend.

## Questions

### Can Codex generate music?

Not on its own: Codex writes and runs code, and has no audio model behind it. Connect TaskFuel and it generates the track as a tool call, 10.5¢ a generation.

### Do I need a Suno account?

No. One TaskFuel account and one prepaid balance covers it. TaskFuel pays the provider and bills your balance.

### What does a track cost?

10.5¢ a generation. Lyrics on their own are 3¢. Codex reads the exact price before it pays.

### Can I get instrumental tracks?

Yes. Every generation takes an instrumental flag, and you can set style, title, negative tags and preferred vocal gender.

### How long does a generation take?

It runs asynchronously, typically 30 to 120 seconds. Codex submits the task, polls for it and hands back the audio when it is ready.

### Can I use the output commercially?

Usage rights come from the provider, not from TaskFuel. Check Suno's terms for the use you have in mind before you publish anything.

## Reference

- [Read this guide on the website](https://taskfuel.ai/tools/generate-music/codex/).
- [Browse providers and capabilities](https://taskfuel.ai/catalog/).
- [Pricing](https://taskfuel.ai/pricing/).
- [Agent instructions](https://taskfuel.ai/llms.txt).
