Google's latest Lyria 3.5 music generation model via fal.ai. Generates full-length songs up to a few minutes with vocals and lyrics; control length and structure with duration hints or section timestamps in the prompt. Supports English, German, Spanish, French, Hindi, Japanese, Korean and Portuguese. 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.5",
"input": {
"prompt": "๋ฐ๊ณ ๊ฒฝ์พํ K-pop ์ผ๋ ํธ๋กํ ํ์ฌ ์ง๊ธ, 128 BPM, ํ์ฐฌ ์ฌ์ฑ ๋ณด์ปฌ๊ณผ ๋จ์ฑ ์ฝ๋ฌ์ค, ์ ์ค ๋ธ๋์ค์ ํ์น ์๋ ๋๋ผ. [0:00-0:10] Intro: ์ ์ค ๋ธ๋์ค ํ
. [0:10-0:35] Verse: '์์นจ๋ถํฐ AI, ์ปคํผ๋ณด๋ค ์งํด / ์ฝ๋ฉํ๋ค ๋ณด๋ ๋ฒ์จ ์๋ฒฝ ๋ ์๋ค! / ์ ๋๋ ๊ฑด ์์ด, ์ผ๋จ ๋ง๋ค์ด ๋ด / ์์์ด ํ์ค ๋๋ ๋ง๋ฒ ๊ฐ์ ํ์ฌ!'. [0:35-1:05] Chorus: '์ฝ์ด! ๋ท! ํฌ๋ฐ์ด! / ์ค๋์ ์์์ด ๋ด์ผ์ ๊ธฐ์ ๋ก! / ์ฝ์ด! ๋ท! ํฌ๋ฐ์ด! / AI๋ ๋๋ผ๋ ์ฐ๋ฆฌ์ ์์ด๋์ด!'. [1:05-1:25] Outro: '๋๋ฑ๋๋ฑ ๋ง๋ค๊ณ , ๋ฐ์ง๋ฐ์ง ๋น๋ด๊ณ ! / ๊ธฐ์ ์ ๋์ด ๊ฒฝํ์ผ๋ก! / ์ฝ์ด๋ทํฌ๋ฐ์ด, Hey!'. 1๋ถ 25์ด ๊ธธ์ด."
}
}'| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
prompt | string | Yes | - | Text prompt describing the music. Include genre, mood, instrumentation, tempo, vocals, and structure. Use duration hints ('a 2-minute track') or section markers like '[0:00-0:30] Intro' to control length and structure. |
image_url | string | No | - | Optional image URL used as inspiration โ the music matches the image's mood and theme |
There are 3 ways to provide files for the image_url 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.5",
"input": {
"prompt": "your prompt here",
"image_url": "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.5" \
-F 'input={"prompt":"your prompt here"}' \
-F "file:image_url=@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.5",
"input": {
"prompt": "๋ฐ๊ณ ๊ฒฝ์พํ K-pop ์ผ๋ ํธ๋กํ ํ์ฌ ์ง๊ธ, 128 BPM, ํ์ฐฌ ์ฌ์ฑ ๋ณด์ปฌ๊ณผ ๋จ์ฑ ์ฝ๋ฌ์ค, ์ ์ค ๋ธ๋์ค์ ํ์น ์๋ ๋๋ผ. [0:00-0:10] Intro: ์ ์ค ๋ธ๋์ค ํ
. [0:10-0:35] Verse: '์์นจ๋ถํฐ AI, ์ปคํผ๋ณด๋ค ์งํด / ์ฝ๋ฉํ๋ค ๋ณด๋ ๋ฒ์จ ์๋ฒฝ ๋ ์๋ค! / ์ ๋๋ ๊ฑด ์์ด, ์ผ๋จ ๋ง๋ค์ด ๋ด / ์์์ด ํ์ค ๋๋ ๋ง๋ฒ ๊ฐ์ ํ์ฌ!'. [0:35-1:05] Chorus: '์ฝ์ด! ๋ท! ํฌ๋ฐ์ด! / ์ค๋์ ์์์ด ๋ด์ผ์ ๊ธฐ์ ๋ก! / ์ฝ์ด! ๋ท! ํฌ๋ฐ์ด! / AI๋ ๋๋ผ๋ ์ฐ๋ฆฌ์ ์์ด๋์ด!'. [1:05-1:25] Outro: '๋๋ฑ๋๋ฑ ๋ง๋ค๊ณ , ๋ฐ์ง๋ฐ์ง ๋น๋ด๊ณ ! / ๊ธฐ์ ์ ๋์ด ๊ฒฝํ์ผ๋ก! / ์ฝ์ด๋ทํฌ๋ฐ์ด, Hey!'. 1๋ถ 25์ด ๊ธธ์ด."
}
}'Duration and structure hints in the prompt shape the whole song
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.5",
"input": {
"prompt": "An uplifting pop song with driving electric guitar, energetic drums, and a catchy chorus singing 'Rise up and shine today'. 120 BPM. Two minutes long with a verse-chorus-verse-chorus-bridge-chorus structure."
}
}'Korean lyrics with section markers โ generated through the gateway
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.5",
"input": {
"prompt": "์์ํ ํผ์๋
ธ ๋ฐ๋ผ๋, 72 BPM, ์ฌ์ฑ ๋ณด์ปฌ, ์ด์ฟ ์คํฑ ์
๊ธฐ๋ง. [0:00-0:15] Intro: ํผ์๋
ธ ์๋ก. [0:15-0:50] Verse: '์ฐฝ๊ฐ์ ๋จ์ ๋น์ด ๋๋ฅผ ๋ฎ์'. [0:50-1:30] Chorus: '๋ค์ ๋ถ๋ฅด๋ฉด ๋์์ฌ๊น'. 1๋ถ 30์ด ๊ธธ์ด."
}
}'POST /v1/predictions