Video Generator Pack

Trustedv1.0.0MITVerified88

by AgentNode · published 22 days ago · toolpack

Generate videos from text descriptions, scripts, or templates.

Create videos using AI models and ffmpeg. Support for text-to-video, slideshow creation, subtitle overlay, and basic video editing.

langchaincrewaigeneric

Quick Start

bash
agentnode install video-generator-pack

Usage

From package
python
from video_generator_pack.tool import run

result = run(
    prompt="A sleek laptop on a minimalist desk, soft morning light streaming "
           "through a window, camera slowly zooms in on the screen showing "
           "lines of code. Cinematic, shallow depth of field.",
    duration=4,
    resolution="1080p",
    fps=24,
    output_format="mp4"
)

with open("promo_clip.mp4", "wb") as f:
    f.write(result["video_bytes"])

print(f"Video generated: {result['duration']}s at {result['resolution']}")
print(f"File size: {result['size_bytes'] / (1024*1024):.1f} MB")
print(f"Generation time: {result['generation_time_seconds']:.1f}s")

Environment Variables

REPLICATE_API_TOKEN

Replicate API token for AI video model generation (optional — template-based generation works without it)

Verification

high confidence88/100✔ Verified
smokeReturned valid result
+25/25
testsAuto-generated tests only
+8/15
importAll tools imported successfully
+15/15
installInstalled in 2.0s
+15/15
contractAll contract checks passed
+10/10
warningsNo warnings
0/0
determinismOutput consistency check
+5/5
reliability3/3 runs passed
+10/10

Package installs and imports correctly. runtime checks passed.

install2.0s
import186ms
smoke821ms
tests1.0s

This package was executed and validated by AgentNode before listing. Install, import, and runtime checks passed.

Python 3.12.3ffmpegpopplertesseractuv

Last verified 18d ago· Runner v2.0.0

Use this when you need to...

  • Generate short promotional clips from product descriptions
  • Create text-overlay explainer videos from script outlines
  • Produce social media video ads from marketing copy and brand assets
  • Generate animated data visualization videos from chart data
  • Build timelapse-style compilation videos from image sequences

README

Video Generator Pack

Generate videos from text descriptions, scripts, or templates. Uses AI video models for prompt-based generation and ffmpeg for template-based composition — create professional video content programmatically.

Quick Start

agentnode install video-generator-pack
from video_generator_pack.tool import run

result = run(
    prompt="Ocean waves crashing on a rocky shore at sunset, cinematic 4K",
    duration=4
)
with open("ocean.mp4", "wb") as f:
    f.write(result["video_bytes"])

Usage

AI-Generated Video from Prompt

result = run(
    prompt="A drone shot flying over a futuristic city at night, neon lights",
    duration=4,
    resolution="1080p"
)

Template-Based Composition

result = run(
    template="text_overlay",
    scenes=[
        {"text": "Introducing v2.0", "duration": 3, "animation": "fade_in"},
        {"text": "Now 10x faster", "duration": 2, "animation": "slide_up"}
    ]
)

Image Sequence to Video

result = run(
    template="slideshow",
    images=["slide1.png", "slide2.png", "slide3.png"],
    transition="crossfade",
    duration_per_image=3
)

API Reference

ParameterTypeDescription
promptstrText description for AI video generation
templatestr"text_overlay", "slideshow", "split_screen"
sceneslistScene definitions for template-based videos
durationintVideo duration in seconds
resolutionstr"720p", "1080p", or "4k"
fpsintFrames per second (default: 24)
output_formatstr"mp4", "webm", or "gif"

Returns: video_bytes, duration, resolution, size_bytes, generation_time_seconds

Requirements

Template-based generation works locally with ffmpeg. For AI-generated video:

export REPLICATE_API_TOKEN=r8_...

License

MIT

Version History

Capabilities

video_generationgenerate_videotool

Permissions

This package declares the following access levels. Review before installing.

Networkunrestricted
Filesystemtemp
Code Executionlimited_subprocess
Data Accessinput_only
User Approvalonce
bash
agentnode install video-generator-pack

Environment Variables

REPLICATE_API_TOKEN

Files (3)

License

MIT

Stats

Downloads0
Installs0
Versionv1.0.0
Published3/16/2026
Channelstable
Typetoolpack
Entrypointvideo_generator_pack.tool

Compatibility

Frameworks

langchaincrewaigeneric

Runtime

python

Python Version

>=3.10

Trust & Security

PublisherTrusted
SignatureNone
ProvenanceNone
Security Issues0

Publisher

A

AgentNode

@agentnode