If you automate short-form video in n8n — product teasers, faceless 9:16 Reels/Shorts, or social clips — generating video usually means chaining HTTP Request nodes, hand-rolling a polling loop, setting up cloud billing, and paying extra whenever you bump resolution to 1080p or extend clip length.

The n8n-nodes-plantain community node (npm · GitHub) wraps the Plantain API into a single n8n node that submits the prompt, polls until completion, and outputs a ready-to-use binary MP4 (or PNG for images).

Flat pricing: 8 credits (€0.16) per clip

Every video clip costs 8 credits — regardless of duration (4s, 6s, or 8s), aspect ratio (16:9 or 9:16), or resolution (720p or 1080p), and every clip includes generated audio:

Pack Price Per 1080p video clip Per 1K image
1,000 credits €20 €0.160 (125 clips) €0.020
5,500 credits €100 €0.145 (687 clips) €0.018
31,000 credits €500 €0.128 (3,875 clips) €0.016
  • No subscription and no Google Cloud setup: prepaid credits last 12 months from your last purchase.
  • Automatic refunds: failed or declined prompts return credits automatically.
  • Shared balance: the same credits also generate 1K Nano Banana 2.1 PNG images (1 credit / €0.02 each).

See the full breakdown on the AI video API pricing page. (Plantain is an independent service and is not affiliated with Google.)

1. Install n8n-nodes-plantain

In your self-hosted n8n instance:

  1. Open Settings → Community Nodes → Install.
  2. Enter n8n-nodes-plantain and confirm.

2. Add your Plantain API credential

  1. Sign in with Google at getplantain.com/signin — new accounts include 5 free credits (enough to test 5 images immediately; to run 8-credit video clips you can earn extra free credits on the account page or buy a starter pack).
  2. Copy your bearer API key from /account.
  3. In n8n, create a Plantain API credential and paste your API key (leave Base URL as https://getplantain.com).

3. Generate a 1080p MP4 with sound

Add the Plantain node to your workflow and set:

  • Resource: Video
  • Operation: Generate
  • Prompt: describe the visual scene, camera motion, and audio together (max 2,000 characters). For example: > Slow handheld push-in on an espresso machine extracting dark crema in a sunlit café, warm morning light, gentle steam hiss and ceramic cup clink
  • Aspect Ratio: 9:16 (Vertical) for Shorts/Reels/TikTok, or 16:9 (Landscape)
  • Duration (Seconds): 4 Seconds, 6 Seconds, or 8 Seconds (all cost 8 credits)
  • Resolution: 1080p (same 8-credit price as 720p)
  • Output Binary Property: data

When the node runs, it submits POST /v1/videos, polls GET /v1/videos/{id} (default every 2 seconds, 10-minute timeout configurable under Options), downloads the finished video/mp4, and attaches it to the data binary property. From there, wire it straight into Google Drive, S3, Telegram, Slack, or your publishing node.

4. Pre-flight balance checks and AI Agents

Two extras built into the node make production workflows safer:

  • Check credits first: Use Account → Get Balance before a batch loop so you can skip or alert if credits < 8.
  • Use with n8n AI Agents: The node ships with usableAsTool: true, so an n8n AI Agent can call it on demand as a tool.

If you want a ready-made starting point, import vertical-video-clips-from-google-sheets.json from the GitHub repo — it reads queued rows from Google Sheets, checks your credit budget, renders 9:16 1080p clips, uploads them to Google Drive, and logs Drive links (or any refunded error) back to the sheet.

Also available via plain HTTP

Not using n8n for a specific service? The same video endpoint takes three curl calls:

# 1. Submit (8 credits) curl -X POST https://getplantain.com/v1/videos \ -H "Authorization: Bearer $API_KEY" \ -H "Content-Type: application/json" \ -d '{"prompt":"Ocean waves breaking on basalt rocks at sunrise, gentle wind and surf","duration_s":6,"aspect_ratio":"9:16","resolution":"1080p"}' # 2. Poll until "status" is "succeeded" curl https://getplantain.com/v1/videos/$JOB_ID -H "Authorization: Bearer $API_KEY" # 3. Download MP4 with sound curl -o clip.mp4 https://getplantain.com/v1/videos/$JOB_ID/content -H "Authorization: Bearer $API_KEY" 

Links