Pruna P-Video 2 Pro アバター
pruna-ai/p-video-2-pro/avatar
人物画像と音声から最大 180 秒のアバター動画を生成します。
サンプル
パラメータ
| 名前 | 型 | 既定 | 制約 | 説明 |
|---|---|---|---|---|
| image *画像 | image_upload | — | image/* · 1–1 items | トーキング動画用の人物画像。 |
| promptプロンプト | textarea | — | ≤ 5000 chars | 人物の動きや構図を指定するための任意の指示。 |
| resolution解像度 | select | 768p | 480p | 768p | |
| prompt_upsamplingプロンプト強化 | boolean | false | — | 動きや表情のプロンプトを自動で強化します。 |
| seedシード値 | number | — | step 1 |
出力フィールド
| フィールド | 型 | 説明 |
|---|---|---|
| videos | array<string> |
API
統一 REST API でこのモデルを呼び出せます。API Keys ページでキーを取得してください。
cURL
# 1) Submit — returns { "task_uuid": "..." }
curl -X POST "https://www.namifusion.com/api/v1/marketplace/run/pruna-ai/p-video-2-pro/avatar" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"image": "https://example.com/input.jpg",
"resolution": "768p",
"prompt_upsampling": false
}
}'
# 2) Poll until status is "completed", then read the output URLs
curl "https://www.namifusion.com/api/v1/marketplace/run/tasks/TASK_UUID" \
-H "Authorization: Bearer YOUR_API_KEY"Python
import time, requests
API_KEY = "YOUR_API_KEY"
HEADERS = {"Authorization": f"Bearer {API_KEY}"}
# 1) Submit
resp = requests.post(
"https://www.namifusion.com/api/v1/marketplace/run/pruna-ai/p-video-2-pro/avatar",
headers=HEADERS,
json={
"input": {
"image": "https://example.com/input.jpg",
"resolution": "768p",
"prompt_upsampling": False
}
},
)
resp.raise_for_status() # 401/402/429/5xx stop here instead of polling a bad task
task = resp.json()
# 2) Poll until a terminal state (completed / failed / cancelled).
# This model is allowed up to 1800s server-side.
deadline = time.time() + 1860
while task.get("status") not in ("completed", "failed", "cancelled"):
if time.time() > deadline:
raise TimeoutError(f"still {task.get('status')} — keep the task_uuid and poll later")
time.sleep(3)
poll = requests.get(f"https://www.namifusion.com/api/v1/marketplace/run/tasks/{task['task_uuid']}", headers=HEADERS)
poll.raise_for_status()
task = poll.json()
print(task["status"], task.get("output"))JavaScript
const API_KEY = "YOUR_API_KEY";
const HEADERS = { Authorization: `Bearer ${API_KEY}` };
// 1) Submit
const resp = await fetch("https://www.namifusion.com/api/v1/marketplace/run/pruna-ai/p-video-2-pro/avatar", {
method: "POST",
headers: { ...HEADERS, "Content-Type": "application/json" },
body: JSON.stringify({
"input": {
"image": "https://example.com/input.jpg",
"resolution": "768p",
"prompt_upsampling": false
}
}),
});
if (!resp.ok) throw new Error(`submit failed: ${resp.status} ${await resp.text()}`);
let task = await resp.json();
// 2) Poll until a terminal state (completed / failed / cancelled).
// This model is allowed up to 1800s server-side.
const deadline = Date.now() + 1860 * 1000;
while (!["completed", "failed", "cancelled"].includes(task.status)) {
if (Date.now() > deadline) throw new Error(`still ${task.status} — keep the task_uuid and poll later`);
await new Promise((r) => setTimeout(r, 3000));
const poll = await fetch(`https://www.namifusion.com/api/v1/marketplace/run/tasks/${task.task_uuid}`, { headers: HEADERS });
if (!poll.ok) throw new Error(`poll failed: ${poll.status}`);
task = await poll.json();
}
console.log(task.status, task.output);ドキュメント
Pruna P-Video 2 Pro アバター
人物画像と音声から最大 180 秒のアバター動画を生成します。
入力
| Parameter | 必須 | 型・選択肢・初期値 |
|---|---|---|
image | 必須 | array; max count: 1. トーキング動画用の人物画像。 |
audio | 必須 | string. 話し声の音声です。出力の長さはこの入力に従い、最大 180 秒です。 |
prompt | 任意 | string; max 5000 characters. 人物の動きや構図を指定するための任意の指示。 |
resolution | 任意 | string; 480p / 768p; default: "768p". |
prompt_upsampling | 任意 | boolean; default: false. 動きや表情のプロンプトを自動で強化します。 |
seed | 任意 | integer; step: 1. |
現在の MaaS の制限に合わせ、Nami のプロンプトは最大 5000 文字です。必須プロンプトは空にできません。
Nami の image と last_image は URL 1 件の配列です。上流へは単一 URL として送信します。末尾フレームを使わない場合は last_image を省略してください。
人物画像(JPG/JPEG/PNG/WebP、最大 20 MiB)と 1–180 秒の音声(最大 64 MiB)を指定します。prompt は任意で、省略時は上流の標準発話指示が使われます。この API に duration や mode 入力はありません。
標準料金
1 USD = 100 クレジット。アカウント割引は別途適用されます。
課金秒数 = min(max(ceil(入力音声の秒数), 1), 180)。480p は 1 秒 $0.02(2 クレジット)、768p は $0.04(4 クレジット)。出力の長さは音声に従います。prompt、prompt_upsampling、seed の追加料金はありません。
API の利用
アクセス可能な素材 URL を指定してください。一度送信した後、task_uuid で completed または failed まで照会します。成功時の output.videos は動画 URL の配列です。
POST https://www.namifusion.com/api/v1/marketplace/run/pruna-ai/p-video-2-pro/avatar
Authorization: Bearer YOUR_NAMIFUSION_API_KEY
Content-Type: application/json
{
"input": {
"resolution": "768p",
"image": [
"https://example.com/portrait.png"
],
"audio": "https://example.com/speech.mp3",
"prompt_upsampling": false
}
}
GET https://www.namifusion.com/api/v1/marketplace/run/tasks/{task_uuid}
Authorization: Bearer YOUR_NAMIFUSION_API_KEY
関連モデル
xAI Grok Imagine Video v1.5 画像から動画
1枚の入力画像とテキストプロンプトから1-15秒の動画を生成します。480pと720pに対応しています。
Vidu Q4 Preview 画像から動画
プロンプトと1枚の画像から3〜16秒の動画を生成します。音声生成とプロンプト拡張は任意で、540p、720p、1080p、2k、4kに対応します。
vidu/q3/image-to-video-spicy 画像から動画生成
Vidu Q3 Image-to-Video Spicy は、画像から高品質な動画を無制限に生成でき、滑らかなアニメーションと多彩な動きが特長です。大規模なコンテンツ生成向けに最適化されています。すぐに使える REST 推論 API を提供し、高性能・コールドスタートなし・手頃な価格を実現します。
Vidu Q3 画像から動画へ
Vidu Q3 画像から動画へは、テキストプロンプトを高品質な動画に変換し、優れた視覚的忠実度と多様なモーションを実現します。すぐに使える REST 推論 API、最高のパフォーマンス、コールドスタートなし、手頃な価格。
Pruna P-Video 2 Pro 画像から動画
音声付き 5–15 秒の動画。480p/768p、cost/speed/quality モード対応。

MiniMax H3 Spicy 画像から動画
開始画像から動画を生成し、任意のプロンプトと最終フレームで動きを誘導します。480p、540p、768p、1080p、3〜15秒に対応します。
MiniMax H3 画像から動画
MiniMax H3 Image to Video は、最初のフレーム画像を自然で一貫性のある 2K 動画にアニメーション化します。自然言語によるモーション指示に対応し、任意の最終フレーム制御によって、動きの一貫性、シーンの連続性、映画のような動画生成を実現します。すぐに使える REST 推論 API を提供し、高性能、コールドスタートなし、手頃な価格で利用できます。
MiniMax H3 Lite 画像から動画生成
ネイティブ音声付き動画を生成。4–15 秒、480p または 768p に対応。