Title: Need advice connecting n8n Cloud + Leonardo API + Windows FFmpeg for unattended video production
Hello n8n Community,
I’m building an automated YouTube video production workflow using n8n Cloud, Google Drive, Leonardo AI, Python, and FFmpeg on Windows.
What is already working:
-
Google Drive job JSON generation and readback
-
Windows Python + FFmpeg rendering a real 1920×1080, 30fps MP4
-
A
render_doneJSON receipt containing job ID, SHA256, and technical QA results -
n8n detecting a real rendering receipt and automatically creating an ACK
-
No paid API calls during the verification
What is not yet fully verified:
-
The latest ACK test used an existing real rendering receipt, replayed as a new event. It did not trigger a fresh render.
-
We still need to verify the entire unattended chain for a brand-new job.
-
Leonardo character-reference image generation needs a controlled one-image test before batch production.
Our questions:
-
What is the most reliable n8n Cloud pattern to handle Google Drive job and receipt files without frequent polling?
-
How should we implement idempotency so replayed receipts never create duplicate jobs, ACKs, or paid API calls?
-
How should n8n verify a real renderer output rather than trusting only JSON metadata such as
VERIFIED_CANDIDATE? -
How should we safely connect Leonardo’s image generation API with character references, asynchronous job completion, and an approval gate?
-
Can we preserve our existing Windows FFmpeg runner while preparing to migrate rendering to a cloud service later?
Constraints:
-
Reuse existing workflows and working components
-
No unnecessary new workflows
-
No repeated paid image generation
-
No automatic YouTube publishing
-
Keep n8n Cloud executions and API costs low
-
Preserve all previously approved assets
We would appreciate practical recommendations or examples that fit this existing architecture.
Thank you very much for your help!
