titlestring
Optional title displayed in the lyrics video.
mureka/lyrics-videoMureka Lyrics Video turns a Mureka song or uploaded audio into a lyrics video with selectable layout, aspect ratio, title, background and cover.
Prova il modello
PNG, JPEG, WebP o GIF · massimo 20 MiB
Il tuo output apparirà qui
Completa gli input, poi fai clic su Esegui.
Mureka Lyrics Video renders a lyrics video for a Mureka song_id or an uploaded audio ID, for a time range or a range of lyric rows.
| Field | Type | Default | Notes |
|---|---|---|---|
song_id | string | — | From a Mureka song or instrumental model (mureka/9.5/song, mureka/9/song or mureka/8/song, or an instrumental model). One of song_id / upload_audio_id. |
upload_audio_id | string | — | From mureka/files/upload (purpose audio). One of song_id / upload_audio_id. |
selection_start | integer (ms) | — | Range start in ms. Pair with selection_end; not with lyric rows. |
selection_end | integer (ms) | — | Range end in ms. Pair with selection_start. |
lyrics_start_row | integer ≥ 1 | — | First lyric row. Pair with lyrics_end_row; not with a time range. |
lyrics_end_row | integer ≥ 1 | — | Last lyric row. Pair with lyrics_start_row. |
aspect_ratio | 16:9 / 9:16 / 3:4 / 4:3 | 9:16 | Video aspect ratio. |
layout | layout_1 … layout_7 | layout_1 | Layout template; layout_1 does not show a cover. |
title | string | — | Title shown in the video. |
background_id | string | — | From mureka/files/upload (purpose lyrics-video). |
cover_image | image file or URL | — | JPG/PNG/WebP cover; not with layout_1. |
$0.10 per lyrics video.
| Request | Price |
|---|---|
| One video | $0.10 |
| 10 videos | $1.00 |
Failed runs are not charged.
song_id or upload_audio_id) and one range: selection_start + selection_end, or lyrics_start_row + lyrics_end_row.Related: mureka/9.5/song, mureka/files/upload.
Inizia a costruire
Invia questo modello tramite la SandBase Unified Run API.
# 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/lyrics-video",
"layout": "layout_1",
"aspect_ratio": "9:16"
}
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"Crea una SandBase API key e impostala nell'ambiente del server. Tutte le richieste usano l'autenticazione Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conserva la key sul server. Non esporla nel codice del browser né committarla in un repository.
Esegui POST su /v1/run con questo ID modello e i relativi input. L'esempio di richiesta sopra include invio e polling.
Usa il run ID restituito per fare polling finché lo stato non è completed, failed o timeout. Leggi l'output solo dopo completed.
curl "https://api.sandbase.ai/v1/run/$RUN_ID" \
-H "Authorization: Bearer $SANDBASE_API_KEY"Passa un URL di file accessibile pubblicamente nel campo image, video o audio del modello. I formati supportati e i limiti sono mostrati accanto a ciascun input del Playground.
Usa il controllo upload o replace sui campi immagine supportati nel Playground. I campi URL video accettano un video di driving ospitato; non implicano il supporto al caricamento video.
titlestringOptional title displayed in the lyrics video.
layoutstringVisual layout template for the lyrics video.
Predefinito: "layout_1"
Valori possibili: "layout_1", "layout_2", "layout_3", "layout_4", "layout_5", "layout_6", "layout_7"
song_idstring`song_id` returned by a Mureka song or instrumental model (`mureka/9.5/song`, `mureka/9/song` or `mureka/8/song`, or an instrumental model). Provide exactly one of `song_id` or `upload_audio_id`.
cover_imagestringOptional JPG, PNG or WebP cover image file or URL. Not supported with `layout_1`.
aspect_ratiostringOutput video aspect ratio.
Predefinito: "9:16"
Valori possibili: "16:9", "9:16", "3:4", "4:3"
background_idstringBackground image ID returned by `mureka/files/upload` with purpose `lyrics-video`.
selection_endintegerEnd of the audio range in milliseconds. Use together with `selection_start`; cannot be combined with `lyrics_start_row` / `lyrics_end_row`.
Minimo: 0
lyrics_end_rowintegerLast lyric row to include. Use together with `lyrics_start_row`; cannot be combined with `selection_start` / `selection_end`.
Minimo: 1
selection_startintegerStart of the audio range in milliseconds. Use together with `selection_end`; cannot be combined with `lyrics_start_row` / `lyrics_end_row`. One complete pair (time range or lyric rows) is required.
Minimo: 0
upload_audio_idstringID returned by `mureka/files/upload` with purpose `audio`. Provide exactly one of `song_id` or `upload_audio_id`.
lyrics_start_rowintegerFirst lyric row to include, starting at 1. Use together with `lyrics_end_row`; cannot be combined with `selection_start` / `selection_end`.
Minimo: 1
{
"model": "mureka/lyrics-video",
"layout": "layout_1",
"aspect_ratio": "9:16"
}Un run completato espone il risultato in output. Quanto segue è l'esempio salvato del modello, non una nuova generazione.
Non è ancora stato pubblicato alcun output di esempio. Usa Playground → Result → JSON dopo un run completato per ispezionare la risposta.