---
title: Zapier
description: The Clipia integration for Zapier — generate images and videos with 60+ AI models inside a Zap. API-key connection, waiting for the result and a ready file for the next step.
icon: Zap
---

The Clipia integration for Zapier adds image and video generation steps to a Zap: the step takes a prompt, runs the generation on one of 60+ models and hands the finished file to the next step — storage, chat, a CMS. Authentication uses a Clipia API key, the same one the REST API takes.

<Callout type="info" title="Publication status">
The integration is in Zapier's review queue. Until it appears in the App
Directory, write to `support@clipia.ai` and we will send an invitation link.
</Callout>

## What you get in a Zap

| Step type | Name | What it does |
|---|---|---|
| Action | Generate Image | Starts an image generation on the selected model |
| Action | Generate Video | Starts a video generation on the selected model |
| Action | Estimate Cost | Returns the cost in credits before anything runs |
| Search | Find Model | Looks up a model in the live catalog |
| Search | Get Generation Status | Returns the status for a `request_id` |
| Search | Get Generation Result | Returns the result and the file links |
| Search | Get Account Balance | Credit balance and 30-day usage |

The model list is never hardcoded: **Model** is a live dropdown built from your account's catalog. `aspect_ratio`, `duration` and `resolution` come from the selected model's own schema, so the form shows only the parameters that model actually accepts.

## Connecting

<Steps>

<Step>

### Create an API key

Open the [developer console](/en/developer) → the **API keys** tab → **Create key**. Pick the environment: live `clipia_live_…` or sandbox `clipia_test_…`. The key and its webhook signing secret are shown once — copy both.

</Step>

<Step>

### Add a Clipia step to your Zap

In the Zap editor pick the Clipia app, then an action — **Generate Image**, for example. On first use Zapier asks for the key.

</Step>

<Step>

### Paste the key

The **API Key** field takes the whole key, prefix included. Zapier verifies it against your account and labels the connection with the credit balance, so it is obvious which account is wired up.

</Step>

<Step>

### Build the generation step

Pick a model, write the prompt and, for image-to-video, supply the source image. To learn the cost up front, add an **Estimate Cost** step.

</Step>

</Steps>

<Callout type="info" title="Sandbox for debugging">
A `clipia_test_…` key runs in sandbox mode: no real generation is started, no credits are spent, and the step returns a deterministic sample result immediately. Build and verify the Zap on it, then swap the connection for a `clipia_live_…` key — the Zap itself stays the same. See [sandbox](/en/docs/getting-started/sandbox) for details.
</Callout>

## Waiting for the result

A Zapier step is capped at roughly 30 seconds, and a video takes minutes. Both Generate steps therefore have a **Wait for completion** toggle:

- **on** — short jobs are polled inside the step; long ones are handed to Zapier's delayed-resume mechanism: Clipia posts the finished generation back and the step continues with the files in hand;
- **off** — the step returns the `request_id` right away, and the result is picked up later by **Get Generation Result**.

If the waiting budget does run out, the step fails with a message that **carries the Request ID** — a paid generation is never lost, and the result can still be fetched by a separate step.

## The file on the way out

**Download file** (on by default) hands the media to the next step through Zapier's lazy file mechanism: the bytes are fetched only when something actually uses them. The full-size original is preferred over the optimised preview.

## Your own webhook

The **Webhook URL** field of a Generate step sends the finished generation to an address of your choice — your server or another service. Every delivery is signed with HMAC-SHA256 using the signing secret the console showed together with the key; how to verify it is described under [webhooks](/en/docs/api-reference/webhooks).

A trigger that starts a Zap when a generation finishes is planned for a later version of the integration.

## Errors and limits

Errors are routed by meaning, not retried on principle:

| Situation | What the step does |
|---|---|
| Rate limit exceeded | Retries in place, honouring `Retry-After`, up to 3 attempts |
| Temporary service error | Retries with backoff, up to 3 attempts |
| Not enough credits | Fails immediately — top up |
| Subscription required | Fails immediately — a top-up will not help |
| Model rejected the input | Fails immediately, showing what was rejected |
| Key no longer valid | Zapier prompts you to reconnect |

Full tables live under [errors](/en/docs/api-reference/errors) and [rate limits](/en/docs/api-reference/rate-limits).

## FAQ

<Accordions>

<Accordion title="Does Zapier need a separate plan?">

No. Zapier uses the same public API and the same credit balance as every other integration. Generations on a live key need an active Clipia subscription: a credit pack without a subscription does not unlock access, and the step returns `402 subscription_required`. A sandbox key works without payment and spends nothing.

</Accordion>

<Accordion title="What happens if the same step runs twice?">

Every run is submitted with an idempotency key. A repeat with the same key and the same parameters returns the same `request_id` — no duplicate generation, no second charge. See [idempotency](/en/docs/api-reference/idempotency).

</Accordion>

<Accordion title="Can I know the cost before running anything?">

Yes — the **Estimate Cost** step takes a model and its parameters and returns the cost in credits. It is a separate step and starts no generation.

</Accordion>

<Accordion title="Which other automation platforms are supported?">

Besides Zapier, the same set of operations is implemented for Make, n8n, Pipedream and Activepieces, with identical field names. For the publication status of each catalog, write to `support@clipia.ai`.

</Accordion>

</Accordions>
