Instagram Posting Solved | AI gen video and text post for $0.07-$0.15

Taming Social Media - Instagram

This is a sample cut out of a flow that handles 6 socials: Insta | Fcbk | Youtube | LinkedIn | X | TikTok (yes Tiktok, unlimited posting solved)

The Breakdown:

  • Trigger: Gmail for convenience. Whatsapp Web Forms and Slack in other instances.

  • Brain: Ministral 14b via Langchain. Tavily research.

  • Video: Image: Flux 2 t2i –> Hailuo i2v ($0.07) for 10s video; OR Vidu Q2 ($0.15) t2v

  • Voice Over: Local Kokoro TTS ($0).

  • Editor: A monstrous FFmpeg node cropping/mixing everything. Pull music file, apply watermark logo.

  • CDN: Public Cloudflare R2 (necessary).

Costs: About $0.08–$0.16 total per Reel, mostly just video gen. Ministral is basically pennies ($.20 in/out).

Sanity:

  • Meta Node: The Instagram node requires a public, static CDN URL (S3/R2) for video. Local files do not work. If it’s not public, the node dies.

  • Loops: For video gen platforms requiring ASync API - waiting for the status complete- then - Getting… apply the Wait node - with a webhook “callback”. Applied and demonstrated here for the Vidu video gen.

  • FFmpeg: Don’t probe HTTPS URLs with ffprobe in n8n. It will timeout. Download the video to a /temp folder and probe locally.

FULL YOUTUBE WALKTHROUGH: youtube- Instagram with n8n

3 Likes