Automation library · Content

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.

LargeCalls a model: Gemini, OpenAI

30 stepsLarge: read it before trusting it with anything live
3Branches: places the flow splits
2Loops or waits
2Services it connects to

The flow

Starts it 1Model 5Logic 8Service 16

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

  1. 1Telegram TriggerTelegram triggerStarts it
  2. 2Google Gemini Chat ModelLm Chat Google GeminiModel
  3. 3Google Gemini Chat Model1Lm Chat Google GeminiModel
  4. 4Kie API key and RatioSetLogic
  5. 5Text-to-Video Prompt CreatorAgentModel
  6. 6Image-to-Video Prompt CreatorAgentModel
  7. 7Switch2SwitchLogic
  8. 8Text to VideoHttp RequestService
  9. 9Top photoCodeLogic
  10. 10Get a fileTelegramService
  11. 11Wait2WaitLogic
  12. 12Get photoTelegramService
  13. 13Transcribe a recordingOpen AiModel
  14. 14Get StatusHttp RequestService
  15. 15Upload fileGoogle DriveService
  16. 16Check StatusIfLogic
  17. 17Share fileGoogle DriveService
  18. 18Download videoHttp RequestService
  19. 19Edit FieldsSetLogic
  20. 20Send to TelegramTelegramService
  21. 21Send ErrorTelegramService
  22. 22Image to VideoHttp RequestService
  23. 23Send a text messageTelegramService
  24. 24WaitWaitLogic
  25. 25Get status1Http RequestService
  26. 26Check Status1IfLogic
  27. 27Download video1Http RequestService
  28. 28Send to Telegram2TelegramService
  29. 29Send Error1TelegramService
  30. 30Send a text message1TelegramService

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.