PopNowAPI ドキュメント
本文

Veo 3.1 Fast API リファレンス

最大3枚の参照画像に対応する高速な音声付き720p動画。

PopNow の API キー 1 つで、Veo 3.1 Fast を自分のコードから呼び出せます。送るモデル ID、受け付ける入力フィールド、1 回あたりの料金(USD)、ターミナルに貼ってそのまま動くリクエストをこのページにまとめました。

パラメーターの説明はモデルの入力 schema から取っているため、英語のみです。

概要

開発元
Google
出力
動画
最安
$0.34 USD 1 リクエストあたり

料金は USD で表示され、PopNow の残高から差し引かれます。受付時に最大料金を確保し、完了後に実際の使用量で精算して差額を返却します。失敗したタスクは課金されません。実行前の正確な見積もりは POST /api/v1/jobs/quote で取得できます。

動画を作成

google/veo-3.1-fast/text-to-video

料金

オプションUSD
4$0.34 1 リクエストあたり
6$0.51 1 リクエストあたり
8$0.68 1 リクエストあたり
duration_seconds = 8, resolution = 1080p$0.864 1 リクエストあたり
duration_seconds = 8, resolution = 4k$2.16 1 リクエストあたり

パラメーター

フィールド型既定値指定できる値説明
prompt必須string—4,000 文字までDescribe the subject, the action, the camera and the sound.
aspect_ratio任意string16:916:9, 9:16Output aspect ratio: 16:9 (1280x720) or 9:16 (720x1280).
resolution任意string720p720p, 1080p, 4kOutput resolution: 720p (default), or 1080p and 4k for 8-second clips only. The two larger sizes are upscaled from the 720p render and take a few minutes more.
duration_seconds任意integer84, 6, 8Clip length: 4, 6 or 8 seconds. Billed per clip by length.

リクエスト例

このリクエストはそのまま実行できます。省略したフィールドには既定値が入ります。先にキーを環境変数 POPNOW_API_KEY に設定してください。

POST /api/v1/jobs/createTask
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": "google/veo-3.1-fast/text-to-video",
  "input": {
    "prompt": "A paper boat drifts down a rain-soaked street at dusk, neon signs reflecting in the water, slow tracking shot at ground level",
    "duration_seconds": 8,
    "resolution": "720p"
  }
}'

レスポンスにはすぐに taskId が入ります。結果は GET /api/v1/jobs/recordInfo で取得するか、callBackUrl を付けて通知を受け取ります。

GET /api/v1/jobs/recordInfo
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
  -H "Authorization: Bearer $POPNOW_API_KEY"

画像から動画

google/veo-3.1-fast/image-to-video

料金

オプションUSD
4$0.34 1 リクエストあたり
6$0.51 1 リクエストあたり
8$0.68 1 リクエストあたり
duration_seconds = 8, resolution = 1080p$0.864 1 リクエストあたり
duration_seconds = 8, resolution = 4k$2.16 1 リクエストあたり

パラメーター

フィールド型既定値指定できる値説明
prompt必須string—4,000 文字までDescribe the motion, the camera and the sound.
image_url必須string (uri)——Opening frame of the clip.
last_image_url任意string (uri)——Optional closing frame; the clip moves from the first frame to this one.
aspect_ratio任意stringautoauto, 16:9, 9:16auto follows the first frame; 16:9 or 9:16 crops to that shape.
resolution任意string720p720p, 1080p, 4kOutput resolution: 720p (default), or 1080p and 4k for 8-second clips only. The two larger sizes are upscaled from the 720p render and take a few minutes more.
duration_seconds任意integer84, 6, 8Clip length: 4, 6 or 8 seconds. Billed per clip by length.

リクエスト例

このリクエストはそのまま実行できます。省略したフィールドには既定値が入ります。先にキーを環境変数 POPNOW_API_KEY に設定してください。

例の image_url には PopNow のサンプル素材を使っています。自分の公開 HTTPS リンク、アップロードしたファイル、保存済みアセットに置き換えてください。

POST /api/v1/jobs/createTask
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": "google/veo-3.1-fast/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",
    "image_url": "https://media.popnow.ai/influencer/examples/marco.webp",
    "duration_seconds": 8,
    "resolution": "720p"
  }
}'

