curl --request POST \
--url https://api.evolink.ai/v1/videos/generations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "omnihuman-1.5",
"audio_url": "https://example.com/audio.mp3",
"image_urls": [
"https://example.com/person.jpg"
]
}
'import requests
url = "https://api.evolink.ai/v1/videos/generations"
payload = {
"model": "omnihuman-1.5",
"audio_url": "https://example.com/audio.mp3",
"image_urls": ["https://example.com/person.jpg"]
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
model: 'omnihuman-1.5',
audio_url: 'https://example.com/audio.mp3',
image_urls: ['https://example.com/person.jpg']
})
};
fetch('https://api.evolink.ai/v1/videos/generations', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.evolink.ai/v1/videos/generations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'model' => 'omnihuman-1.5',
'audio_url' => 'https://example.com/audio.mp3',
'image_urls' => [
'https://example.com/person.jpg'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.evolink.ai/v1/videos/generations"
payload := strings.NewReader("{\n \"model\": \"omnihuman-1.5\",\n \"audio_url\": \"https://example.com/audio.mp3\",\n \"image_urls\": [\n \"https://example.com/person.jpg\"\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.evolink.ai/v1/videos/generations")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"model\": \"omnihuman-1.5\",\n \"audio_url\": \"https://example.com/audio.mp3\",\n \"image_urls\": [\n \"https://example.com/person.jpg\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.evolink.ai/v1/videos/generations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"model\": \"omnihuman-1.5\",\n \"audio_url\": \"https://example.com/audio.mp3\",\n \"image_urls\": [\n \"https://example.com/person.jpg\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"created": 1757169743,
"id": "task-unified-1757169743-7cvnl5zw",
"model": "omnihuman-1.5",
"object": "video.generation.task",
"progress": 0,
"status": "pending",
"task_info": {
"can_cancel": false,
"estimated_time": 120,
"video_duration": 10
},
"type": "video",
"usage": {
"billing_rule": "per_second",
"credits_reserved": 10,
"user_group": "default"
}
}{
"error": {
"code": "invalid_request",
"message": "Invalid request parameters",
"type": "invalid_request_error"
}
}{
"error": {
"code": "unauthorized",
"message": "Invalid or expired token",
"type": "authentication_error"
}
}{
"error": {
"code": "insufficient_quota",
"message": "Insufficient quota. Please top up your account.",
"type": "insufficient_quota"
}
}{
"error": {
"code": "model_access_denied",
"message": "Token does not have access to model: omnihuman-1.5",
"type": "invalid_request_error"
}
}{
"error": {
"code": "rate_limit_exceeded",
"message": "Too many requests, please try again later",
"type": "rate_limit_error"
}
}{
"error": {
"code": "internal_error",
"message": "Internal server error",
"type": "api_error"
}
}OmniHuman-1.5 デジタルヒューマン動画生成
- OmniHuman-1.5(omnihuman-1.5)モデルは音声駆動のデジタルヒューマン動画を生成します
- 非同期処理モード、返されたタスクIDを使用して照会してください
- 生成された動画リンクは24時間有効です。速やかに保存してください
注意:
- 音声の長さ制限: 最大35秒
- サポートされる音声フォーマット: MP3、WAV
- 課金は音声の長さに基づきます(秒単位で切り上げ)
curl --request POST \
--url https://api.evolink.ai/v1/videos/generations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "omnihuman-1.5",
"audio_url": "https://example.com/audio.mp3",
"image_urls": [
"https://example.com/person.jpg"
]
}
'import requests
url = "https://api.evolink.ai/v1/videos/generations"
payload = {
"model": "omnihuman-1.5",
"audio_url": "https://example.com/audio.mp3",
"image_urls": ["https://example.com/person.jpg"]
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
model: 'omnihuman-1.5',
audio_url: 'https://example.com/audio.mp3',
image_urls: ['https://example.com/person.jpg']
})
};
fetch('https://api.evolink.ai/v1/videos/generations', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.evolink.ai/v1/videos/generations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'model' => 'omnihuman-1.5',
'audio_url' => 'https://example.com/audio.mp3',
'image_urls' => [
'https://example.com/person.jpg'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.evolink.ai/v1/videos/generations"
payload := strings.NewReader("{\n \"model\": \"omnihuman-1.5\",\n \"audio_url\": \"https://example.com/audio.mp3\",\n \"image_urls\": [\n \"https://example.com/person.jpg\"\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.evolink.ai/v1/videos/generations")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"model\": \"omnihuman-1.5\",\n \"audio_url\": \"https://example.com/audio.mp3\",\n \"image_urls\": [\n \"https://example.com/person.jpg\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.evolink.ai/v1/videos/generations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"model\": \"omnihuman-1.5\",\n \"audio_url\": \"https://example.com/audio.mp3\",\n \"image_urls\": [\n \"https://example.com/person.jpg\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"created": 1757169743,
"id": "task-unified-1757169743-7cvnl5zw",
"model": "omnihuman-1.5",
"object": "video.generation.task",
"progress": 0,
"status": "pending",
"task_info": {
"can_cancel": false,
"estimated_time": 120,
"video_duration": 10
},
"type": "video",
"usage": {
"billing_rule": "per_second",
"credits_reserved": 10,
"user_group": "default"
}
}{
"error": {
"code": "invalid_request",
"message": "Invalid request parameters",
"type": "invalid_request_error"
}
}{
"error": {
"code": "unauthorized",
"message": "Invalid or expired token",
"type": "authentication_error"
}
}{
"error": {
"code": "insufficient_quota",
"message": "Insufficient quota. Please top up your account.",
"type": "insufficient_quota"
}
}{
"error": {
"code": "model_access_denied",
"message": "Token does not have access to model: omnihuman-1.5",
"type": "invalid_request_error"
}
}{
"error": {
"code": "rate_limit_exceeded",
"message": "Too many requests, please try again later",
"type": "rate_limit_error"
}
}{
"error": {
"code": "internal_error",
"message": "Internal server error",
"type": "api_error"
}
}承認
##すべてのAPIにBearer Token認証が必要です##
APIキーの取得:
APIキー管理ページにアクセスしてAPIキーを取得してください
リクエストヘッダーに追加:
Authorization: Bearer YOUR_API_KEY
ボディ
デジタルヒューマン動画生成モデル名
omnihuman-1.5 "omnihuman-1.5"
リップシンクとボディモーションを駆動するための音声URL
注意:
- 最大音声時間:
35秒 - サポートされるフォーマット:
.mp3、.wav - 音声URLはサーバーから直接アクセス可能である必要があります
- 課金は音声の長さに基づきます(秒単位で切り上げ)
"https://example.com/audio.mp3"
アニメーション対象の人物を含む参照画像URLリスト
注意:
- リクエストあたりの画像数:
1 - 画像には明確な人物が含まれている必要があります
- 画像サイズ:
10MB以下 - サポートされるファイルフォーマット:
.jpg、.jpeg、.png、.webp - 画像URLはサーバーから直接閲覧可能である必要があります
1["https://example.com/person.jpg"]
生成スタイルをガイドするオプションのテキストプロンプト、中国語、英語、日本語、韓国語、メキシコスペイン語、インドネシア語のみサポート
"A person speaking naturally with subtle expressions"
高速処理モードを有効にする
注意:
true: より高速な生成(品質が低下する可能性あり)false: 標準品質処理(デフォルト)
false
アニメーション領域を指定するためのマスクURL配列
注意:
- 高度な制御用のオプションパラメータ
- マスク画像は参照画像の寸法と一致する必要があります
["https://example.com/mask.png"]
初期拡散状態を決定するためのランダムシード、デフォルトはランダム。シードが同じ正の整数で、他のすべてのパラメータが一致している場合、生成されるコンテンツは一貫した結果になる可能性があります
画像内の人物の存在を確認するための被写体検出を有効にする
注意:
true: 被写体検出を有効にする、リクエスト開始時間が増加しますfalse: 被写体検出をスキップ(デフォルト)
false
自動マスク生成を有効にする
注意:
true: 人物を自動検出してマスクします。リクエストの開始時間が長くなります。mask_urlに値がある場合、このパラメータは無視されますfalse: 提供された mask_url を使用するか、マスクなし(デフォルト)
false
タスク完了後の HTTPS コールバックアドレス
コールバックタイミング:
- タスクが完了、失敗、またはキャンセルされた時にトリガーされます
- 課金確認完了後に送信されます
セキュリティ制限:
- HTTPS プロトコルのみサポート
- 内部 IP アドレスへのコールバックは禁止(127.0.0.1、10.x.x.x、172.16-31.x.x、192.168.x.x など)
- URL の長さは
2048文字以内
コールバックメカニズム:
- タイムアウト:
10秒 - 失敗時最大
3回リトライ(1秒/2秒/4秒後にリトライ) - コールバックレスポンスボディの形式はタスククエリ API のレスポンス形式と一致
- コールバックアドレスが 2xx ステータスコードを返した場合は成功とみなされ、その他のステータスコードはリトライをトリガーします
"https://your-domain.com/webhooks/video-task-completed"
レスポンス
デジタルヒューマン動画生成タスクが正常に作成されました
タスク作成タイムスタンプ
1757169743
タスク ID
"task-unified-1757169743-7cvnl5zw"
使用された実際のモデル名
"omnihuman-1.5"
具体的なタスクタイプ
video.generation.task タスク進捗率(0-100)
0 <= x <= 1000
タスクステータス
pending, processing, completed, failed "pending"
動画タスクの詳細情報
Show child attributes
Show child attributes
タスク出力タイプ
text, image, audio, video "video"
使用量と課金情報
Show child attributes
Show child attributes