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.
Try the model
PNG, JPEG, WebP, or GIF · 20 MiB maximum
Your output will appear here
Complete the inputs, then click Run.
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.
Start building
Submit this model through the 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"Create a SandBase API key and set it in your server environment. All requests use Bearer authentication.
export SANDBASE_API_KEY="YOUR_API_KEY"Keep the key on your server. Do not expose it in browser code or commit it to a repository.
POST to /v1/run with this model ID and its inputs. The request example above includes submission and polling.
Use the returned run ID to poll until the status is completed, failed or timeout. Read output only after completed.
curl "https://api.sandbase.ai/v1/run/$RUN_ID" \
-H "Authorization: Bearer $SANDBASE_API_KEY"Pass a publicly accessible file URL in the model’s image, video or audio field. Supported formats and limits are shown beside each Playground input.
Use the upload or replace control on supported image fields in the Playground. Video URL fields accept a hosted driving video; they do not imply video-upload support.
titlestringOptional title displayed in the lyrics video.
layoutstringVisual layout template for the lyrics video.
Default: "layout_1"
Possible values: "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.
Default: "9:16"
Possible values: "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`.
Minimum: 0
lyrics_end_rowintegerLast lyric row to include. Use together with `lyrics_start_row`; cannot be combined with `selection_start` / `selection_end`.
Minimum: 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.
Minimum: 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`.
Minimum: 1
{
"model": "mureka/lyrics-video",
"layout": "layout_1",
"aspect_ratio": "9:16"
}A completed run exposes its result in output. The following is the model’s saved example, not a new generation.
No example output has been published yet. Use Playground → Result → JSON after a completed run to inspect your response.