Video Generator Pack
★Trustedv1.0.0MIT✔Verified88by 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.
Quick Start
agentnode install video-generator-packUsage
From packagefrom 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_TOKENReplicate API token for AI video model generation (optional — template-based generation works without it)
Verification
Package installs and imports correctly. runtime checks passed.
This package was executed and validated by AgentNode before listing. Install, import, and runtime checks passed.
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
| Parameter | Type | Description |
|---|---|---|
prompt | str | Text description for AI video generation |
template | str | "text_overlay", "slideshow", "split_screen" |
scenes | list | Scene definitions for template-based videos |
duration | int | Video duration in seconds |
resolution | str | "720p", "1080p", or "4k" |
fps | int | Frames per second (default: 24) |
output_format | str | "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
Permissions
This package declares the following access levels. Review before installing.
agentnode install video-generator-packEnvironment Variables
REPLICATE_API_TOKENFiles (3)
License
MITStats
Compatibility
Frameworks
Runtime
pythonPython Version
>=3.10Trust & Security
Publisher
AgentNode
@agentnode