Skip to content
NEWMarketplace and your team: sell what you build, and get plans and changes that are tested before you see them. See what is new

Library / Files & Cloud Storage

Files & Cloud Storage

Create TikTok videos from articles with OpenAI, Telegram, and Google Drive

When something happens in a connected app, it manages files with OpenAI / ChatGPT using Shell, Google Drive, Telegram, Jina AI.

What it does

## tiktok_fabrique ### How it works 1. Receives an article URL in Telegram and downloads the article content. 2. Uses OpenAI to create a short TikTok script, scene plan, voiceover, and word-level timing data. 3. Renders a 1080×1920 video with image motion and karaoke-style subtitles using Node.js and FFmpeg. 4. Uploads the rendered video to Google Drive and sends it for human review in Telegram. 5. Publishes the approved video to a selected TikTok account and monitors the publishing status until completion. ### Setup steps - [ ] Connect a Telegram bot credential and configure the allowed Telegram user. - [ ] Connect an OpenAI API credential for script generation, text-to-speech, and transcription. - [ ] Use self-hosted n8n with Execute Command enabled, Node.js and FFmpeg installed, and write access to /home/node/.n8n-files/work. - [ ] Connect Google Drive and choose the destination folder for rendered videos. - [ ] Configure the Bearer Auth credential for the TikTok publishing API and make sure TikTok accounts are connected there. ### Customization Adjust the OpenAI prompt to change the video style, voice or duration. Subtitle styling and image motion are controlled in the render script. The Google Drive folder and TikTok publishing API endpoints can also be replaced for another setup.

The steps

  1. Receive Article URL
  2. Acknowledge Request
  3. Download Article
  4. Create Video Plan
  5. Generate Voiceover
  6. Get Subtitle Timings
  7. Prepare Render Data
  8. Save Voiceover
  9. Create Work Directory
  10. Render Video
  11. Read Rendered Video
  12. Upload Video to Drive
  13. Share file
  14. Cleanup Render Files

28 steps in total.

Similar automations