{"slug": "turn-chatgpt-outputs-into-tiktok-videos-automatically", "title": "Turn ChatGPT Outputs into TikTok Videos Automatically", "summary": "A developer automated TikTok video production by connecting ChatGPT's API to FFmpeg Micro's text-overlay feature via n8n or Make.com. The workflow generates scripts under 100 words and burns them onto background clips, producing each video for less than one cent. The system can run on a schedule, outputting videos directly to TikTok drafts without manual editing.", "body_md": "*Originally published at ffmpeg-micro.com*\n\nYou can get ChatGPT to write scripts all day long. Hook ideas, product explainers, hot takes. It will generate dozens in minutes. But turning that text into an actual TikTok video? That's where most people stall out. They open CapCut or Premiere, spend 30 minutes per clip, and the \"automation\" dream dies on the editing timeline.\n\nThe bottleneck isn't the writing. It's the video production step. And you can eliminate it entirely with an API call.\n\nNo editing software. No manual exports. Once it's wired up, you trigger it on a schedule and videos show up in your TikTok drafts.\n\nIn n8n, drop in an HTTP Request node pointed at the OpenAI chat completions endpoint. The key is your system prompt:\n\n```\nYou write TikTok video scripts. Each script is under 60 seconds when read aloud.\nUse short punchy sentences. One idea per script. No intros, no outros.\nOutput ONLY the script text, nothing else.\n```\n\nKeep scripts under 100 words. TikTok viewers scroll fast. Aim for 40 to 70 words per script.\n\nFFmpeg Micro has a virtual option called `@text-overlay`\n\nthat burns text directly onto a video file through a single API call:\n\n```\ncurl -X POST https://api.ffmpeg-micro.com/v1/transcodes \\\n  -H \"Authorization: Bearer YOUR_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"inputs\": [{\"url\": \"https://your-bucket.s3.amazonaws.com/background-clips/clip-01.mp4\"}],\n    \"outputFormat\": \"mp4\",\n    \"options\": [\n      {\n        \"option\": \"@text-overlay\",\n        \"argument\": {\n          \"text\": \"Your ChatGPT-generated script goes here\",\n          \"style\": {\n            \"charsPerLine\": 20,\n            \"fontSize\": 48,\n            \"lineSpacing\": 12,\n            \"x\": \"(w-text_w)/2\",\n            \"y\": \"(h-text_h)/2\",\n            \"boxBorderW\": 10\n          }\n        }\n      }\n    ]\n  }'\n```\n\nThe `@text-overlay`\n\noption handles font sizing, centering, and line wrapping for you.\n\nThe workflow is four nodes in a line:\n\nIf you prefer Make.com over n8n, the same logic applies.\n\nEach FFmpeg Micro transcode costs fractions of a cent. ChatGPT API calls for short scripts run well under a penny. You could produce 100 videos a week for less than the cost of a coffee. You set it up once and the workflow runs on a schedule.\n\nYes. Connect the ChatGPT API to FFmpeg Micro using n8n or Make.com. ChatGPT generates the script, FFmpeg Micro burns it onto a video, and the result uploads to TikTok without manual editing.\n\nEach video costs less than one cent to produce. Running 100 videos per week costs a few dollars total.\n\nNo. FFmpeg Micro's `@text-overlay`\n\noption handles text rendering through a JSON API. You don't write FFmpeg command-line filters.\n\nTikTok offers a Content Posting API for developers. You need to apply for access through their developer portal.", "url": "https://wpnews.pro/news/turn-chatgpt-outputs-into-tiktok-videos-automatically", "canonical_source": "https://dev.to/javidjamae/turn-chatgpt-outputs-into-tiktok-videos-automatically-4659", "published_at": "2026-07-07 10:20:13+00:00", "updated_at": "2026-07-07 10:28:58.826425+00:00", "lang": "en", "topics": ["developer-tools", "artificial-intelligence", "generative-ai", "large-language-models"], "entities": ["ChatGPT", "OpenAI", "FFmpeg Micro", "n8n", "Make.com", "TikTok", "CapCut", "Premiere"], "alternates": {"html": "https://wpnews.pro/news/turn-chatgpt-outputs-into-tiktok-videos-automatically", "markdown": "https://wpnews.pro/news/turn-chatgpt-outputs-into-tiktok-videos-automatically.md", "text": "https://wpnews.pro/news/turn-chatgpt-outputs-into-tiktok-videos-automatically.txt", "jsonld": "https://wpnews.pro/news/turn-chatgpt-outputs-into-tiktok-videos-automatically.jsonld"}}