PixVerse V6 Effects API リファレンス
写真をテーマ付きクリップに変える50種の定番エフェクトテンプレート
PopNow の API キー 1 つで、PixVerse V6 Effects を自分のコードから呼び出せます。送るモデル ID、受け付ける入力フィールド、1 回あたりの料金(USD)、ターミナルに貼ってそのまま動くリクエストをこのページにまとめました。
パラメーターの説明はモデルの入力 schema から取っているため、英語のみです。
概要
- 開発元
- PixVerse
- 出力
- 動画
- 最安
- $0.02331 USD 出力 1 秒あたり
料金は USD で表示され、PopNow の残高から差し引かれます。受付時に最大料金を確保し、完了後に実際の使用量で精算して差額を返却します。失敗したタスクは課金されません。実行前の正確な見積もりは POST /api/v1/jobs/quote で取得できます。
画像から動画
pixverse/v6-effects/image-to-video
料金
| オプション | USD |
|---|---|
generate_audio = false, resolution = 360p | $0.02331 出力 1 秒あたり |
generate_audio = false, resolution = 540p | $0.032655 出力 1 秒あたり |
generate_audio = true, resolution = 360p | $0.032655 出力 1 秒あたり |
generate_audio = false, resolution = 720p | $0.042 出力 1 秒あたり |
generate_audio = true, resolution = 540p | $0.042 出力 1 秒あたり |
generate_audio = true, resolution = 720p | $0.055965 出力 1 秒あたり |
generate_audio = false, resolution = 1080p | $0.084 出力 1 秒あたり |
generate_audio = true, resolution = 1080p | $0.10731 出力 1 秒あたり |
パラメーター
| フィールド | 型 | 既定値 | 指定できる値 | 説明 |
|---|---|---|---|---|
preset必須 | string | 398965022284579 | 412736208886848, 411563216524736, 411316927927040, 411174903569216, 410999246341952, 408891141511104, 410317363057408, 410285445698304, 410133101388544, 409899296377728, 408897485909952, 408869061406656, 408661207662528, 409767750265728, … (+36) | PixVerse effect template. It sets the clip length and the motion. |
image_urls必須 | array<string (uri)> | — | 2 件まで | One photo; two photos for Dive into the deep blue of love, Top of the World and The Last Hug. JPG, PNG or WebP up to 20 MB each. |
prompt任意 | string | — | 5,000 文字まで | Optional nudge for the template. The template already defines the motion. |
resolution任意 | string | 720p | 360p, 540p, 720p, 1080p | Output resolution. Higher tiers cost more per second. |
generate_audio任意 | boolean | false | — | Generate sound with the picture. Costs more per second when on. |
seed任意 | integer | — | 0〜2147483647 | Random seed for controlled comparisons. |
リクエスト例
このリクエストはそのまま実行できます。省略したフィールドには既定値が入ります。先にキーを環境変数 POPNOW_API_KEY に設定してください。
例の image_urls には 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": "pixverse/v6-effects/image-to-video",
"input": {
"prompt": "He lands softly on the rooftop, laughs and turns toward the camera while the balloons sway in the evening breeze; slow push-in",
"preset": "398965022284579",
"image_urls": [
"https://media.popnow.ai/influencer/examples/marco.webp"
],
"generate_audio": false,
"resolution": "720p"
}
}'レスポンスにはすぐに 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"
