Mureka 9 Soundtrack
mureka/9/soundtrackMureka 9 Soundtrack composes a soundtrack that fits an uploaded video or image, with optional style guidance and audio range control.
- Prix de base
- $0.10USD / exécution
- Exécution
- async
- Type de modèle
- audio
- Champs d'entrée
- 5
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.10 / 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/9/soundtrack
- Exécution
- async
- URL de base
- https://api.sandbase.ai
- API
- Unified Run API
- Point de terminaison
- /v1/run
README de l'API
Mureka 9 Soundtrack
Mureka 9 Soundtrack scores a video or image uploaded through mureka/files/upload (purpose soundtrack), with an optional style prompt.
Fields
| Field | Type | Default | Notes |
|---|---|---|---|
video_id | string | — | From mureka/files/upload (purpose soundtrack). One of video_id / image_id. |
image_id | string | — | From mureka/files/upload (purpose soundtrack). One of video_id / image_id. |
prompt | string, up to 1,024 chars | — | Optional style and mood. |
audio_start | integer (ms) | — | Start of the audio segment in milliseconds. |
audio_end | integer (ms) | — | End of the audio segment in milliseconds (with audio_start). |
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.1 per soundtrack. Each request returns one result.
| Request | Price |
|---|---|
| One soundtrack | $0.10 |
| 10 soundtracks | $1.00 |
Failed runs are not charged.
Prompting
- Upload the video or image first with
mureka/files/upload(purposesoundtrack), then passvideo_idorimage_id.
Also on SandBase
Related: mureka/9.5/soundtrack, mureka/8/soundtrack, mureka/files/upload.
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/9/soundtrack",
"prompt": "Uplifting cinematic strings that build to a hopeful finale"
}
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
5 paramètres · 0 obligatoires · 5 facultatifs
| Paramètre | Type | Obligatoire | Description |
|---|---|---|---|
prompt | string | Facultatif | Optional description of the soundtrack style and mood. · Longueur min. : 1 · Longueur max. : 1024 |
image_id | string | Facultatif | Image ID returned by `mureka/files/upload` with purpose `soundtrack` (images up to 50 MB). Provide exactly one of `video_id` or `image_id`. · Longueur min. : 1 |
video_id | string | Facultatif | Video ID returned by `mureka/files/upload` with purpose `soundtrack` (videos up to 100 MB). Provide exactly one of `video_id` or `image_id`. · Longueur min. : 1 |
audio_end | integer | Facultatif | End time of the soundtrack audio in milliseconds. Used together with `audio_start`; if it exceeds the song length, generation stops at the end of the song. The segment must be at least 3 seconds; a 1-second fade-out is added. |
audio_start | integer | Facultatif | Start time of the soundtrack audio in milliseconds. If only `audio_start` is set, generation starts there and runs for the video duration. The segment must be at least 3 seconds; a 1-second fade-in is added. |
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 9 SoundtrackCe modèle Mureka | Audio | $0.10 / 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.07 / exécution | 30 oct. 2026 |
Questions
FAQ
Comment appeler Mureka 9 Soundtrack via SandBase ?
Créez une clé API SandBase, puis envoyez des requêtes avec l’identifiant de modèle "mureka/9/soundtrack" à 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 9 Soundtrack et aux autres modèles du catalogue ; vous n’avez pas besoin de créer un compte Mureka séparément.
