by Google

Extend Video

google/veo-3.1/video-extend
  • 4–8s clips
  • Start and end frames
  • Create Video
  • Image to Video
  • Extend Video

About Veo 3.1

The Veo 3.1 API for final renders: text to video, image to video with a first and last frame, and clip extension. Clips of 4 to 8 seconds at 720p with sound, billed per clip at 10% under Google's price.

Call it with the model name google/veo-3.1/video-extend on POST /jobs/createTask, from $1.44.

Introduction

Veo 3.1 video extend continues your clip: its last frame opens a new 4, 6 or 8 second segment with sound, and you get back one MP4 with both joined.

google/veo-3.1/video-extend

Request parameters

ParameterRequiredDescription
duration_secondsNoLength of the generated clip. 4 · 6 · 8 · Default: 8
last_image_urlNoReference image to guide the final frame.
promptYesDescribe what you want to make.
video_urlYesThe clip to work on.

Pricing

Prices are in USD. The API uses a separate USD balance. Website credits cannot be used or transferred to it, and API funds cannot be transferred to website credits. When a task is accepted, we reserve the maximum quoted amount from your API balance. On completion, we charge for actual usage, never more than the hold, and release the remainder. If the task fails, the hold is released.

OptionUSD per run
duration_seconds 4$1.44
duration_seconds 6$2.16
duration_seconds 8$2.88

Send the same request body to POST /jobs/quote to see the estimated and maximum USD charge before running. A quote does not run the task or charge your balance.

API quick start

Call the Veo 3.1 API in three steps

  1. Create an API key. Sign in to PopNow and create a key in the API console. Keys start with sk-popnow-. API calls use your separate USD balance.
  2. Send the request. POST /jobs/createTask with model google/veo-3.1/video-extend and an input object that follows the parameter table. The response returns a task ID straight away.
  3. Get the result. Poll GET /jobs/recordInfo with the task ID, or pass a callBackUrl and we post the result to it. Download the output links when the task succeeds.
# 1. Create the task. Keep the Idempotency-Key if you retry after a network error.
export IDEMPOTENCY_KEY="$(uuidgen)"
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: $IDEMPOTENCY_KEY" \
  -d '{
  "model": "google/veo-3.1/video-extend",
  "input": {
    "prompt": "A slow aerial shot drifting over a misty pine forest at sunrise",
    "video_url": "https://media.popnow.ai/effects/flower-bloom-1abd6efb.mp4",
    "duration_seconds": 8
  }
}'

# 2. Copy data.taskId from the response, then poll until state is succeeded, failed, canceled or expired.
TASK_ID="TASK_ID_FROM_RESPONSE"
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=$TASK_ID" \
  -H "Authorization: Bearer $POPNOW_API_KEY"

Replace the prompt and any links with your own. The API tab has the response, polling and callback reference.

Veo 3.1 API questions

How much does the Veo 3.1 API cost?

Veo 3.1 starts at $1.44 per run with Extend Video, its cheapest task. Prices by option: 4 $1.44 per run, 6 $2.16 per run, 8 $2.88 per run. The API uses a separate USD balance. When a task is accepted, we reserve the maximum quoted amount from your API balance. On completion, we charge for actual usage, never more than the hold, and release the remainder. If the task fails, the hold is released.

What are the limits of the Veo 3.1 · Extend Video API?

Clip length: 4–8 s; Prompt length (characters): 4,000; Largest upload: 20 MB; Longest input clip: 60 s. Requests outside these limits are rejected before anything is charged.

More about Veo 3.1