# Create AI viral videos with NanoBanana 2 PRO and VEO3.1: n8n workflow

> Started by an incoming Telegram message, and works across Telegram. It hands the judgement calls to OpenAI.

Source: https://millionrounds.com/workflow/create-ai-viral-videos-with-nanobanana-2-pro-and-veo3-1 (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Content](https://millionrounds.com/workflows?category=Content#library)

# Create AI viral videos with NanoBanana 2 PRO and VEO3.1

Started by an incoming Telegram message, and works across Telegram. It hands the judgement calls to OpenAI. 31 steps, 2 loops or waits: large, and worth reading before you trust it with anything live.

Large Calls a model: OpenAI

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fcreate-ai-viral-videos-with-nanobanana-2-pro-and-veo3-1)

**31 steps** Large: read it before trusting it with anything live

**0** Branches: places the flow splits

**2** Loops or waits

**1** Service it connects to

## The flow

Starts it 1 Model 8 Logic 8 Service 14

The steps in the order they run, from what starts it.

- 1 **OpenAI Chat Model** Lm Chat Open Ai *Model*
- 2 **Think** Tool Think *Model*
- 3 **Structured Output Parser** Output Parser Structured *Model*
- 4 **Telegram Trigger: Receive Video Idea** Telegram trigger *Starts it*
- 5 **LLM: Structured Output Parser** Output Parser Structured *Model*
- 6 **LLM: OpenAI Chat** Lm Chat Open Ai *Model*
- 7 **AI Agent: Generate Video Script** Agent *Model*
- 8 **Set: Bot Token (Placeholder)** Set *Logic*
- 9 **Generate Image Prompt** Agent *Model*
- 10 **Parse GPT Response** Code *Logic*
- 11 **Telegram API: Get File URL** Http Request *Service*
- 12 **NanoBanana: Create Image** Http Request *Service*
- 13 **Optimize Prompt for Veo** Set *Logic*
- 14 **OpenAI Vision: Analyze Reference Image** Open Ai *Model*
- 15 **Wait for Image Edit** Wait *Logic*
- 16 **Prepare Veo Request Body** Code *Logic*
- 17 **Download Edited Image** Http Request *Service*
- 18 **Veo Generation** Http Request *Service*
- 19 **Set Master Prompt** Set *Logic*
- 20 **Wait** Wait *Logic*
- 21 **Download Video** Http Request *Service*
- 22 **Send Video to Telegram** Telegram *Service*
- 23 **Upload Video to BLOTATO** Blotato *Service*
- 24 **Tiktok** Blotato *Service*
- 25 **Linkedin** Blotato *Service*
- 26 **Facebook** Blotato *Service*
- 27 **Instagram** Blotato *Service*
- 28 **Twitter (X)** Blotato *Service*
- 29 **Youtube** Blotato *Service*
- 30 **Merge1** Merge *Logic*
- 31 **Send a text message** Telegram *Service*

## How it's built

- **Starts on:** An incoming Telegram message
- **Steps:** 31, 2 loops or waits
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Telegram
- **Model:** OpenAI

## Questions

What does it need to run?

An n8n account, plus your own Telegram account, and a key for OpenAI. You connect your own accounts after importing it; none are included.

What starts it?

It starts on an incoming Telegram message.

Does it use AI?

Yes. It calls OpenAI. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 31 steps it is large: read it before trusting it with anything live.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

**Before you run it**

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 31 steps before you point it at anything that matters.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fcreate-ai-viral-videos-with-nanobanana-2-pro-and-veo3-1)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[Telegram](https://millionrounds.com/workflows?service=Telegram#library)

## Workflows like it

Also content, with the same services where possible, closest in size first.

- [**Generate Seedance video ads from Telegram photos with OpenAI** 31 steps · calls a model · Telegram](https://millionrounds.com/workflow/generate-seedance-video-ads-from-telegram-photos-with-openai)
- [**TikTok video automation tool – highly optimized with OpenAI** 31 steps · calls a model · Gmail, Outlook](https://millionrounds.com/workflow/tiktok-video-automation-tool-highly-optimized-with-openai)
- [**Translate RSS news and publish** 31 steps · Discord, Gmail](https://millionrounds.com/workflow/translate-rss-news-and-publish)
- [**Auto create video Sora with Gemini and OpenAI** 30 steps · calls a model · Google Drive, Telegram](https://millionrounds.com/workflow/auto-create-video-sora-with-gemini-and-openai)
- [**Automate LinkedIn content from Twitter AI posts** 32 steps · calls a model · Google Sheets, LinkedIn](https://millionrounds.com/workflow/automate-linkedin-content-from-twitter-ai-posts)
- [**Create AI image and video posts from Telegram with OpenAI** 30 steps · calls a model · Telegram](https://millionrounds.com/workflow/create-ai-image-and-video-posts-from-telegram-with-openai)
