Templates / Create AI videos from prompts with OpenAI script, TTS & Pexels B-roll assembly

Create AI videos from prompts with OpenAI script, TTS & Pexels B-roll assembly

Needs changes

by Oneclick AI Squad ✓ · 2,262 views · created 2025-11-04 · Content Creation, Multimodal AI

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: OpenAI (legacy). 1 breaking item(s) found. Static check, last run 2026-10-19.

What this workflow does

This workflow has 13 nodes and runs when an HTTP GET request hits its webhook URL. Along the way it connects Google Drive. It also calls api.pexels.com over HTTP.

How it runs

Trigger: When an HTTP GET request hits its webhook URL.

  1. Set Video Parameters (Edit Fields (Set)): sets 3 fields: prompt, videoStyle, targetDuration
  2. Prepare Script Prompt (Edit Fields (Set)): sets 1 field: systemPrompt
  3. Generate Video Script (OpenAI): uses OpenAI
  4. Parse Script into Scenes (Code): runs custom JavaScript code
  5. Generate Voiceover (TTS) (OpenAI): uses OpenAI
  6. Search Stock Footage (Pexels) (HTTP Request): calls api.pexels.com
  7. Merge: merges the data from its input branches
  8. Extract Video URLs (Code): runs custom JavaScript code
  9. Generate Subtitles (SRT) (Code): runs custom JavaScript code
  10. Download B-Roll Footage (HTTP Request): calls an HTTP API

…plus 2 more steps. See the full node list below.

Services it uses

Google Drive

HTTP calls to: api.pexels.com

Before you upgrade to n8n 3.0

1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:

  • OpenAI (legacy) in Generate Video Script, Generate Voiceover (TTS): replace with OpenAI node (AI section).

Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).

Removed in 3.0Replace with
OpenAI (legacy)
Generate Video Script, Generate Voiceover (TTS)
OpenAI node (AI section)

Nodes used (8)

From the author

Automatically creates complete videos from a text prompt—script, voiceover, stock footage, and subtitles all assembled and ready. How it works Send a video topic via webhook (e.g., "Create a 60-second video about morning exercise"). The workflow uses OpenAI…

Excerpt from Oneclick AI Squad's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.