# Create videos with AI-generated and Gemini: n8n workflow

> Started by another system calling it, and works across Google Drive. 22 steps, 3 branches, 1 loop or waits: large, and worth reading before you trust it...

Source: https://millionrounds.com/workflow/create-videos-with-ai-generated-and-gemini (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 videos with AI-generated and Gemini

Started by another system calling it, and works across Google Drive. 22 steps, 3 branches, 1 loop or waits: large, and worth reading before you trust it with anything live.

Large

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fcreate-videos-with-ai-generated-and-gemini)

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

**3** Branches: places the flow splits

**1** Loop or waits

**1** Service it connects to

## The flow

Starts it 3 Logic 11 Service 8

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

- 1 **Webhook Trigger** Webhook *Starts it*
- 2 **Manual Trigger** Manual trigger *Starts it*
- 3 **Extract Webhook Data** Set *Logic*
- 4 **Sample Inputs (Edit Here)** Set *Logic*
- 5 **Merge Triggers** Merge *Logic*
- 6 **1. Generate Background Image (Gemini)** Http Request *Service*
- 7 **Extract Image Data** Code *Logic*
- 8 **2. Save Background Image to Drive** Google Drive *Service*
- 9 **3. Make Background Image Public** Google Drive *Service*
- 10 **4. Create Job (Upload Video)** Http Request *Service*
- 11 **5. Start Composition (AI Background)** Http Request *Service*
- 12 **6. Check Job Status** Http Request *Service*
- 13 **Is Complete?** If *Logic*
- 14 **7. Download Video** Http Request *Service*
- 15 **Has Failed?** If *Logic*
- 16 **8. Upload Video to Drive** Google Drive *Service*
- 17 **Build Error Response** Set *Logic*
- 18 **Wait 20s** Wait *Logic*
- 19 **Build Success Response** Set *Logic*
- 20 **From Webhook?** If *Logic*
- 21 **Respond to Webhook** Respond To Webhook *Starts it*
- 22 **Manual Test Complete** Set *Logic*

## How it's built

- **Starts on:** Another system calling it
- **Steps:** 22, with 3 branches, 1 loop or waits
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Google Drive
- **Model:** None. This is plumbing, not judgement

## Questions

What does it need to run?

An n8n account, plus your own Google Drive account. You connect your own accounts after importing it; none are included.

What starts it?

It starts on another system calling it.

Does it use AI?

No. Every step is fixed logic or a call to a service, so it does the same thing every time.

How long does it take to set up?

Take your time. At 22 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 22 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-videos-with-ai-generated-and-gemini)
- **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.

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

## Workflows like it

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

- [**AI image generation & editing with Gemini and Telegram Bot** 22 steps · Airtable, Google Drive](https://millionrounds.com/workflow/ai-image-generation-and-editing-with-gemini-and-telegram-bot)
- [**Annotate video scripts with DeepSeek and Kie.AI** 22 steps · Google Drive, Google Sheets](https://millionrounds.com/workflow/annotate-video-scripts-with-deepseek-and-kie-ai)
- [**Generate social videos with VEED and Claude** 22 steps · Google Drive, Google Sheets](https://millionrounds.com/workflow/generate-social-videos-with-veed-and-claude)
- [**Veo 3 + VideoBGRemover Lottie JSON for mobile** 22 steps · Google Drive](https://millionrounds.com/workflow/veo-3-videobgremover-lottie-json-for-mobile)
- [**Automate AI news videos to social media with OpenAI and HeyGen** 22 steps · calls a model · Google Drive, Google Sheets](https://millionrounds.com/workflow/automate-ai-news-videos-to-social-media-with-openai-and-heyg)
- [**Generate real-estate marketing images and videos with OpenAI** 22 steps · calls a model · Gmail, Google Drive](https://millionrounds.com/workflow/generate-real-estate-marketing-images-and-videos-with-openai)
