Sand AISand AI MAGI-2MAGI-2 is now on SandBase: 1080p video with native audioTry it now

Sonilo 1.1 Text to Music

sonilo/1.1/text-to-music

Sonilo 1.1 Text to Music generates an instrumental music track up to 10 minutes long from a text description of style, mood, and instruments.

Base price
$0.23USD / run
Execution
async
Model type
audio
Input fields
2
Production route

Try the model

Playground

Open playground
Input
Description of the music to generate: style, mood, instruments.
1600
Length of the track in seconds (1–600). Tracks shorter than 10 seconds are billed as 10 seconds. Range: 1 to 600.
OutputReady

Your output will appear here

Complete the inputs, then click Run.

Model card

Specifications

Pricing

Base price
$0.23 / run

Context & modalities

Input
Schema-defined
Output
audio

Capabilities

Chat
Not supported
Vision
Not supported
Reasoning
Not supported
Structured output
Not supported
Function calling
Not supported
Audio input
Not supported

Access

Provider
Sonilo
Model ID
sonilo/1.1/text-to-music
Execution
async
Base URL
https://api.sandbase.ai
API
Unified Run API
Endpoint
/v1/run

API README

Sonilo 1.1 Text to Music

Sonilo 1.1 Text to Music generates a music track up to 10 minutes from a text prompt.

Fields

FieldTypeDefaultNotes
promptstring, required—Style, mood, instruments.
durationinteger 1–60090Track length in seconds.

Billing

$0.0025 per second of requested duration, with a 10-second minimum.

LengthPrice
5 s$0.025
90 s$0.225
600 s$1.50

Failed runs are not charged.

Prompting

  • List genre, mood, and lead instruments in one sentence.

Also on SandBase

Related: sonilo/1.1/text-to-sound-effects, sonilo/1.1/video-to-music, sonilo/1.1/video-to-sound-effects.

Start building

Send your first request

OpenAI-compatible endpoint with unified authentication and usage tracking.

Production API
Unified Run API endpoint
https://api.sandbase.ai/v1/run
Model ID
sonilo/1.1/text-to-music
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
  -X POST "https://api.sandbase.ai/v1/run" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'SANDBASE_JSON'
{
  "model": "sonilo/1.1/text-to-music",
  "prompt": "A blend of R&B warmth, soul depth, neo-soul texture, gospel spirit, pop clarity, and jazz sophistication.",
  "duration": 90
}
SANDBASE_JSON
)
run_id=$(printf '%s' "$result" | jq -r .id)
for attempt in $(seq 1 120); do
  status=$(printf '%s' "$result" | jq -r .status)
  case "$status" in completed|failed|timeout) break ;; esac
  sleep 2
  result=$(curl --fail-with-body --silent \
    -H "Authorization: Bearer $SANDBASE_API_KEY" \
    "https://api.sandbase.ai/v1/run/$run_id")
done
status=$(printf '%s' "$result" | jq -r .status)
[ "$status" = completed ] || { echo "Generation ended: $status" >&2; exit 1; }
printf '%s\n' "$result"
01

Input Schema

2 parameters · 1 required · 1 optional

ParameterTypeRequiredDescription
promptstringRequiredDescription of the music to generate: style, mood, instruments.
durationintegerOptionalLength of the track in seconds (1–600). Tracks shorter than 10 seconds are billed as 10 seconds. · Min: 1 · Max: 600 · Default: 90
02

Output Schema

FieldTypeDescription
idstringUnique identifier for the generation task
statusstringTask status: pending, running, completed, failed, timeout
modelstringModel used for the generation
outputsarrayArray of output items
outputs[].urlstringURL of the generated artifact
outputs[].content_typestringMIME type (e.g. image/png, video/mp4)
errorobject | nullError details if failed, null on success
error.typestringMachine-readable error type code
error.messagestringHuman-readable error description

Async Workflow

This model runs asynchronously. Submit a request, then poll for the result.

  1. Submit: POST to /v1/run and read the returned id.
  2. Poll: GET /v1/run/{id} until status is completed, failed or timeout.
  3. Retrieve: read outputs from the completed response.

Choose your model

Compare models

All image & video models
ModelTypeDefault priceReleased
SoniloAudio$0.23 / runJun 3, 2026
SoniloAudio$0.27 / runJul 21, 2026
SoniloAudio$0.01 / runJul 21, 2026
SoniloAudio$0.27 / runJun 3, 2026

Questions

FAQ

How do I call Sonilo 1.1 Text to Music through SandBase?

Create a SandBase API key, then send requests with the model ID "sonilo/1.1/text-to-music" to Unified Run API (/v1/run) at https://api.sandbase.ai. The request examples on this page show the exact payload.

Do I need a separate Sonilo account?

No. One SandBase API key and balance gives you access to Sonilo 1.1 Text to Music and the other models in the catalog; you do not need to sign up with Sonilo separately.