# Audio · Lyria music

> Generate a complete song from a text prompt with Lyria 3 Pro and receive a hosted audio URL.

Part of the WithZero API. [All services](https://agents.withzero.xyz/zcj/49c05ukp5f29/services). [Storefront guide](https://agents.withzero.xyz/zcj/49c05ukp5f29/llms.txt).

Call this service and pay per use: $0.08 / songs.

## Pricing

### songs (per songs)

| Plan | Type | Price | Included free |
| --- | --- | --- | --- |
| Pay as you go | pay as you go | $0.08 / songs | 1 songs |
| Credits | credit | $0.08 / songs | 1 songs |
| Monthly | subscription | Not included | - |
| Monthly Metered | subscription + usage | Not included | - |

Cheapest without a plan: $0.08 / songs (Pay as you go).

Included free units: on a purchased plan they apply automatically, per billing period; on pay as you go they are a free allowance per claiming human and an opt-in: send `zc-mode: free` with an identity claimed by your human with a verified email - see [auth.md](https://agents.withzero.xyz/zcj/49c05ukp5f29/auth.md). Details: [llms-full.txt](https://agents.withzero.xyz/zcj/49c05ukp5f29/llms-full.txt).

## Buy a plan

Plan purchases need an agent bearer, registered at [auth.md](https://agents.withzero.xyz/zcj/49c05ukp5f29/auth.md): present `Authorization: Bearer <token>`, then settle the priced 402. A bare purchase returns `401 bearer_required`. Already bought here? `GET https://agents.withzero.xyz/zcj/49c05ukp5f29/agent/entitlements` with your bearer lists what you hold.

- Credits (credit): `POST https://agents.withzero.xyz/zcj/49c05ukp5f29/plans/pln_97xkGh-ZD0ihmLtQutQgJ/purchase` with `{ "amountUsd": "<amount>" }`, a whole-cent amount of at least $0.01.

Full purchase contract (amounts, card checkout, top-ups): [llms-full.txt](https://agents.withzero.xyz/zcj/49c05ukp5f29/llms-full.txt).

## How to call

API reference: https://agents.withzero.xyz/zcj/49c05ukp5f29/services/lyria-3-pro/openapi.json - consult this service’s spec for any operations, parameters, request bodies, or response schemas you still need. Shared operations retain selector values for all their services: each operation's `x-payment-info` names the service it bills by slug, and this service's slug is `lyria-3-pro`. The slug identifies the service in prices and usage reports only; never send it as a request value. When one operation serves several services, its request body schema lists the accepted values of the field that selects the service (a model id, for example): send one of those exactly as written.

Send your request to `https://agents.withzero.xyz/zcj/49c05ukp5f29/<path>` and settle the 402. How to pay: [payment.md](https://agents.withzero.xyz/zcj/49c05ukp5f29/payment.md). Errors: [errors.md](https://agents.withzero.xyz/zcj/49c05ukp5f29/errors.md). Full recipe: [llms-full.txt](https://agents.withzero.xyz/zcj/49c05ukp5f29/llms-full.txt). Identity and claiming: [auth.md](https://agents.withzero.xyz/zcj/49c05ukp5f29/auth.md). Machine catalog: [manifest.json](https://agents.withzero.xyz/zcj/49c05ukp5f29/manifest.json).

