video-outpainting

Extend video canvas and change aspect ratio using RunComfy CLI and Wan 2-7 edit-video.

12|2|Updated Aug 12, 2026
One-click install
npx skills add https://github.com/genmedia-labs/skills --skill video-outpainting-genmedia-labs
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: video-outpainting
Source: https://github.com/genmedia-labs/skills/tree/main/video-outpainting
Command: npx skills add https://github.com/genmedia-labs/skills --skill video-outpainting-genmedia-labs

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @runcomfy/cli.

What problem does it solve? Repurposing video across platforms often requires changing aspect ratio or uncropping footage, and this Skill extends a video's spatial canvas beyond its original frame while preserving the central action. ## Core Features & Use Cases - Aspect-ratio conversion: Convert 9:16 vertical clips to 16:9 horizontal (or vice versa) via the Wan 2-7 edit-video endpoint with prompt-shaped canvas extension. - Prompting guidance: Provides prompt patterns that lead with the canvas change, describe what extends, and end with preservation instructions to protect the original subject framing. - Hero-grade routing: Points to dedicated ComfyUI outpainting workflows (e.g., LTX 2-3) when strict seam quality and temporal consistency are required. - Use Case: Turn a TikTok vertical clip into a YouTube-ready 16:9 video by running runcomfy run wan-ai/wan-2-7/edit-video with a prompt that extends matching environment on both sides. ## Quick Start Ask the agent to extend your vertical video to 16:9 horizontal by adding matching environment on the left and right while preserving the central action.

Frequently Asked Questions about video-outpainting

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert a vertical video to horizontal with AI?▼

Run the Wan 2-7 edit-video endpoint via the RunComfy CLI with a prompt like "Extend the canvas to 16:9 horizontal by adding matching environment on the left and right." End the prompt with a preservation instruction so the central action stays intact.

What is the difference between video outpainting and video extend?▼

Video outpainting expands the frame spatially, adding environment beyond the original borders or changing aspect ratio. Video extend adds more frames in time, lengthening the clip temporally rather than widening it.

When should I use a ComfyUI workflow instead of Wan 2-7 for outpainting?▼

Use a dedicated ComfyUI outpainting workflow such as LTX 2-3 when hero-grade seam quality, strict temporal consistency, or motion-aware fill is required. Wan 2-7 handles most social and internal uses but was not trained specifically for outpainting.

Does the RunComfy CLI support video outpainting directly?▼

The CLI reaches outpainting through the wan-ai/wan-2-7/edit-video endpoint with a spatial-extension prompt. Dedicated ComfyUI outpainting workflows are GUI-based and must be opened in the RunComfy ComfyUI cloud, not invoked via CLI.

Why does my outpainted video have visible seams?▼

Seam artifacts occur because Wan 2-7 is a general edit model, not a dedicated outpaint model. Improve prompts by describing matching background style, lighting, and camera distance, or switch to a ComfyUI outpainting workflow for strict seam quality.