Sonilo v1.1 text-to-music via Fal.AI. Generates up to 3 distinct music tracks (up to 600 seconds each) from a text description of the desired sound.
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": "sonilo/v1.1/text-to-music",
"input": {
"prompt": "A blend of R&B warmth, soul depth, neo-soul texture, gospel spirit, pop clarity, and jazz sophistication.",
"duration": 90,
"num_samples": 1
}
}'| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
prompt | string | Yes | - | Text prompt describing the music to generate. |
duration | integer | No | 90 | Requested output duration in seconds (max 600). Also used for billing (one billable unit per second per sample, rounded up). |
num_samples | integer | No | 1 | How many distinct music tracks to generate. |
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 |
Generate a single 90-second track blending several soul-adjacent genres for use as background music.
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: cdt_your_api_key" \
-d '{
"model": "sonilo/v1.1/text-to-music",
"input": {
"prompt": "A blend of R&B warmth, soul depth, neo-soul texture, gospel spirit, pop clarity, and jazz sophistication.",
"duration": 90,
"num_samples": 1
}
}'Generate 3 short variations of an upbeat jingle in one call to compare and choose the best fit.
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: cdt_your_api_key" \
-d '{
"model": "sonilo/v1.1/text-to-music",
"input": {
"prompt": "An upbeat, playful jingle with light percussion and a catchy melodic hook.",
"duration": 15,
"num_samples": 3
}
}'POST /v1/predictions