Skills runware
Generate images and videos via Runware API. Access to FLUX, Stable Diffusion, Kling AI, and other top models. Supports text-to-image, image-to-image, upscaling, text-to-video, and image-to-video. Use when generating images, creating videos from prompts or images, upscaling images, or doing AI image transformation.
install
source · Clone the upstream repo
git clone https://github.com/openclaw/skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/26medias/runware" ~/.claude/skills/openclaw-skills-runware && rm -rf "$T"
OpenClaw · Install into ~/.openclaw/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.openclaw/skills && cp -r "$T/skills/26medias/runware" ~/.openclaw/skills/openclaw-skills-runware && rm -rf "$T"
manifest:
skills/26medias/runware/SKILL.mdsource content
Runware
Image and video generation via Runware's unified API. Access FLUX, Stable Diffusion XL, Kling AI, and more.
Setup
Set
RUNWARE_API_KEY environment variable, or pass --api-key to scripts.
Get API key: https://runware.ai
Image Generation
Text-to-Image
python3 scripts/image.py gen "a cyberpunk city at sunset, neon lights, rain" --count 2 -o ./images
Options:
: Model ID (default:--model
/ FLUX.1 Dev)runware:101@1
: Dimensions (default: 1024x1024)--width/--height
: Inference steps (default: 25)--steps
: CFG scale (default: 7.5)--cfg
: Number of images--count/-n
: Negative prompt--negative
: Reproducible seed--seed
: LoRA model ID--lora
: png/jpg/webp--format
Image-to-Image
Transform an existing image:
python3 scripts/image.py img2img ./photo.jpg "watercolor painting style" --strength 0.7
: How much to transform (0=keep original, 1=ignore original)--strength
Upscale
python3 scripts/image.py upscale ./small.png --factor 4 -o ./large.png
List Models
python3 scripts/image.py models
Video Generation
Text-to-Video
python3 scripts/video.py gen "a cat playing with yarn, cute, high quality" --duration 5 -o ./cat.mp4
Options:
: Model ID (default:--model
/ Kling AI 1.6 Pro)klingai:5@3
: Length in seconds--duration
: Resolution (default: 1920x1080)--width/--height
: Negative prompt--negative
: mp4/webm/mov--format
: Polling timeout (default: 600s)--max-wait
Image-to-Video
Animate an image or interpolate between frames:
# Single image (becomes first frame) python3 scripts/video.py img2vid ./start.png --prompt "zoom out slowly" -o ./animated.mp4 # Two images (first and last frame) python3 scripts/video.py img2vid ./start.png ./end.png --duration 5
List Video Models
python3 scripts/video.py models
Popular Models
Image
| Model | ID |
|---|---|
| FLUX.1 Dev | |
| FLUX.1 Schnell (fast) | |
| FLUX.1 Kontext | |
| Stable Diffusion XL | |
| RealVisXL | |
Video
| Model | ID |
|---|---|
| Kling AI 1.6 Pro | |
| Kling AI 1.5 Pro | |
| Runway Gen-3 | |
Browse all: https://runware.ai/models
Notes
- Video generation is async; scripts poll until complete
- Costs vary by model — check https://runware.ai/pricing
- FLUX models are excellent for quality; Schnell is faster
- For best video results, use descriptive prompts with motion words