跳至內容

Mureka 9.5 Lyrics Video

整合

模型 id mureka/api/generate/lyrics-video
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/v1/run/mureka/api/generate/lyrics-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

此請求: $0.15 150 API 點數 · ≈ ₽16.14 在此頁面執行

取得 API 金鑰
Mureka 唇形同步與虛擬角色 唇形同步 #music#lyrics#video

從生成或上傳的歌曲建立歌詞影片,提供七種版面和四種長寬比

Mureka · 影片

您的第一個結果會顯示在這裡

在下方建立請求,並使用您的 API 金鑰執行。輸出會複製到我們的儲存空間,可永久保留或免費保留 7 天。

建立請求

控制項是根據模型結構描述生成的。變更設定時,程式碼和價格會同步更新。

aspect_ratio 預設 9:16

生成影片的長寬比。

進階 layout · song_id · upload_audio_id · background_id · cover_url · title · lyrics_start_row · lyrics_end_row · selection_start · selection_end · enable_safety_checker
layout 預設 layout_1

定義歌詞影片視覺版面配置的範本。

以 song_id 取代 upload_audio_id 提供的生成音訊識別碼;必須提供其中一個。對歌曲或器樂,從回應中的 song_id 取得其值。

以 upload_audio_id 取代 song_id 提供的上傳音訊識別碼;必須提供其中一個。透過 /files/upload 並使用 purpose='audio' 取得。

使用 purpose='lyrics-video' 透過 /files/upload 取得的背景圖像識別碼。

選用的封面圖像,layout_1 不可用。使用資料 URI 或公開可存取的 HTTPS URL 提供 JPG、PNG 或 WebP。

選用的標題,顯示於歌詞影片中。

以列為基礎選取時包含的第一個歌詞列;此選取方式需要 lyrics_end_row,且不使用依時間選取。列編號從 1 開始。

以列為基礎選取時包含的最後一個歌詞列,與 lyrics_start_row 一起定義,而非依時間選取。

需要 selection_end 且不使用歌詞列選取的音訊範圍邊界。指定包含音訊的開始位置,以毫秒計算。

需要 selection_start 且排除歌詞列選取的音訊範圍邊界。它指定包含的音訊結束位置,單位為毫秒。

POST /run/mureka/api/generate/lyrics-video?wait=20 報價 → $0.15
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/v1/run/mureka/api/generate/lyrics-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

執行此請求

您的金鑰會保留在此瀏覽器中:只會傳送至 Doitong API,且只有在勾選「記住」時才會儲存至 localStorage。 取得 API 金鑰

關於 Mureka 9.5 Lyrics Video

從 `song_id` 或 `upload_audio_id` 建立歌詞影片;必須且只能提供一個。選擇 `aspect_ratio`(16:9、9:16、3:4 或 4:3)和七種 `layout` 範本之一,也可選擇加入 `title`、`background_id` 或 `cover_url`。若只使用歌曲的一部分,請選取歌詞列或毫秒時間範圍,但不能同時使用兩者。

參數

名稱類型 預設值允許值 說明
song_id選填
類型string | null
以 song_id 取代 upload_audio_id 提供的生成音訊識別碼;必須提供其中一個。對歌曲或器樂,從回應中的 song_id 取得其值。
upload_audio_id選填
類型string | null
以 upload_audio_id 取代 song_id 提供的上傳音訊識別碼;必須提供其中一個。透過 /files/upload 並使用 purpose='audio' 取得。
background_id選填
類型string | null
使用 purpose='lyrics-video' 透過 /files/upload 取得的背景圖像識別碼。
cover_url選填
類型string | null
選用的封面圖像,layout_1 不可用。使用資料 URI 或公開可存取的 HTTPS URL 提供 JPG、PNG 或 WebP。
title選填
類型string | null
選用的標題,顯示於歌詞影片中。
aspect_ratio選填
類型enum
預設值9:16
16:99:163:44:3
生成影片的長寬比。
layout選填
類型enum
預設值layout_1
layout_1layout_2layout_3layout_4layout_5layout_6layout_7
定義歌詞影片視覺版面配置的範本。
lyrics_start_row選填
類型integer | null
≥ 1
以列為基礎選取時包含的第一個歌詞列;此選取方式需要 lyrics_end_row,且不使用依時間選取。列編號從 1 開始。
lyrics_end_row選填
類型integer | null
≥ 1
以列為基礎選取時包含的最後一個歌詞列,與 lyrics_start_row 一起定義,而非依時間選取。
selection_start選填
類型integer | null
≥ 0
需要 selection_end 且不使用歌詞列選取的音訊範圍邊界。指定包含音訊的開始位置,以毫秒計算。
selection_end選填
類型integer | null
≥ 0
需要 selection_start 且排除歌詞列選取的音訊範圍邊界。它指定包含的音訊結束位置,單位為毫秒。
enable_safety_checker選填
類型boolean
預設值true
在呼叫端獲得授權的情況下,將此值設為 false 可放寬審核。
必填

輸出

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "mureka/api/generate/lyrics-video",
  "status": "succeeded",
  "created_at": "2026-10-20T12:00:00Z",
  "started_at": "2026-10-20T12:00:02Z",
  "completed_at": "2026-10-20T12:00:09Z",
  "queue_position": null,
  "cost": {
    "credits": 150,
    "usd": "0.15",
    "charged": 150,
    "refunded": 0
  },
  "input": {},
  "output": {
    "video": {
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp4",
      "content_type": "video/mp4",
      "file_name": "0-output.mp4",
      "file_size": 1843200
    }
  },
  "outputs": [
    {
      "type": "video",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp4",
      "content_type": "video/mp4",
      "file_size": 1843200,
      "width": 1280,
      "height": 720,
      "duration": 5,
      "stored": true
    }
  ],
  "error": null,
  "metrics": {
    "inference_seconds": 6.8
  },
  "urls": {
    "self": "https://api.doitong.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
您的檔案,由您選擇每個 outputs[].url 都是儲存空間中的副本:可永久保留(按 GB-月計費),或免費保留 7 天;可透過帳戶設定或 ?storage= 設定。
所有模型使用相同結構圖片、影片和音訊皆包含 type、url、content_type、width、height 和 duration。output 是模型自己的結果物件。
輸出欄位
video
object {url, content_type, file_name, file_size}生成產生的影片檔案。

更多模型:唇形同步與虛擬角色

給 AI 代理程式:此頁面的 Markdown 位於 https://doitong.com/zh-TW/developers/models/mureka/api/generate/lyrics-video.md. 所有模型與指南: https://doitong.com/developers/llms.txt