GenAiHub

Last checked 24 November 2026 — responded normally.

Generate video ad scenes from URLs with Tavily, Google Gemini, OpenAI and JSON2Video

Quick Overview

Live
Open / InstallLast updated November 24, 2026

Description

Quick Overview This workflow accepts a website URL via webhook, crawls and structures the site content with Tavily and Google Gemini, generates three ad scenes and a voiceover with OpenAI, renders a captioned video via JSON2Video, and stores the final MP4 in Google Drive with a job-based status endpoint. How it works Receives a POST webhook request containing a website/product URL and immediately returns a processing response with a generated jobId. Crawls the provided URL with Tavily (including image links) and uses Google Gemini to extract structured brand/product text, links, and up to three image URLs. Uses Google Gemini to write three image-generation prompts (brand, product, lifestyle), fetches the referenced website images, generates three scene images with OpenAI Images, and uploads them to a Google Drive folder. Uses Google Gemini to draft a short 3-scene voiceover script and generates the narration audio with OpenAI Audio, then uploads the audio to Google Drive. Assembles a 3-scene JSON2Video movie using the three Drive-hosted images and the generated audio track, then polls JSON2Video until the render succeeds. Downloads the rendered video, sends it back to JSON2Video to burn in styled subtitles, polls again until complete, downloads the final MP4, and uploads it to Google Drive named with the jobId. Receives status-check webhook requests with a jobId, searches Google Drive for the corresponding MP4, and returns either a processing JSON response or the video file as a binary response. Setup Create and add credentials for Tavily API, Google Gemini (PaLM) API, OpenAI API, and Google Drive OAuth2. Get a JSON2Video API key and replace all four YOUR_API_KEY_HERE header values across the JSON2Video HTTP requests. Choose a Google Drive folder for output and update the folder ID used for uploading scenes and the final video (and set the missing Drive/folder values for the audio upload step). Activate the workflow and copy the two webhook URLs, then configure your client to POST {"url":"https://..."} to start a job and POST {"jobId":"..."} to the ad-status endpoint to retrieve the result. An n8n automation workflow template by Abu Bakar.

Community Metrics

Views
20
Avg Rating
N/A
Ratings
0
Likes
0
Comments
—

Author

Abu Bakar

Platform

web

Pricing model

free

Categories

  • Automation
  • AI

Tags

  • n8n
  • workflow
  • http-request
  • google-drive
  • code
  • ai-agent
  • openai-chat-model
  • structured-output-parser
  • openai
  • google-gemini-chat-model

Capabilities

  • 8 nodes
  • 20 views

Information

TypeWorkflow
Sourcen8n
AddedSeptember 20, 2026

Comments

?

Others in the same category, ranked by how often they are opened.