InfiniteTalk API リファレンス
写真1枚または動画と最長10分の音声で、人物が話す 480p または 720p 動画を生成するオープンソースモデル
PopNow の API キー 1 つで、InfiniteTalk を自分のコードから呼び出せます。送るモデル ID、受け付ける入力フィールド、1 回あたりの料金(USD)、ターミナルに貼ってそのまま動くリクエストをこのページにまとめました。
パラメーターの説明はモデルの入力 schema から取っているため、英語のみです。
概要
- 開発元
- MeiGen-AI
- 出力
- 動画
- 最安
- $0.039 USD 出力 1 秒あたり
- 目安の所要時間
- 約 69 秒
料金は USD で表示され、PopNow の残高から差し引かれます。受付時に最大料金を確保し、完了後に実際の使用量で精算して差額を返却します。失敗したタスクは課金されません。実行前の正確な見積もりは POST /api/v1/jobs/quote で取得できます。
リップシンク
meigen-ai/infinitetalk-v1/lip-sync
料金
| オプション | USD |
|---|---|
480p | $0.039 出力 1 秒あたり |
720p | $0.078 出力 1 秒あたり |
パラメーター
| フィールド | 型 | 既定値 | 指定できる値 | 説明 |
|---|---|---|---|---|
video_url必須 | string (uri) | — | — | Required URL of source footage with the person clearly visible. Video length does not determine the billed seconds; audio duration and resolution do. |
audio_url必須 | string (uri) | — | — | Required URL of the new recording, 3–600 seconds. Sets output duration and billed audio seconds, rounded upward with a three-second minimum. |
prompt任意 | string | — | 2,000 文字まで | Optional scene and motion direction, up to 2,000 characters. Describe expression, action, or lighting; the words come from audio, and prompt text does not change the rate. |
mask_url任意 | string (uri) | — | — | Optional URL of a mask image marking the intended speaker white when several people appear. Omit for an unmasked request; it adds no separate charge. |
resolution任意 | string | 480p | 480p, 720p | Choose 480p or 720p; the default is 480p. Each second at 720p is billed at twice the 480p rate. |
seed任意 | integer | — | 0〜2147483647 | Optional seed for comparing one change at a time; no identical-result guarantee. No default or numeric range is specified here, and it has no separate price effect. |
リクエスト例
このリクエストはそのまま実行できます。省略したフィールドには既定値が入ります。先にキーを環境変数 POPNOW_API_KEY に設定してください。
例の audio_url, video_url には PopNow のサンプル素材を使っています。自分の公開 HTTPS リンク、アップロードしたファイル、保存済みアセットに置き換えてください。
curl -X POST "https://api.popnow.ai/api/v1/jobs/createTask" \
-H "Authorization: Bearer $POPNOW_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"model": "meigen-ai/infinitetalk-v1/lip-sync",
"input": {
"prompt": "A bright, cheerful scene with soft natural light",
"video_url": "https://media.popnow.ai/effects/flower-bloom-1abd6efb.mp4",
"audio_url": "https://media.popnow.ai/shortfilm/voices/Aoede-46e4c427.mp3",
"resolution": "480p"
}
}'レスポンスにはすぐに taskId が入ります。結果は GET /api/v1/jobs/recordInfo で取得するか、callBackUrl を付けて通知を受け取ります。
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
-H "Authorization: Bearer $POPNOW_API_KEY"AIアバター
meigen-ai/infinitetalk-v1/talking-avatar
料金
| オプション | USD |
|---|---|
480p | $0.039 出力 1 秒あたり |
720p | $0.068 出力 1 秒あたり |
パラメーター
| フィールド | 型 | 既定値 | 指定できる値 | 説明 |
|---|---|---|---|---|
image_url必須 | string (uri) | — | — | Portrait of the speaker: JPEG, PNG or WebP. |
audio_url必須 | string (uri) | — | — | Speech that drives the video, 3 seconds to 10 minutes. Billed per second of audio, 3 seconds minimum. |
prompt任意 | string | — | 2,000 文字まで | Optional description of the setting and how the speaker moves. |
mask_url任意 | string (uri) | — | — | Optional mask: white marks the person who should speak when the photo shows several people. |
resolution任意 | string | 480p | 480p, 720p | Output height. 720p costs twice as much as 480p. |
seed任意 | integer | — | 0〜2147483647 | Random seed for controlled comparisons. |
リクエスト例
このリクエストはそのまま実行できます。省略したフィールドには既定値が入ります。先にキーを環境変数 POPNOW_API_KEY に設定してください。
例の audio_url, image_url には PopNow のサンプル素材を使っています。自分の公開 HTTPS リンク、アップロードしたファイル、保存済みアセットに置き換えてください。
curl -X POST "https://api.popnow.ai/api/v1/jobs/createTask" \
-H "Authorization: Bearer $POPNOW_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"model": "meigen-ai/infinitetalk-v1/talking-avatar",
"input": {
"prompt": "A bright, cheerful scene with soft natural light",
"image_url": "https://media.popnow.ai/influencer/examples/marco.webp",
"audio_url": "https://media.popnow.ai/shortfilm/voices/Aoede-46e4c427.mp3",
"resolution": "480p"
}
}'レスポンスにはすぐに taskId が入ります。結果は GET /api/v1/jobs/recordInfo で取得するか、callBackUrl を付けて通知を受け取ります。
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
-H "Authorization: Bearer $POPNOW_API_KEY"
