Mureka 8 Song
mureka/8/songMureka 8 Song generates a complete song with vocals from your lyrics or from a text description, with genre, vocal gender, reference music, cloned voice and melody controls.
- Prix de base
- $0.30USD / exécution
- Exécution
- async
- Type de modèle
- audio
- Champs d'entrée
- 7
Essayer le modèle
Bac à sable
Votre sortie apparaîtra ici
Complétez les entrées, puis cliquez sur Exécuter.
Fiche modèle
Spécifications
Tarification
- Prix de base
- $0.30 / exécution
Contexte et modalités
- Entrée
- Défini par le schéma
- Sortie
- audio
Fonctionnalités
- Chat
- Non pris en charge
- Vision
- Non pris en charge
- Raisonnement
- Non pris en charge
- Sortie structurée
- Non pris en charge
- Appel de fonction
- Non pris en charge
- Entrée audio
- Non pris en charge
Accès
- Fournisseur
- Mureka
- ID du modèle
- mureka/8/song
- Exécution
- async
- URL de base
- https://api.sandbase.ai
- API
- Unified Run API
- Point de terminaison
- /v1/run
README de l'API
Mureka 8 Song
Mureka 8 Song writes and sings a full song from lyrics or from a prompt alone, and returns a reusable song_id.
Fields
| Field | Type | Default | Notes |
|---|---|---|---|
lyrics | string, up to 5,000 chars | — | Lyrics to sing. Provide lyrics or prompt; with lyrics the song is cheaper. |
prompt | string, up to 2,000 chars | — | Required without lyrics. Style control (≤1,024 chars) with lyrics. Not with melody_id. |
styles | array of pop / rock / jazz / r&b / edm / ambient / folk / latin / k-pop / j-pop / house / gospel / lo-fi | — | Prompt-to-song only; not with lyrics. |
gender | female / male | — | Vocal gender; a cloned voice takes precedence. |
reference_id | string | — | From mureka/files/upload (purpose reference). Not with melody_id. |
vocal_id | string | — | From mureka/voice/clone. Not with melody_id. |
melody_id | string | — | From mureka/files/upload (purpose melody). Not with prompt, reference_id or vocal_id. |
Output
url: generated audio file.song_id: reusable ID for other Mureka models that acceptsong_id.lyrics_sections: timed lyric sections (times in milliseconds), when available.
Billing
$0.07 per song when lyrics is provided; $0.3 per song when only a prompt (or other inputs without lyrics) is given.
| Request | Price |
|---|---|
| Song from your lyrics | $0.07 |
| Song from a prompt only | $0.30 |
Failed runs are not charged.
Prompting
- Provide
lyricsfor direct control over the words (and a lower price); useprompt+stylesto let the model write them. melody_idworks withlyricsonly; leaveprompt,reference_idandvocal_idempty.
Also on SandBase
Related: mureka/9.5/song, mureka/9/song.
Commencer à construire
Envoyez votre première requête
Point de terminaison compatible OpenAI avec authentification unifiée et suivi de l'utilisation.
# 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": "mureka/8/song",
"prompt": "A bright summer love song with a catchy chorus",
"styles": [
[
"pop",
"rock"
]
]
}
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"Schéma d'entrée
7 paramètres · 0 obligatoires · 7 facultatifs
| Paramètre | Type | Obligatoire | Description |
|---|---|---|---|
gender | string | Facultatif | Preferred vocal gender for lyrics-to-song generation. A reference or cloned voice takes precedence. · Options : female, male femalemale |
lyrics | string | Facultatif | Lyrics to sing, up to 5,000 characters. Provide `lyrics` for lyrics-to-song, or leave it empty and provide `prompt` for prompt-to-song. Supplying lyrics also lowers the price. · Longueur min. : 1 · Longueur max. : 5000 |
prompt | string | Facultatif | Describe the song, mood, instrumentation and vocals. Required when `lyrics` is empty (up to 2,000 characters). With `lyrics` it acts as a style control and supports up to 1,024 characters. Cannot be combined with `melody_id`. · Longueur min. : 1 · Longueur max. : 2000 |
styles | string[] | Facultatif | One or more genres for prompt-to-song generation. Cannot be used when `lyrics` is provided. |
vocal_id | string | Facultatif | Cloned voice ID (`vocal_id`) returned by `mureka/voice/clone`. Cannot be combined with `melody_id`. · Longueur min. : 1 |
melody_id | string | Facultatif | Melody ID returned by `mureka/files/upload` with purpose `melody`. Cannot be combined with `prompt`, `reference_id` or `vocal_id`; use it with `lyrics`. · Longueur min. : 1 |
reference_id | string | Facultatif | Reference-music ID returned by `mureka/files/upload` with purpose `reference`. Cannot be combined with `melody_id`. · Longueur min. : 1 |
Schéma de sortie
| Champ | Type | Description |
|---|---|---|
id | string | Identifiant unique de la tâche de génération |
status | string | Statut de la tâche : pending, running, completed, failed, timeout |
model | string | Modèle utilisé pour la génération |
outputs | array | Tableau des éléments de sortie |
outputs[].url | string | URL de l'artefact généré |
outputs[].content_type | string | Type MIME (par ex. image/png, video/mp4) |
error | object | null | Détails de l'erreur en cas d'échec, null en cas de succès |
error.type | string | Code de type d'erreur lisible par machine |
error.message | string | Description de l'erreur lisible par l'humain |
Flux de travail asynchrone
Ce modèle s’exécute de manière asynchrone. Envoyez une requête, puis interrogez le résultat.
- Envoyer : faites un POST vers /v1/run et lisez le
idrenvoyé. - Interroger : faites un GET sur /v1/run/{id} jusqu’à ce que le statut soit
completed,failedoutimeout. - Récupérer : lisez
outputsdans la réponse terminée.
Choisissez votre modèle
Comparer les modèles
| Modèle | Type | Prix par défaut | Lancement |
|---|---|---|---|
Mureka 8 SongCe modèle Mureka | Audio | $0.30 / exécution | 30 oct. 2026 |
Mureka | Audio | $0.75 / exécution | 30 oct. 2026 |
Mureka | Audio | $0.50 / exécution | 30 oct. 2026 |
Mureka | Audio | $0.10 / exécution | 30 oct. 2026 |
Mureka | Audio | $0.23 / exécution | 30 oct. 2026 |
Mureka | Audio | $0.10 / exécution | 30 oct. 2026 |
Questions
FAQ
Comment appeler Mureka 8 Song via SandBase ?
Créez une clé API SandBase, puis envoyez des requêtes avec l’identifiant de modèle "mureka/8/song" à Unified Run API (/v1/run) sur https://api.sandbase.ai. Les exemples de requêtes sur cette page montrent la charge utile exacte.
Ai-je besoin d’un compte Mureka distinct ?
Non. Une seule clé API SandBase et un seul solde vous donnent accès à Mureka 8 Song et aux autres modèles du catalogue ; vous n’avez pas besoin de créer un compte Mureka séparément.
