Veo 3.1 API リファレンス
ネイティブ音声付きの映画風動画。
PopNow の API キー 1 つで、Veo 3.1 を自分のコードから呼び出せます。送るモデル ID、受け付ける入力フィールド、1 回あたりの料金(USD)、ターミナルに貼ってそのまま動くリクエストをこのページにまとめました。
パラメーターの説明はモデルの入力 schema から取っているため、英語のみです。
概要
- 開発元
- 出力
- 動画
- 最安
- $1.36 USD 1 リクエストあたり
料金は USD で表示され、PopNow の残高から差し引かれます。受付時に最大料金を確保し、完了後に実際の使用量で精算して差額を返却します。失敗したタスクは課金されません。実行前の正確な見積もりは POST /api/v1/jobs/quote で取得できます。
動画を作成
google/veo-3.1/text-to-video
料金
| オプション | USD |
|---|---|
4 | $1.36 1 リクエストあたり |
6 | $2.04 1 リクエストあたり |
8 | $2.72 1 リクエストあたり |
duration_seconds = 8, resolution = 1080p | $2.88 1 リクエストあたり |
duration_seconds = 8, resolution = 4k | $4.32 1 リクエストあたり |
パラメーター
| フィールド | 型 | 既定値 | 指定できる値 | 説明 |
|---|---|---|---|---|
prompt必須 | string | — | 4,000 文字まで | Describe the subject, the action, the camera and the sound. |
aspect_ratio任意 | string | 16:9 | 16:9, 9:16 | Output aspect ratio: 16:9 (1280x720) or 9:16 (720x1280). |
resolution任意 | string | 720p | 720p, 1080p, 4k | Output resolution. 720p is the default; 1080p and 4k are 8-second clips only and take longer, because the 720p render is upscaled. |
duration_seconds任意 | integer | 8 | 4, 6, 8 | Clip length: 4, 6 or 8 seconds. Billed per clip by length. |
リクエスト例
このリクエストはそのまま実行できます。省略したフィールドには既定値が入ります。先にキーを環境変数 POPNOW_API_KEY に設定してください。
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/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 を付けて通知を受け取ります。
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/image-to-video
料金
| オプション | USD |
|---|---|
4 | $1.36 1 リクエストあたり |
6 | $2.04 1 リクエストあたり |
8 | $2.72 1 リクエストあたり |
duration_seconds = 8, resolution = 1080p | $2.88 1 リクエストあたり |
duration_seconds = 8, resolution = 4k | $4.32 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任意 | string | auto | auto, 16:9, 9:16 | auto follows the first frame; 16:9 or 9:16 crops to that shape. |
resolution任意 | string | 720p | 720p, 1080p, 4k | Output resolution. 720p is the default; 1080p and 4k are 8-second clips only and take longer, because the 720p render is upscaled. |
duration_seconds任意 | integer | 8 | 4, 6, 8 | Clip length: 4, 6 or 8 seconds. Billed per clip by length. |
リクエスト例
このリクエストはそのまま実行できます。省略したフィールドには既定値が入ります。先にキーを環境変数 POPNOW_API_KEY に設定してください。
例の 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": "google/veo-3.1/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 を付けて通知を受け取ります。
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/video-extend
料金
| オプション | USD |
|---|---|
4 | $1.36 1 リクエストあたり |
6 | $2.04 1 リクエストあたり |
8 | $2.72 1 リクエストあたり |
duration_seconds = 8, resolution = 1080p | $2.88 1 リクエストあたり |
duration_seconds = 8, resolution = 4k | $4.32 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任意 | string | 720p | 720p, 1080p, 4k | Resolution of the new segment and of the joined file: 720p (default), or 1080p and 4k for 8-second segments only. Match your source clip. |
duration_seconds任意 | integer | 8 | 4, 6, 8 | Length 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 リンク、アップロードしたファイル、保存済みアセットに置き換えてください。
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/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 を付けて通知を受け取ります。
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
-H "Authorization: Bearer $POPNOW_API_KEY"
