一組驗證,全部供應商通用
一把 RunAPI 金鑰就能開通整個目錄。無需分開註冊帳戶,也不用為每個整合各自輪替金鑰。
透過 RunAPI 使用 OmniHuman API,包含 model skill、統一驗證與按用量計費。
curl -X POST https://runapi.ai/api/v1/omnihuman/audio_to_video \
-H "Authorization: Bearer $RUNAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "omnihuman-1.5-subject-detection",
"image_url": "https://cdn.runapi.ai/public/samples/portrait.jpg",
"audio_url": "https://cdn.runapi.ai/public/samples/voice.mp3"
}'
import { OmnihumanClient } from "@runapi.ai/omnihuman";
const client = new OmnihumanClient();
const result = await client.audioToVideo.run({
model: "omnihuman-1.5-subject-detection",
image_url: "https://cdn.runapi.ai/public/samples/portrait.jpg",
audio_url: "https://cdn.runapi.ai/public/samples/voice.mp3",
});
require "runapi/omnihuman"
client = RunApi::Omnihuman::Client.new
result = client.audio_to_video.run(
model: "omnihuman-1.5-subject-detection",
image_url: "https://cdn.runapi.ai/public/samples/portrait.jpg",
audio_url: "https://cdn.runapi.ai/public/samples/voice.mp3"
)
npx skills add runapi-ai/omnihuman -g
# Claude Code
claude mcp add runapi -s user -- npx -y @runapi.ai/mcp
# Codex
codex plugin install runapi-mcp@agents
# Cursor / Windsurf / VS Code
npx @runapi.ai/mcp init cursor
OmniHuman 可根據來源圖片和驅動音訊生成說話頭像影片。輔助端點可辨識圖片中的人體區域,並回傳可用於 audio-to-video 請求的主體遮罩。
| Endpoint | 解析度 | 時長 | 價格 | |
|---|---|---|---|---|
| audio_to_video | 720p, 1080p | — | $0.32 / 秒 |
顯示 omnihuman-1.5 的定價。其他變體保有各自的 endpoint 定價。
挑選符合輸出類型、品質門檻與延遲目標的模型與變體。
設定 RunAPI key,並在 coding workspace 安裝 model skill。
使用 skill 指引,在你的 app 內加入模型功能。
透過 task ID 查詢、在支援時串流,或處理 webhook callback。
一把 RunAPI 金鑰就能開通整個目錄。無需分開註冊帳戶,也不用為每個整合各自輪替金鑰。
以美元按次計費,每月結帳。失敗的生成不收費。
型別化 schema 與 setup 備註打包在 model skill 內,讓實作從正確契約開始。
需要來源圖片 URL 和來源音訊 URL。也可以傳入遮罩 URL、提示詞、解析度、快速模式、seed 和回呼網址來細化請求。
Human Identification 會分析一張來源圖片,並回傳用於標示人體區域的圖片結果,適合檢查或前處理。
Subject Detection 會分析一張來源圖片,並回傳主體遮罩;這些遮罩可以作為 `mask_urls` 傳入 OmniHuman audio-to-video 請求。
當你希望加強主體分離,或已經為同一來源圖片執行過 Subject Detection 並取得遮罩時,可以傳入 `mask_urls`。
OmniHuman audio-to-video 支援 720p 和 1080p 輸出;請求未指定時預設使用 1080p。
先選擇符合你品質標準中最便宜的版本。大多數團隊會先用快速版本,之後再升級到專業版用於正式上線。