搜索

PythonReactSEOPDF
OpenClaw

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.

26medias0 来源安装数☆ 0 仓库 Stars

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install 26medias/runware

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

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: Model ID (default: runware:101@1 / FLUX.1 Dev)
  • --width/--height: Dimensions (default: 1024x1024)
  • --steps: Inference steps (default: 25)
  • --cfg: CFG scale (default: 7.5)
  • --count/-n: Number of images
  • --negative: Negative prompt
  • --seed: Reproducible seed
  • --lora: LoRA model ID
  • --format: png/jpg/webp
Image-to-Image

Transform an existing image:

python3 scripts/image.py img2img ./photo.jpg "watercolor painting style" --strength 0.7
  • --strength: How much to transform (0=keep original, 1=ignore original)
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: Model ID (default: klingai:5@3 / Kling AI 1.6 Pro)
  • --duration: Length in seconds
  • --width/--height: Resolution (default: 1920x1080)
  • --negative: Negative prompt
  • --format: mp4/webm/mov
  • --max-wait: Polling timeout (default: 600s)
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
...

来源信息

Source
github
Repository
openclaw/skills
Path
skills/26medias/runware
Version
—
Commit
05c20983d8e85f96764b2c5bab4b0ba77afd1097
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

来源内容

SKILL.md
# 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

```bash
python3 scripts/image.py gen "a cyberpunk city at sunset, neon lights, rain" --count 2 -o ./images
```

Options:
- `--model`: Model ID (default: `runware:101@1` / FLUX.1 Dev)
- `--width/--height`: Dimensions (default: 1024x1024)
- `--steps`: Inference steps (default: 25)
- `--cfg`: CFG scale (default: 7.5)
- `--count/-n`: Number of images
- `--negative`: Negative prompt
- `--seed`: Reproducible seed
- `--lora`: LoRA model ID
- `--format`: png/jpg/webp

### Image-to-Image

Transform an existing image:

```bash
python3 scripts/image.py img2img ./photo.jpg "watercolor painting style" --strength 0.7
```

- `--strength`: How much to transform (0=keep original, 1=ignore original)

### Upscale

```bash
python3 scripts/image.py upscale ./small.png --factor 4 -o ./large.png
```

### List Models

```bash
python3 scripts/image.py models
```

## Video Generation

### Text-to-Video

```bash
python3 scripts/video.py gen "a cat playing with yarn, cute, high quality" --duration 5 -o ./cat.mp4
```

Options:
- `--model`: Model ID (default: `klingai:5@3` / Kling AI 1.6 Pro)
- `--duration`: Length in seconds
- `--width/--height`: Resolution (default: 1920x1080)
- `--negative`: Negative prompt
- `--format`: mp4/webm/mov
- `--max-wait`: Polling timeout (default: 600s)

### Image-to-Video

Animate an image or interpolate between frames:

```bash
# 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

```bash
python3 scripts/video.py models
```

## Popular Models

### Image
| Model | ID |
|-------|-----|
|...

相关技能

OpenClaw

1password

daggerkun007

Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.