Guide

n8n Veo 3 and Kling: call a video model with the HTTP Request node

Prices checked Nov 26, 2026 · 4 min read

n8n Veo 3 workflow shown as three connected cards on a dark desk

To use Veo 3 or Kling in n8n, send one HTTP Request node to POST https://api.tapmodels.com/v1/tasks with your key and a JSON body that names the model. The API answers at once with a task id, because video is generated in the background. You then either poll GET /v1/tasks/{id} until it finishes, or give a callback_url and let TapModels call your workflow when it is done.

Step 1: set up the credential

In n8n, the HTTP Request node sends requests to any service. n8n recommends the Predefined Credential Type option when one exists, and generic credentials, which include Header auth, for other services. We have no predefined n8n credential, so use Header auth:

  • Name: Authorization
  • Value: Bearer sk_live_... (your TapModels key)

Create the key on the dashboard's Keys page. The secret is shown once, so copy it then. Give the key a spend limit (spend_limit_credits) so a workflow loop cannot drain your balance: a limit of 500 credits caps spend at $5.00 and returns 402 key_limit_reached after that. New accounts start at 0 credits, so add some first.

Step 2: submit the video task

Add an HTTP Request node. Set Method to POST, the URL to https://api.tapmodels.com/v1/tasks, turn on Send Body, set Body Content Type to JSON and choose Using JSON. Paste a Veo 3.1 request:

{
  "model": "veo-3-1",
  "input": {
    "mode": "Fast",
    "prompt": "A matte white ceramic mug on grey stone, slow push-in, soft window light",
    "duration": 8,
    "resolution": "1080p",
    "aspect_ratio": "16:9",
    "audio": true
  }
}

The reply is 202 with { "id": "task_...", "status": "queued", "estimated_credits": 32.5 }. Fast mode at 1080p is 32.5 credits, which is $0.325. For an image-to-video run, add image_url to input with a URL from POST /v1/files.

Step 3a: poll until it is done

This needs no public URL, so it works on a local n8n.

  1. Wait node set to After Time Interval, such as 20 seconds. n8n's docs say waits under 65 seconds keep the workflow running without writing data to the database.
  2. HTTP Request node: GET https://api.tapmodels.com/v1/tasks/{{ $('Submit task').item.json.id }} with the same credential. Rename your first node to "Submit task" or change the reference to match.
  3. IF node: if status is queued or running, loop back to the Wait node. If succeeded, continue. If failed, route to an error branch.

The finished task has output.urls and credits_charged. Output files are kept for 14 days, so save the video to your own storage in the next node.

Step 3b: use a callback instead of polling

Add "callback_url" to the body. When the task reaches a final status, TapModels POSTs the task object to that URL, with an X-Signature header of the form t=<unix>,v1=<hex hmac-sha256 of "t.body">, signed with your account's webhook secret. Failed deliveries are retried with backoff for 24 hours.

Two ways to receive it in n8n:

  • Webhook node as a second workflow trigger. Set the HTTP Method to POST. n8n gives a Test URL while you listen for a test event, and a Production URL that is registered when you publish the workflow. Use the production URL for real runs.
  • Wait node set to On Webhook Call, in the same workflow. n8n's docs say it resumes when a call reaches a unique resume URL, available as $execution.resumeUrl. Pass that value as callback_url, and set the node's HTTP method to POST. Test once, because we have not run this exact pairing.

Verify the signature if the workflow does anything costly. If your setup cannot give you the exact raw body, confirm the task with GET /v1/tasks/{id} before you act on it.

Kling in n8n and Python

Kling uses the same endpoint with a different model and per-second prices. In n8n change model to kling-4-0 and use "duration": "10", "resolution": "1080p". From Python, for kling api python searches:

import os, time, requests

H = {"Authorization": f"Bearer {os.environ['TAPMODELS_API_KEY']}"}
task = requests.post("https://api.tapmodels.com/v1/tasks", headers=H, json={
    "model": "kling-4-0",
    "input": {"prompt": "A paper boat drifting down a rainy street, slow tracking shot",
              "duration": "5", "resolution": "720p", "aspect_ratio": "16:9"},
}).json()

while task["status"] in ("queued", "running"):
    time.sleep(5)
    task = requests.get(f"https://api.tapmodels.com/v1/tasks/{task['id']}", headers=H).json()
print(task["status"], task.get("output", {}).get("urls"))

Make.com works the same way: use its HTTP module for the POST and the poll, with the same header and JSON. Menu names differ, so follow Make's docs.

What a video costs

Prices are TapModels catalog values; credits are 100 per $1.

Model and tierCreditsPrice
Veo 3.1 Fast 720p30$0.30 per video
Veo 3.1 Fast 1080p32.5$0.325 per video
Veo 3.1 Quality 1080p127.5$1.275 per video
Kling 4.0 720p14.25 per second$0.1425 per second
Kling 4.0 1080p21.25 per second$0.2125 per second

A weekly workflow makes 50 Veo Fast 1080p clips: 50 x $0.325 = $16.25 a week, about $65.00 over four weeks. If 5 of the 50 fail, you are charged for 45, so 45 x $0.325 = $14.625. A 10-second Kling clip at 1080p is 10 x $0.2125 = $2.125. For the wider comparison, see cheap Veo 3 API.

Limits to design around

By default you can submit 20 new tasks per 10 seconds per account, and a faster burst returns 429 rate_limited with Retry-After. In n8n, the HTTP Request node's Batching option, with Items per Batch and Batch Interval in milliseconds, spaces requests out: 20 items every 10,000 ms matches that limit. Errors you should branch on: 402 insufficient_credits, 422 invalid_input (the message names the field) and a task with status: failed and error.code: upstream_error, which charges 0 credits.

TapModels is a separate service, and we publish no speed or quality numbers, so render a few clips before you schedule a batch. Next step: pick a model on the text-to-video API page.

Frequently asked questions

How do I call Veo 3 from n8n?

Add an HTTP Request node, set the method to POST and the URL to https://api.tapmodels.com/v1/tasks, add a Header Auth credential with a Bearer key, and send a JSON body with model veo-3-1 and an input object. You get a task id back, then poll it or receive a callback when it finishes.

Do video generation APIs return the video right away?

No. Media tasks on TapModels are asynchronous: POST /v1/tasks returns 202 with a task id and status queued. You then poll GET /v1/tasks/{id} until the status is succeeded or failed, or pass a callback_url and receive a POST when the task ends.

How much does one Veo 3.1 video cost?

On TapModels, Veo 3.1 Fast at 720p is 30 credits ($0.30) per video, Fast 1080p is 32.5 credits ($0.325), and Quality 1080p is 127.5 credits ($1.275). Credits are held when you submit and charged only if the task succeeds. A failed task is not charged.

How do I call the Kling API from Python?

Use requests: POST to https://api.tapmodels.com/v1/tasks with a Bearer key and a JSON body with model kling-4-0 and an input object, then loop on GET /v1/tasks/{id} every few seconds until the status leaves queued and running. Kling 4.0 is priced per second of video.

Can Make.com call the same endpoint?

Any tool that can send an HTTP POST with an Authorization header and a JSON body can call it, including Make's HTTP module. The request shape is the same as in n8n. Field and menu names differ by tool, so follow that tool's documentation for headers and body.

Sources