Google's Lyria 3 music generation model. Generates 30-second music clips with vocals, lyrics and multi-language support from a text prompt, optionally inspired by up to 10 reference images. Returns an MP3 file.
Test this model instantly in the Console Playground โ no code required
Copy usage instructions for Claude, ChatGPT, or other AI
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: cdt_your_api_key" \
-d '{
"model": "google/lyria-3",
"input": {
"prompt": "Bright upbeat K-pop electro-pop company jingle, 128 BPM, energetic female vocals singing in Korean, catchy chant chorus, synth brass, punchy drums. Lyrics: ์ฝ์ด! ๋ท! ํฌ๋ฐ์ด! ์ค๋์ ์์์ด ๋ด์ผ์ ๊ธฐ์ ๋ก! ์ฝ์ด! ๋ท! ํฌ๋ฐ์ด! AI๋ ๋๋ผ๋ ์ฐ๋ฆฌ์ ์์ด๋์ด!"
}
}'| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
prompt | string | Yes | - | Text prompt describing the music to generate. Be specific about genre, instruments, mood, tempo, and style. Include lyrics and vocal style for sung tracks. |
images | array | No | [] | Input images to inspire the music composition (up to 10 images) |
seed | integer | No | - | Random seed for more reproducible results (exact determinism not guaranteed) |
There are 3 ways to provide files for the images parameter:
Pass a publicly accessible URL directly. With the Storage API (POST /v1/files/upload-url) the file uploads straight to S3 (50MB per file) and you pass the returned file_url.
{
"model": "google/lyria-3",
"input": {
"prompt": "your prompt here",
"images": ["https://example.com/image.jpg"]
}
}Attach files directly to POST /v1/predictions/upload. No separate upload step, but the bytes pass through the API server so the whole request is capped at 10MB.
curl -X POST "https://api.core.today/v1/predictions/upload" \
-H "X-API-Key: cdt_your_api_key" \
-F "model=google/lyria-3" \
-F 'input={"prompt":"your prompt here"}' \
-F "file:images=@your_file.png"Common parameters used when calling POST /v1/predictions.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
model | string | Yes | - | Model identifier |
input | object | Yes | - | Object containing the model-specific parameters from the table above |
output_folder | string | No | - | Folder path for output files (max 256 chars, '..' not allowed) |
webhook_url | string | No | - | Webhook URL to call on completion |
is_public | boolean | No | false | If true, output files are also available via permanent public URLs |
The same Korean company-song lyrics given to every music model โ compare how each one sings them
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: cdt_your_api_key" \
-d '{
"model": "google/lyria-3",
"input": {
"prompt": "Bright upbeat K-pop electro-pop company jingle, 128 BPM, energetic female vocals singing in Korean, catchy chant chorus, synth brass, punchy drums. Lyrics: ์ฝ์ด! ๋ท! ํฌ๋ฐ์ด! ์ค๋์ ์์์ด ๋ด์ผ์ ๊ธฐ์ ๋ก! ์ฝ์ด! ๋ท! ํฌ๋ฐ์ด! AI๋ ๋๋ผ๋ ์ฐ๋ฆฌ์ ์์ด๋์ด!"
}
}'A calm instrumental clip from a short style description
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: cdt_your_api_key" \
-d '{
"model": "google/lyria-3",
"input": {
"prompt": "A calm acoustic folk song with gentle fingerpicked guitar and soft strings, warm and intimate, 90 BPM. Instrumental only."
}
}'Include lyrics and vocal style in the prompt for a sung clip
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: cdt_your_api_key" \
-d '{
"model": "google/lyria-3",
"input": {
"prompt": "Upbeat synth-pop, 120 BPM, bright female vocals singing 'We light up the night' as the chorus hook, punchy drums and shimmering synths."
}
}'POST /v1/predictions