Music generation
Music generation: describe a track, get an original piece back in the same response. Google Lyria 3: a 30-second clip ($0.06) or a full song ($0.12). No account or API key: the payment is the only credential.
Answeringour last check, 2026-09-24
1 of 1checks answered this week
788 msmedian answer time
$0.06listed price per call
$0.06price it asked us
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://www.trezalabs.com/api/x402/music
| Category | Everything else |
|---|---|
| Provider host | www.trezalabs.com |
| Networks | eip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp |
| Payment schemes | exact |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-09-24 | valid payment request | 402 | $0.06 | 788 ms |
Example input (from the provider)
{
"body": {
"model": "lyria-3-clip",
"prompt": "warm lo-fi hip hop, soft piano chords, vinyl crackle, relaxed 80 bpm groove"
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"additionalProperties": false,
"properties": {
"async": {
"default": false,
"description": "true: answer 202 with a statusUrl at once.",
"type": "boolean"
},
"model": {
"default": "lyria-3-clip",
"description": "lyria-3-clip: A 30-second piece: a bed for a short video, a sting, a loop. $0.06 lyria-3-pro: A full-length song with structure (intro, development, ending). $0.12",
"enum": [
"lyria-3-clip",
"lyria-3-pro"
],
"type": "string"
},
"prompt": {
"description": "Genre, mood, instruments, tempo.",
"maxLength": 2000,
"type": "string"
}
},
"required": [
"prompt"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}