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
- Receive Article URL
- Acknowledge Request
- Download Article
- Create Video Plan
- Generate Voiceover
- Get Subtitle Timings
- Prepare Render Data
- Save Voiceover
- Create Work Directory
- Render Video
- Read Rendered Video
- Upload Video to Drive
- Share file
- Cleanup Render Files
28 steps in total.
Similar automations
Web Scraping & ResearchScrape Entire Websites with Jina AI into Google Drive12 stepsFiles & Cloud StorageConvert Instagram carousels into TikTok and Reels videos with ffmpeg and SocialRobot26 stepsWeb Scraping & ResearchScrape Web Pages with Jina and OpenAI to Sheets6 stepsAI Agents & AssistantsAI Research Assistant with Jina Search and Gemini14 steps