Generate faceless video scripts from a topic with Gemini or Claude Haiku
Ready for 3.0What this workflow does
This workflow has 7 nodes and runs when someone submits an n8n form (“Topic to faceless video script (JSON)”). It uses only n8n's built-in nodes. It also calls generativelanguage.googleapis.com and api.anthropic.com over HTTP.
How it runs
Trigger: When someone submits an n8n form (“Topic to faceless video script (JSON)”).
- Set language and word budget (Code): runs custom JavaScript code
- Route to the chosen model (Switch): routes items into 2 branches
- Generate script (Gemini, free tier) (HTTP Request): calls generativelanguage.googleapis.com (POST)
- Generate script (Claude Haiku) (HTTP Request): calls api.anthropic.com (POST)
- Parse the script JSON (Code): runs custom JavaScript code
- Split into individual scenes (Split Out): splits a list into separate items
HTTP calls to: generativelanguage.googleapis.com, api.anthropic.com
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (5)
- n8n Form Trigger
n8n-nodes-base.formTrigger - Code
n8n-nodes-base.code - Switch
n8n-nodes-base.switch - HTTP Request
n8n-nodes-base.httpRequest - Split Out
n8n-nodes-base.splitOut
From the author
Quick overview This workflow collects a topic and settings via an n8n form, generates a short scene-by-scene faceless video script using either Google Gemini or Anthropic Claude Haiku, then normalizes the model output into a consistent JSON structure and…