360 Secure SkillHub
360 安全技能中心

Skill Runway Video Gen

核心功能:封装Runway Gen4 Turbo图生视频API,无需浏览器,将静态产品图片生成动态短视频。典型场景:适用于TikTok、Reels、YouTube Shorts等平台的UGC风格产品广告、演示内容。输入需提供产品图路径、输出MP4路径,可自定义运动描述、视频时长(5/10秒)、画幅比例;需提前配置Runway API密钥。输出为对应参数的MP4视频,支持接入TikTok视频流水线自动后期,5秒0.25美元、10秒0.5美元。

zero2ai-hub
zero2ai-hub
热度 85.48
最近更新 2026-05-11 17:27:54
分类:创作依赖:代码执行 / 第三方 API / 读写文件应用场景:视频编辑 / 社交媒体 / 品牌素材

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add skill-runway-video-gen
Metadata
name
skill-runway-video-gen
version
1.0.0
description
Generate short product videos from images using Runway Gen4 Turbo. Use for TikTok ads, UGC-style product demos, Reels, and YouTube Shorts.
metadata
{"openclaw":{"requires":{"bins":["uv"]}}}

skill-runway-video-gen

Wraps Runway Gen4 Turbo image-to-video API. Point at a product image, describe the motion, get an MP4. No browser needed.

Usage

uv run scripts/generate_video.py \
  --image product.jpg \
  --prompt "water droplets falling, soft bokeh, slow motion" \
  --output output.mp4 \
  --duration 10 \
  --ratio 720:1280

Args

Arg Default Description
--image required Path to source product image
--prompt "" Motion description (optional but recommended)
--output required Output MP4 path
--duration 10 Video length: 5 or 10 seconds
--ratio 720:1280 Aspect ratio (vertical for TikTok)

Config

API key is read from (in order):

  1. RUNWAY_API_KEY environment variable
  2. ~/tiktok-api.json → runway.apiKey

Cost

Duration Cost
5s $0.25
10s $0.50

Always use 10s — you get more content to work with.

Known quirks

Last 1–2s often freezes. Fix: stretch to 12s at 0.83x speed using MoviePy:

from moviepy import VideoFileClip
clip = VideoFileClip("output.mp4")
slow = clip.with_effects([vfx.MultiplySpeed(0.83)])
slow.write_videofile("output_12s.mp4", fps=30)

Rate limits

No per-minute quota (unlike Veo). Runway charges per second of output.

Pipeline integration

This skill feeds into skill-tiktok-video-pipeline as the video generation step. The pipeline handles slowmo stretch and caption overlay automatically.