靈活的參數
可設定 1 個已記錄的參數,包括 source_image_url。
curl -X POST https://runapi.ai/api/v1/omnihuman/human_identification \
-H "Authorization: Bearer $RUNAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "omnihuman-1.5-human-identification",
"prompt": "基於這張人像和旁白音訊生成一段 720p 說話頭像影片,並使用主體遮罩保持說話者邊界穩定。"
}'
import { OmnihumanClient } from "@runapi.ai/omnihuman";
const client = new OmnihumanClient();
const result = await client.humanIdentification.run({
model: "omnihuman-1.5-human-identification",
prompt: "基於這張人像和旁白音訊生成一段 720p 說話頭像影片,並使用主體遮罩保持說話者邊界穩定。",
});
import os
import requests
response = requests.post(
"https://runapi.ai/api/v1/omnihuman/human_identification",
headers={"Authorization": f"Bearer {os.environ['RUNAPI_API_KEY']}"},
json={"model":"omnihuman-1.5-human-identification","prompt":"基於這張人像和旁白音訊生成一段 720p 說話頭像影片,並使用主體遮罩保持說話者邊界穩定。"}
)
response.raise_for_status()
<?php
$client = curl_init("https://runapi.ai/api/v1/omnihuman/human_identification");
curl_setopt_array($client, [
CURLOPT_HTTPHEADER => ["Authorization: Bearer " . getenv("RUNAPI_API_KEY"), "Content-Type: application/json"],
CURLOPT_POSTFIELDS => json_encode([
'model' => 'omnihuman-1.5-human-identification',
'prompt' => '基於這張人像和旁白音訊生成一段 720p 說話頭像影片,並使用主體遮罩保持說話者邊界穩定。',
])
]);
$response = curl_exec($client);
RunApi client = new RunApi(System.getenv("RUNAPI_API_KEY"));
Task task = client.humanIdentification().run({"model":"omnihuman-1.5-human-identification","prompt":"基於這張人像和旁白音訊生成一段 720p 說話頭像影片,並使用主體遮罩保持說話者邊界穩定。"});
task.waitForResult();
require "runapi/omnihuman"
client = RunApi::Omnihuman::Client.new
result = client.human_identification.run(
model: "omnihuman-1.5-human-identification",
prompt: "基於這張人像和旁白音訊生成一段 720p 說話頭像影片,並使用主體遮罩保持說話者邊界穩定。"
)
client := runapi.NewClient(os.Getenv("RUNAPI_API_KEY"))
task, err := client.humanIdentification.Run({"model":"omnihuman-1.5-human-identification","prompt":"基於這張人像和旁白音訊生成一段 720p 說話頭像影片,並使用主體遮罩保持說話者邊界穩定。"})
if err != nil { log.Fatal(err) }
task.Wait()
$ runapi generate \
--model omnihuman-1.5-human-identification \
--endpoint human_identification \
--wait
3 個版本可用
選擇任意模型,數秒內即可開始生成。
選擇任意模型,數秒內即可開始生成。
| 提供者 | Bytedance |
| 模型 ID | omnihuman-1.5-human-identification |
| 模態 | Utility |
| 任務類型 | Asynchronous |
| API 端點 | /api/v1/omnihuman/human_identification |
| 計費單位 | call |
| 輸入參數 | source_image_url |
| 目錄狀態 | 可正常運作 |
免費註冊後,在控制台建立 omnihuman-1.5-human-identification 的 API 金鑰。
向 /api/v1/omnihuman/human_identification 發送 POST 請求,並傳入 omnihuman-1.5-human-identification 模型 ID 和參數。
輪詢工作或按照回呼取得已完成的 omnihuman-1.5-human-identification 結果。
可設定 1 個已記錄的參數,包括 source_image_url。
開放 1 個公開 endpoint:human_identification。
按 call 計量,無需訂閱。
source_image_url暫無描述。
將舊照片提升至可印刷級解像度,適合小冊子同型錄。
修復並將 SD 影片提升至 4K,適合型錄重發佈。
批量移除圖片背景,統一來自數千個賣家的產品照片。
傳入 quickstart 顯示嘅 model ID。
每個 key 的 rate limit 會按使用層級而定。請查看定價頁了解最新限制。
可以——variant 只係一個旗標。只要更改 model 參數就可以切換。
在可用 streaming 的情況下,RunAPI 會端到端串流。
可以在公開 GitHub repo 開 issue,或者電郵支援團隊。