Skip to content
Guides

Zapier AI Video and Image Generation With Webhooks

Zapier AI video and image generation with Webhooks by Zapier: the request, catching the result, storing the file, and what to do when a job fails.

Updated 6 min read

Zapier AI video and image generation goes through Webhooks by Zapier, not through an app of ours: Frameport has no official Zapier app, so a Zap calls the API directly. At the time of writing, Webhooks by Zapier comes with the Professional, Team and Enterprise plans; the Free plan does not include it. With one API key, the same steps start a clip on Seedance 2.5 or an image on Nano Banana Pro or Frameport Image 1, catch the result when it is ready, and file it in Google Drive.

Below: two Zaps around a Google Sheet, from the request to the stored file, and what to do when a job fails.

What the Zapier AI video Zap does

A generation is not ready when the request that starts it returns, so one Zap starts the work and a second one picks up the result:

Two Zaps, one sheet
Zap 1: start the work
  1. Google Sheets: New Spreadsheet Row
  2. Code by Zapier: Run JavaScript (build the request body)
  3. Webhooks by Zapier: Custom Request (POST, start the clip or the image)
  4. Google Sheets: Update Spreadsheet Row (generation id, "rendering")

Zap 2: catch the result
  1. Webhooks by Zapier: Catch Hook (Pick off a Child Key: data)
  2. Webhooks by Zapier: GET (read the generation again, with your key)
  3. Google Sheets: Lookup Spreadsheet Row (by generation id)
  4. Filter by Zapier: a row was found, and it still says "rendering"
  5. Google Sheets: Update Spreadsheet Row (status, cost, reason)
  6. Filter by Zapier: the status is "succeeded"
  7. Google Drive: Upload File (from the output's link)
  8. Google Sheets: Update Spreadsheet Row (the Drive link)

One request shape covers images and video; only the endpoint and a few fields change:

To makeModelEndpointPrice
A clip with soundSeedance 2.5/videos/generations5 s at 720p: $1.35
An image with lettering in itNano Banana Pro/images/generations$0.16 an image
A series of images in one styleFrameport Image 1/images/generations$0.025 an image

Send the request

In Webhooks by Zapier, the key goes in each step's Headers, where anyone who can edit the Zap can read it. Create a key for this Zap alone under API keys (it starts with fp_live_), so you can revoke it without touching anything else.

Build the body in a Code by Zapier step (Run JavaScript) rather than typing JSON around a mapped prompt: a double quote or a line break in a prompt breaks hand-typed JSON, and JSON.stringify escapes both. In Input Data, map the row's prompt and id:

Code by Zapier: Run JavaScript
const body = {
  model: 'seedance-2-5',
  prompt: inputData.prompt,
  duration: 5,
  resolution: '720p',
  aspect_ratio: '9:16',
  max_cost_usd: 1.35,
}
output = { body: JSON.stringify(body), key: `clip-${inputData.id}` }

For an image, the body is model: 'nano-banana-pro', the prompt, n: 1 and an aspect_ratio such as '4:3', with max_cost_usd: 0.16, sent to /images/generations. Keep n at 1 in a Zap: one output per generation keeps the later steps simple.

Then the Custom Request step:

FieldValue
MethodPOST
URLhttps://frameport.ai/v1/videos/generations
Data Pass-ThroughOff
Databody, from the Code step
HeadersAuthorization: Bearer, a space and your key
Content-Type: application/json
Idempotency-Key: key, from the Code step

The API answers 202 Accepted at once with the generation: its id, status queued, and reserved_usd, the price held on your balance until it settles. Update Spreadsheet Row writes that id and the word rendering into the row. A refused request, such as a length off the model's grid or a balance too low, answers 400 or 402 with an error.message that says why, before anything is held.

The Idempotency-Key is what makes a replayed run safe: the same key with the same body returns the first generation for 24 hours, instead of starting and charging a second one.

Catch the result

Zap 2 starts with Webhooks by Zapier › Catch Hook. Set Pick off a Child Key to data, so the trigger's fields are the generation itself, and copy the URL Zapier shows. In the Frameport dashboard, add that URL under Webhooks with both events, generation.succeeded and generation.failed (webhooks).

Zapier learns the fields from a first request. Send the URL a sample, which starts nothing and costs nothing, then click Test trigger:

A sample delivery, sent to your Catch Hook
curl -X POST "https://hooks.zapier.com/hooks/catch/123456/abcdef/" \
  -H "Content-Type: application/json" \
  -d '{"id": "whd_sample", "type": "generation.succeeded", "created_at": "2026-11-28T10:00:00.000Z", "data": {"id": "gen_sample", "status": "succeeded"}}'

Next, a GET step of Webhooks by Zapier, with the same Authorization header, reads the generation again:

URL (the id comes from the trigger)
https://frameport.ai/v1/generations/[id from step 1]

Every later step works from this read, not from the delivery's body, so a forged request to the Zap's URL leads nowhere: an id that is not one of your generations answers 404.

Lookup Spreadsheet Row then finds the row by generation id. A webhook hears about every generation of the workspace, the Studio's included, so the Filter after it goes on only when a row was found and still says rendering: an id from elsewhere stops there, and a delivery that arrives twice is handled once. Update Spreadsheet Row writes the outcome: the status, cost_usd (what was charged), and the error's message when it failed.

Zapier answers every request to a Catch Hook with a 200 straight away, well inside the 10 seconds the API waits, so a delivery is rarely sent twice. When one gets no 2xx, it comes again after 1, 5 and 15 minutes, and the filter catches the repeat.

Store and share the file

A second Filter lets only succeeded through. In Google Drive › Upload File, map the output's url from the GET step into File: that signed link opens without a key for about an hour, and Zapier fetches the file from it. A last Update Spreadsheet Row adds the Drive link to the row.

The same link works in a Slack or Gmail step that shares the result, or in a Dropbox or Box upload. Files are not kept forever on our side, so copy the ones you keep, and share the Drive copy rather than the signed link, which expires (files).

Failures and retries

  • A failed generation costs nothing. It ends with status failed and a reason in error, and its hold goes back to the balance. Zap 2 writes the reason to the row.
  • A replayed run is not charged twice. When a step errors, replay the run from Zap history, or turn on Autoreplay (Professional plan and up), which replays errored runs by itself. The request goes out with the same Idempotency-Key, so it returns the first generation instead of starting another.
  • A new try needs a new key. To make a failed clip again, send it with a new key, such as clip-<id>-2: the old key returns the failed generation (idempotency keys).
  • A Zap switched off loses its deliveries. Once a Zap is off or deleted, Zapier answers its URL with 404, though the change can take several hours. An endpoint whose deliveries all fail for 24 hours, 10 in a row at least, is turned off on our side. Turn it back on under Webhooks when the Zap runs again; the events in between are not sent again, so find those in Generations.
  • A full sheet at once meets the limits. A workspace accepts 60 requests that start work a minute and runs 20 generations at once, then answers 429. Put Delay by Zapier › Delay After Queue before the request, so the rows go out one after another.

The webhooks guide explains deliveries and signatures in depth. The same flow is built with Make's HTTP module in the Make.com AI video guide, and with n8n's HTTP Request node in the n8n AI video workflow and n8n image generation. To skip the automation and make clips by hand, see how to make AI video without code.

FAQ

Is there a Frameport app on Zapier?

No, there is no official app. Webhooks by Zapier calls the API directly, with your key in the headers, and the same request works for every model of the catalog. It needs a Professional, Team or Enterprise plan.

Can Zapier do AI image generation?

Yes, with a webhook step like the one above: send the body to https://frameport.ai/v1/images/generations with an image model such as nano-banana-pro or fp-image-1. An image on Nano Banana Pro costs $0.16, charged only when it succeeds.

Can a Zap edit or upscale a video?

Yes. A Custom Request to https://frameport.ai/v1/videos/edits with "model": "fp-upscale-1", the clip's file id as video and a resolution of 1080p and 2K sharpens a finished clip, and the result arrives through the same Catch Hook. Frameport Replace 1 on the same endpoint swaps faces, with the consent of the people shown.

How much does Zapier AI video generation cost?

Clips are paid by the second from your prepaid balance, and only when they succeed: 5 seconds of Seedance 2.5 at 720p cost $1.35. Quotes, reads and failed jobs cost nothing. Your Zapier plan is billed apart.

Does a Zap have to wait while the clip renders?

No. Zap 1 ends once the generation is accepted, and the Catch Hook starts Zap 2 when the result is ready, so no run sits waiting and nothing polls.

Start building.

Your API key is free. Top up from $10 when you are ready.