If you’ve ever wished you could brief an AI once and have a polished, long-form video arrive in your storage or social channels automatically, this tutorial is for you. In this guide, you’ll learn how to generate long-form AI videos with Scrptly’s N8N integration—so your ecommerce ads, explainers, faceless YouTube episodes, and mini-docs flow through a reliable automation pipeline.
Scrptly is an AI Video Agent that turns a single prompt (plus optional context images) into consistent multi-scene videos—with research, screenplay, narration, character design, editing, and final assembly handled end to end. Its N8N node lets you add that power to any workflow, on a schedule or on demand.
Why choose Scrptly for long-form video automation
- Character and environment consistency: Long-form projects need continuity. Scrptly keeps visuals, characters, and objects consistent across scenes.
- End-to-end generation: From script and shot design to narration and final edit, Scrptly handles it all.
- Developer-friendly: Use the N8N node, the API, or an MCP server—plus an n8n community node for low-code builds.
- Built to scale: Great for agencies, ecommerce catalogs, UGC batches, education libraries, and faceless channels.
Learn more or sign up: https://scrptly.com/

What you’ll build A reusable N8N workflow that: 1) receives a brief (prompt + optional context images), 2) generates a long-form AI video in Scrptly, 3) saves it to cloud storage and optionally posts or emails it.
Perfect for:
- Ecommerce merchants/marketers: Batch product explainers, UGC-style ads, long demos.
- Entertainment creators: Faceless YouTube videos, anime shorts, narrative series.
- Educators and researchers: Mini-documentaries, explainers, lecture content.
Prerequisites
- An N8N instance (self-hosted or cloud).
- A Scrptly account and API key: https://scrptly.com/
- Optional: A storage destination (S3, Google Drive, Dropbox), a social scheduler, or email service to distribute your outputs.
Step 1 — Install the Scrptly node in N8N 1) Open N8N and go to Settings > Community Nodes > Install New. 2) Search for: n8n-nodes-scrptly 3) Click Install. You’ll now see Scrptly in your node list. 4) Source & docs: https://github.com/ybouane/n8n-nodes-scrptly
Step 2 — Add credentials
- In N8N, open Credentials > New > Scrptly API.
- Paste your API key from your Scrptly account.
- Save and select it in your Scrptly node.
Step 3 — Build your first long-form workflow Recommended node layout:
- Trigger: Schedule (e.g., daily) or Webhook (for on-demand jobs).
- Scrptly: The AI Video-Agent node.
- Post-processing: Upload to storage, notify via Slack/Email, or publish via social integrations.
Scrptly node fields to configure:
- Prompt (required): The entire creative brief.
- Context Images (optional): URLs or binaries (e.g., product packshots) for consistent objects/characters.
- Approve Up To: The maximum budget (tokens) for generation. Default: 10,000.
- Wait For Completion: On to block until rendering completes; Off to return a task ID and poll later.
A sample long-form prompt you can paste
Title: The Story Behind Our Eco Messenger Bag
Length: 8–10 minutes
Aspect: 16:9, cinematic, soft natural light, subtle handheld feel
Tone: Warm, informative, authentic; light ambient soundtrack
Narration: Clear voiceover with pauses for b-roll
Story beats:
1) Cold open: Close-up textures of recycled leather; soft light, macro detail.
2) Workshop: Artisans cutting and stitching; character “Maya” introduces the mission.
3) Materials: Side-by-side comparison of old vs. new processes; include charts and overlay text.
4) Field test: Commuter montage—biking, subway, campus scenes; show bag capacity.
5) Customer voices: Short quotes (generated from the brief), friendly and concise.
6) Sustainability impact: Visualize data with tasteful infographics.
7) Closing: Clean table shot with the bag; CTA to learn more.
Must-haves:
- Consistent look for “Maya” across scenes
- Keep the eco bag design consistent across shots
- Include tasteful lower-thirds; no visible logos
- Smooth transitions, light whoosh SFX
Pro tip: Provide context images of your real product so Scrptly locks continuity across the entire film. You can pass image URLs or map binary data in N8N to the Scrptly node’s Context Images field.
Optional non-blocking mode
- If you disable Wait For Completion, Scrptly returns a task ID immediately.
- Use a Wait/Delay node and a follow-up Scrptly status check (or HTTP node) to poll until the video is ready, then continue the flow.
Step 4 — Save and distribute your video After the Scrptly node returns the final video:
- Use a Storage node (S3, GDrive, Dropbox) to archive the file.
- Add a Notifier node (Email, Slack) to share links with your team.
- Push to social with the relevant connectors (YouTube, Instagram, X) or hand off to a scheduler.
Advanced workflow recipes 1) Batch product launches
- Trigger: Google Sheets or Airtable list of SKUs.
- Loop with Split In Batches to generate one long-form video per product.
- Merge results and post a summary email with links.
2) A/B test scripts for conversions
- Duplicate the Scrptly node with slight prompt variations (hook lines, CTAs, tone).
- Branch the flow with IF nodes; route variants to specific channels.
- Track results with UTM parameters and a data store.
3) Dynamic context images
- Pull the latest packshots from your DAM/CDN per SKU.
- Pass those URLs into Context Images for scene consistency in long-form pieces.
4) Non-blocking rendering with a queue
- Disable Wait For Completion for spikes in demand.
- Store the returned task IDs and poll in a timed sub-workflow.
5) Faceless YouTube channel automation
- Trigger on a content calendar.
- Generate 8–12 minute episodes on a recurring theme (e.g., productivity, design, travel lore).
- Post-process: auto-thumbnail, description template, upload, and notify.
Comparing to other tools Unlike template-first editors, Scrptly is an AI Video Agent designed for continuity and narrative structure over longer durations. It orchestrates research, screenplay, character design, narration, and editing with consistency—making it a strong choice for serious long-form content automation.

Developer corner: use the API when you need to Prefer code or want to combine N8N with custom apps? The SDK makes it simple.
import Scrptly from 'scrptly';
Scrptly.setApiSettings({
apiKey: process.env.SCRPTLY_API_KEY,
});
async function createVideo() {
const task = await Scrptly.videoAgent.create({
prompt: `8–10 minute mini-doc about urban gardening; narrator-led, consistent guide named "Rin", 16:9 cinematic, macro plant shots, chapter breaks, tasteful lower-thirds, no logos.`,
contextImages: [
'https://example.com/images/planter.jpg',
'https://example.com/images/balcony.jpg'
],
approveUpTo: 12000,
waitForCompletion: true,
});
console.log('Video URL:', task?.result?.videoUrl);
}
createVideo();
Tips for better outputs
- Be explicit about length, aspect ratio, tone, and pacing.
- Name recurring characters and objects for consistent continuity.
- Provide crisp context images for products, props, or locations.
- Outline scene beats; Scrptly will fill gaps but respects structure.
- Start with a generous Approve Up To value for complex, long-form pieces.
Troubleshooting
- Inconsistent objects? Supply more context images and reference them in the prompt.
- Too short/too long? Tighten the length requirement and pacing notes.
- Render queues? Use non-blocking mode and poll with a queue.
Get started
- Try Scrptly: https://scrptly.com/
- Install the N8N node: https://github.com/ybouane/n8n-nodes-scrptly
With Scrptly inside N8N, long-form AI video goes from “hours of hands-on edits” to “one prompt, fully automated.” Build once, then scale your storytelling across products, channels, and formats—on schedule, on brand, and at any volume.
Comments
Post a Comment