# Auto create video Sora with Gemini and OpenAI: n8n workflow

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

Source: https://millionrounds.com/workflow/auto-create-video-sora-with-gemini-and-openai (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)

# Auto create video Sora with Gemini and OpenAI

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

Large Calls a model: Gemini, OpenAI

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fauto-create-video-sora-with-gemini-and-openai)

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

**3** Branches: places the flow splits

**2** Loops or waits

**2** Services it connects to

## The flow

Starts it 1 Model 5 Logic 8 Service 16

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

- 1 **Telegram Trigger** Telegram trigger *Starts it*
- 2 **Google Gemini Chat Model** Lm Chat Google Gemini *Model*
- 3 **Google Gemini Chat Model1** Lm Chat Google Gemini *Model*
- 4 **Kie API key and Ratio** Set *Logic*
- 5 **Text-to-Video Prompt Creator** Agent *Model*
- 6 **Image-to-Video Prompt Creator** Agent *Model*
- 7 **Switch2** Switch *Logic*
- 8 **Text to Video** Http Request *Service*
- 9 **Top photo** Code *Logic*
- 10 **Get a file** Telegram *Service*
- 11 **Wait2** Wait *Logic*
- 12 **Get photo** Telegram *Service*
- 13 **Transcribe a recording** Open Ai *Model*
- 14 **Get Status** Http Request *Service*
- 15 **Upload file** Google Drive *Service*
- 16 **Check Status** If *Logic*
- 17 **Share file** Google Drive *Service*
- 18 **Download video** Http Request *Service*
- 19 **Edit Fields** Set *Logic*
- 20 **Send to Telegram** Telegram *Service*
- 21 **Send Error** Telegram *Service*
- 22 **Image to Video** Http Request *Service*
- 23 **Send a text message** Telegram *Service*
- 24 **Wait** Wait *Logic*
- 25 **Get status1** Http Request *Service*
- 26 **Check Status1** If *Logic*
- 27 **Download video1** Http Request *Service*
- 28 **Send to Telegram2** Telegram *Service*
- 29 **Send Error1** Telegram *Service*
- 30 **Send a text message1** Telegram *Service*

## How it's built

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

## Questions

What does it need to run?

An n8n account, plus your own Google Drive and Telegram accounts, and a key for Gemini and 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 Gemini and OpenAI. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 30 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 30 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%2Fauto-create-video-sora-with-gemini-and-openai)
- **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)[Telegram](https://millionrounds.com/workflows?service=Telegram#library)

## Workflows like it

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

- [**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)
- [**Draft and track incident postmortems with OpenAI** 30 steps · calls a model · Discord, Gmail](https://millionrounds.com/workflow/draft-and-track-incident-postmortems-with-openai-2)
- [**Generate SEO-optimized WordPress blogs with Gemini and Tavily** 30 steps · calls a model · Google Sheets, Telegram](https://millionrounds.com/workflow/generate-seo-optimized-wordpress-blogs-with-gemini-and-tavil)
- [**Pick a Topic & Auto-Publish Translated Content** 30 steps · calls a model · Discord, Google Drive](https://millionrounds.com/workflow/pick-a-topic-and-auto-publish-translated-content)
- [**Clip YouTube videos into shorts with OpenShorts and Telegram** 30 steps · RSS, Telegram](https://millionrounds.com/workflow/clip-youtube-videos-into-shorts-with-openshorts-and-telegram)
- [**Generate SEO blog posts with Claude and Google Docs** 30 steps · Google Drive, Google Sheets](https://millionrounds.com/workflow/generate-seo-blog-posts-with-claude-and-google-docs)
