Agent skill · genmedia-labs
video-outpainting
Video outpainting on RunComfy via the `runcomfy` CLI — extend the spatial canvas of a video, change aspect ratio (9:16 vertical to 16:9 horizontal or vice versa), add environment beyond the original frame while preserving the central action. Routes prompt-shaped spatial extension through Wan 2-7 edit-video and points the agent at dedicated ComfyUI outpaint workflows when seam quality matters for hero delivery. Triggers on "video outpaint", "video outpainting", "extend video canvas", "expand video frame", "uncrop video", "aspect ratio change", "vertical to horizontal video", "16:9 from 9:16", "TikTok to YouTube", or any explicit ask to extend a video spatially beyond its original frame.
What it needs
About 4k tokens when loaded.
What this skill does
Video Outpainting Extend a video's spatial canvas — uncrop vertically or horizontally, change aspect ratio while preserving the central action. This skill routes spatial extension through Wan 2-7 edit-video for prompt-shaped canvas changes, and points the agent at dedicated ComfyUI outpaint workflows when hero-grade seam quality matters. runcomfy.com · Wan 2-7 edit-video · CLI docs Powered by the RunComfy CLI CLI deep dive: runcomfy-cli skill. --- Pick the right model Wan 2-7 Edit-Video — wan-ai/wan-2-7/edit-video (default) Prompt-driven video edit; accepts spatial extension language ("extend the canvas to 16:9 by adding matching environment on the left and right"). Wide enough quality for social and most internal uses. Pick for: aspect-ratio swap (vertical ↔ horizontal), social-cuts, uncrop where seam quality is acceptable. Avoid for: hero ad delivery with strict seam-quality requirements — use a ComfyUI outpainting workflow. For broader video edit see video-edit. --- Route 1: Wan 2-7 Edit-Video — closest CLI path Model: wan-ai/wan-2-7/edit-video Catalog: Wan 2-7 edit-video Invoke Aspect-ratio swap (9:16 vertical → 16:9 horizontal): Prompting tips Lead with the canvas change: "Extend the canvas to 16:9", "Extend downward to show more ground", "Add environment on the left and right by ~30% each". Describe what extends: same background style, same lighting, same depth of field, same camera distance. End with preservation: "Preserve the original action and subject framing in the center" — without this Wan may restyle the central content. Expect quality variance at the seam. Wan 2-7 wasn't trained specifically for outpaint; for hero delivery use a ComfyUI workflow. --- When you need hero-grade seam quality The endpoint above handles aspect-ratio swap well for most uses. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills genmedia-labs/video-outpainting