π¬ Extend videos with audio using Fal, OpenAI, and Upload-Post for TikTok
β‘ 141 views Β· π¬ Content Creation & Video
π‘ Pro Tip β Since TikTok doesnβt have a public API, getting data usually means fragile HTTP scraping. ScraperNode is a community node that gives you clean JSON for TikTok profiles, videos, and comments β drop it into your workflow and skip the parsing.
Description
Quick overview
This workflow accepts a video URL and prompt, uses Fal.ai (ltx-2.3-quality) to extend the video forward with generated audio, generates an SEO-friendly title with OpenAI, downloads the finished video, and uploads it to TikTok via the Upload-Post API.
How it works
- Triggers from either an n8n Form submission or an incoming Webhook request containing
video_urlandprompt. - Sends the video URL and prompt to Fal.aiβs ltx-2.3-quality extend-video endpoint to start an asynchronous high-quality render with audio generation enabled.
- Waits 60 seconds and repeatedly polls Fal.aiβs queue status endpoint until the job status returns
COMPLETED. - Fetches the completed Fal.ai request details to retrieve the final generated video URL.
- Sends the original prompt to OpenAI (GPT-5) to generate a short, clickable, SEO-oriented video title.
- Downloads the generated video file and uploads it to Upload-Post with the generated title, targeting the TikTok platform.
Setup
- Add a Fal.run API credential (HTTP Header Auth) and confirm the extend-video and status/request URLs match your Fal.ai account and model.
- Add an OpenAI API credential and, if needed, change the model in the title-generation step.
- Add an Upload-Post API credential (HTTP Header Auth), set your
uservalue (currentlyYOUR_USERNAME), and confirm the Upload-Post endpoint and TikTok platform parameter. - If triggering externally, copy the Webhook URL and configure the calling app to send
video_urlandprompt, or use the included n8n Form to submit those fields. - Adjust the polling delay (60 seconds) if you need faster updates or fewer API calls.
Additional info
MY NEW YOUTUBE CHANNEL
π Subscribe to my new YouTube channel. Here Iβll share videos and Shorts with practical tutorials and FREE templates for n8n.
Need help customizing?
Contact me for consulting and support or add me on Linkedin
π Nodes Used
HTTP Request, Webhook, n8n Form Trigger, OpenAI
π₯ Import
Download workflow.json and import into n8n:
Workflow menu β Import from File
