Sand AISand AI MAGI-2MAGI-2 ist jetzt auf SandBase: 1080p-Video mit nativem AudioJetzt testen

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.

Grundpreis
$0.23USD / Ausführung
Ausführung
async
Modelltyp
audio
Eingabefelder
2
Produktionsroute

Modell testen

Playground

Playground öffnen
Eingabe
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. Bereich: 1 bis 600.
AusgabeBereit

Ihre Ausgabe wird hier angezeigt

Vervollständigen Sie die Eingaben und klicken Sie dann auf Ausführen.

Modellkarte

Spezifikationen

Preisgestaltung

Basispreis
$0.23 / Ausführung

Kontext & Modalitäten

Eingabe
Schema-definiert
Ausgabe
audio

Funktionen

Chat
Nicht unterstützt
Vision
Nicht unterstützt
Reasoning
Nicht unterstützt
Strukturierte Ausgabe
Nicht unterstützt
Function Calling
Nicht unterstützt
Audioeingabe
Nicht unterstützt

Zugriff

Anbieter
Sonilo
Modell-ID
sonilo/1.1/text-to-music
Ausführung
async
Basis-URL
https://api.sandbase.ai
API
Unified Run API
Endpunkt
/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.

Jetzt loslegen

Senden Sie Ihre erste Anfrage

OpenAI-kompatibler Endpunkt mit einheitlicher Authentifizierung und Nutzungsnachverfolgung.

Produktions-API
Unified Run API-Endpunkt
https://api.sandbase.ai/v1/run
Modell-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

Eingabeschema

2 Parameter · 1 erforderlich · 1 optional

ParameterTypErforderlichBeschreibung
promptstringErforderlichDescription 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 · Standard: 90
02

Ausgabeschema

FeldTypBeschreibung
idstringEindeutige Kennung für den Generierungsauftrag
statusstringStatus des Auftrags: pending, running, completed, failed, timeout
modelstringVerwendetes Modell für die Generierung
outputsarrayArray von Ausgabeelementen
outputs[].urlstringURL des generierten Artefakts
outputs[].content_typestringMIME-Typ (z. B. image/png, video/mp4)
errorobject | nullFehlerdetails bei Fehlschlag, bei Erfolg null
error.typestringMaschinenlesbarer Fehler-Typcode
error.messagestringMenschenlesbare Fehlerbeschreibung

Asynchroner Workflow

Dieses Modell läuft asynchron. Senden Sie eine Anfrage und pollen Sie dann das Ergebnis.

  1. Senden: Per POST an /v1/run senden und das zurückgegebene id lesen.
  2. Pollen: GET /v1/run/{id}, bis der Status completed, failed oder timeout ist.
  3. Abrufen: outputs aus der abgeschlossenen Antwort lesen.

Wählen Sie Ihr Modell

Modelle vergleichen

Alle Bild- und Videomodelle
ModellTypStandardpreisVeröffentlicht
SoniloAudio$0.23 / Lauf3. Juni 2026
SoniloAudio$0.27 / Lauf21. Juli 2026
SoniloAudio$0.01 / Lauf21. Juli 2026
SoniloAudio$0.27 / Lauf3. Juni 2026

Fragen

FAQ

Wie rufe ich Sonilo 1.1 Text to Music über SandBase auf?

Erstellen Sie einen SandBase API-Schlüssel und senden Sie dann Anfragen mit der Modell-ID "sonilo/1.1/text-to-music" an Unified Run API (/v1/run) unter https://api.sandbase.ai. Die Anfragebeispiele auf dieser Seite zeigen die exakte Nutzlast.

Benötige ich ein separates Sonilo-Konto?

Nein. Mit einem SandBase API-Schlüssel und Guthaben erhalten Sie Zugriff auf Sonilo 1.1 Text to Music und die anderen Modelle im Katalog; Sie müssen sich nicht separat bei Sonilo registrieren.