Mureka Song Edit
mureka/song/editMureka Song Edit rewrites a selected time region of a Mureka song or uploaded audio with replacement lyrics.
- Prezzo base
- $0.10USD / esecuzione
- Esecuzione
- async
- Tipo di modello
- audio
- Campi di input
- 5
Prova il modello
Playground
Il tuo output apparirà qui
Completa gli input, poi fai clic su Esegui.
Scheda del modello
Specifiche
Prezzi
- Prezzo base
- $0.10 / esecuzione
Contesto e modalità
- Input
- Definito dallo schema
- Output
- audio
Funzionalità
- Chat
- Non supportato
- Vision
- Non supportato
- Ragionamento
- Non supportato
- Output strutturato
- Non supportato
- Chiamata di funzione
- Non supportato
- Input audio
- Non supportato
Accesso
- Provider
- Mureka
- ID modello
- mureka/song/edit
- Esecuzione
- async
- URL base
- https://api.sandbase.ai
- API
- Unified Run API
- Endpoint
- /v1/run
README API
Mureka Song Edit
Mureka Song Edit replaces the vocals in one region (at least 3 seconds) of a Mureka song or uploaded audio with new lyrics.
Fields
| Field | Type | Default | Notes |
|---|---|---|---|
song_id | string | — | From mureka/9.5/song, mureka/9/song or mureka/8/song. One of song_id / upload_audio_id. |
upload_audio_id | string | — | From mureka/files/upload (purpose audio). One of song_id / upload_audio_id. |
lyrics | string, required, up to 3,000 chars | — | New lyrics for the region. |
edit_start | integer (ms), required | — | Region start in milliseconds. |
edit_end | integer (ms), required | — | Region end in milliseconds; region ≥ 3 s. |
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.10 per edited region. Each request returns one song.
| Request | Price |
|---|---|
| One edit | $0.10 |
| 10 edits | $1.00 |
Failed runs are not charged.
Prompting
- Match the replacement lyrics to the length of the region you rewrite.
Also on SandBase
Related: mureka/9.5/song, mureka/8/song/extend.
Inizia a costruire
Invia la tua prima richiesta
Endpoint compatibile con OpenAI con autenticazione unificata e tracciamento dell'utilizzo.
# 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/song/edit"
}
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"Schema di input
5 parametri · 3 obbligatori · 2 facoltativi
| Parametro | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
lyrics | string | Obbligatorio | Replacement lyrics for the selected region, up to 3,000 characters. · Lunghezza minima: 1 · Lunghezza massima: 3000 |
edit_end | integer | Obbligatorio | End of the region to rewrite, in milliseconds. The region must be at least 3 seconds (3000 ms) long. · Min: 0 |
edit_start | integer | Obbligatorio | Start of the region to rewrite, in milliseconds. · Min: 0 |
song_id | string | Facoltativo | `song_id` returned by `mureka/9.5/song`, `mureka/9/song` or `mureka/8/song`. Provide exactly one of `song_id` or `upload_audio_id`. · Lunghezza minima: 1 |
upload_audio_id | string | Facoltativo | ID returned by `mureka/files/upload` with purpose `audio`. Provide exactly one of `song_id` or `upload_audio_id`. · Lunghezza minima: 1 |
Schema di output
| Campo | Tipo | Descrizione |
|---|---|---|
id | string | Identificatore univoco dell'attività di generazione |
status | string | Stato dell'attività: pending, running, completed, failed, timeout |
model | string | Modello usato per la generazione |
outputs | array | Array di elementi di output |
outputs[].url | string | URL dell'artefatto generato |
outputs[].content_type | string | Tipo MIME (ad esempio image/png, video/mp4) |
error | object | null | Dettagli dell'errore in caso di fallimento, null in caso di successo |
error.type | string | Codice del tipo di errore leggibile dalla macchina |
error.message | string | Descrizione dell'errore leggibile dall'utente |
Workflow asincrono
Questo modello funziona in modo asincrono. Invia una richiesta, quindi esegui il polling per ottenere il risultato.
- Invio: esegui POST su /v1/run e leggi il
idrestituito. - Polling: esegui GET /v1/run/{id} finché lo stato non è
completed,failedotimeout. - Recupero: leggi
outputsdalla risposta completata.
Scegli il tuo modello
Confronta i modelli
| Modello | Tipo | Prezzo predefinito | Rilasciato |
|---|---|---|---|
Mureka Song EditQuesto modello Mureka | Audio | $0.10 / esecuzione | 30 ott 2026 |
Mureka | Audio | $0.75 / esecuzione | 30 ott 2026 |
Mureka | Audio | $0.50 / esecuzione | 30 ott 2026 |
Mureka | Audio | $0.10 / esecuzione | 30 ott 2026 |
Mureka | Audio | $0.23 / esecuzione | 30 ott 2026 |
Mureka | Audio | $0.10 / esecuzione | 30 ott 2026 |
Domande
FAQ
Come chiamo Mureka Song Edit tramite SandBase?
Crea una chiave API SandBase, poi invia richieste con l'ID modello "mureka/song/edit" a Unified Run API (/v1/run) su https://api.sandbase.ai. Gli esempi di richiesta in questa pagina mostrano il payload esatto.
Mi serve un account Mureka separato?
No. Una sola chiave API e un solo saldo SandBase ti danno accesso a Mureka Song Edit e agli altri modelli del catalogo; non è necessario registrarsi separatamente su Mureka.