レスポンスにはすぐに taskId が入ります。結果は GET /api/v1/jobs/recordInfo で取得するか、callBackUrl を付けて通知を受け取ります。

GET /api/v1/jobs/recordInfo
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
  -H "Authorization: Bearer $POPNOW_API_KEY"

参考素材から動画

google/veo-3.1-fast/reference-to-video

料金

オプションUSD
8$0.68 1 リクエストあたり
duration_seconds = 8, resolution = 1080p$0.864 1 リクエストあたり
duration_seconds = 8, resolution = 4k$2.16 1 リクエストあたり

パラメーター

フィールド型既定値指定できる値説明
prompt必須string—4,000 文字までSay what from Image 1, Image 2 and Image 3 appears and what happens.
reference_image_urls必須array<string (uri)>—3 件までOne to three images of the people, products or places to keep.
aspect_ratio任意string16:916:9, 9:16Output aspect ratio: 16:9 or 9:16.
resolution任意string720p720p, 1080p, 4kOutput resolution: 720p (default), or 1080p and 4k for 8-second clips only. The two larger sizes are upscaled from the 720p render and take a few minutes more.
duration_seconds任意integer88Clip length: fixed at 8 seconds in this mode.

リクエスト例

このリクエストはそのまま実行できます。省略したフィールドには既定値が入ります。先にキーを環境変数 POPNOW_API_KEY に設定してください。

例の reference_image_urls には PopNow のサンプル素材を使っています。自分の公開 HTTPS リンク、アップロードしたファイル、保存済みアセットに置き換えてください。

POST /api/v1/jobs/createTask
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": "google/veo-3.1-fast/reference-to-video",
  "input": {
    "prompt": "The man from the reference image jogs across a sunlit rooftop at golden hour and smiles at the camera; smooth tracking shot",
    "reference_image_urls": [
      "https://media.popnow.ai/influencer/examples/ava.webp"
    ],
    "duration_seconds": 8,
    "resolution": "720p"
  }
}'

レスポンスにはすぐに taskId が入ります。結果は GET /api/v1/jobs/recordInfo で取得するか、callBackUrl を付けて通知を受け取ります。

GET /api/v1/jobs/recordInfo
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
  -H "Authorization: Bearer $POPNOW_API_KEY"

動画を延長

google/veo-3.1-fast/video-extend

料金

オプションUSD
4$0.34 1 リクエストあたり
6$0.51 1 リクエストあたり
8$0.68 1 リクエストあたり
duration_seconds = 8, resolution = 1080p$0.864 1 リクエストあたり
duration_seconds = 8, resolution = 4k$2.16 1 リクエストあたり

パラメーター

フィールド型既定値指定できる値説明
prompt必須string—4,000 文字までDescribe what happens next: the action, the camera and the sound.
video_url必須string (uri)——The clip to continue, up to 60 seconds. Its last frame opens the new segment; you get back one file with both joined.
last_image_url任意string (uri)——Optional closing frame for the new segment.
resolution任意string720p720p, 1080p, 4kSize of the new segment, which also sets the size of the joined file: 720p by default, 1080p or 4k when the segment is 8 seconds. Match your source clip.
duration_seconds任意integer84, 6, 8Length of the new segment: 4, 6 or 8 seconds. Billed per segment by length; the source clip is not billed.

リクエスト例

このリクエストはそのまま実行できます。省略したフィールドには既定値が入ります。先にキーを環境変数 POPNOW_API_KEY に設定してください。

例の video_url には PopNow のサンプル素材を使っています。自分の公開 HTTPS リンク、アップロードしたファイル、保存済みアセットに置き換えてください。

POST /api/v1/jobs/createTask
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": "google/veo-3.1-fast/video-extend",
  "input": {
    "prompt": "The flowers keep opening while the camera slowly pulls back to reveal a sunlit meadow",
    "video_url": "https://media.popnow.ai/effects/flower-bloom-1abd6efb.mp4",
    "duration_seconds": 8,
    "resolution": "720p"
  }
}'

レスポンスにはすぐに taskId が入ります。結果は GET /api/v1/jobs/recordInfo で取得するか、callBackUrl を付けて通知を受け取ります。

GET /api/v1/jobs/recordInfo
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
  -H "Authorization: Bearer $POPNOW_API_KEY"

次に読む

このページの内容