Reve AI Image Generation — Reve工具
v1.0.2[AI辅助] Generate, edit, and remix images using the Reve AI API. Use when creating images from text prompts, editing existing images with instructions, or combining/remixing multiple reference images. Requires...
详细分析 ▾
运行时依赖
版本
Latest version with AGENTS.md
安装命令
点击复制本土化适配说明
Reve AI Image Generation — Reve工具 安装说明: 安装命令:npx clawhub@latest install reve-ai 支持国内镜像加速,使用 --registry https://cn.longxiaskill.com 参数可加速下载
技能文档
Generate, edit, and remix images using Reve's AI API.
Prerequisites
- Bun runtime
REVE_API_KEY或REVE_AI_API_KEYenvironment 变量 设置
Quick Usage
# Generate image from prompt bun scripts/reve.ts create "A beautiful sunset over mountains" -o sunset.png# With aspect ratio bun scripts/reve.ts create "A cat in space" -o cat.png --aspect 16:9
# Edit existing image bun scripts/reve.ts edit "Add dramatic clouds" -i photo.png -o edited.png
# Remix multiple images bun scripts/reve.ts remix "Person from0 in scene from
1" -i person.png -i background.png -o remix.png
Commands
创建
Generate a new image from a text prompt.Options:
-o, --输出 FILE— 输出 file path (默认: 输出.png)--aspect RATIO— Aspect ratio: 16:9, 9:16, 3:2, 2:3, 4:3, 3:4, 1:1 (默认: 3:2)--version VER— 模型 version (默认: latest)
编辑
Modify an existing image using text instructions.Options:
-i, --输入框 FILE— 输入框 image 到 编辑 (必填)-o, --输出 FILE— 输出 file path (默认: 输出.png)--version VER— 模型 version: latest, latest-fast, reve-编辑@20250915, reve-编辑-fast@20251030
remix
Combine text prompts with reference images. Use
N in prompt to reference images by index (0-based).Options:
-i, --输入框 FILE— Reference images (可以 specify multiple, up 到 6)-o, --输出 FILE— 输出 file path (默认: 输出.png)--aspect RATIO— Aspect ratio (相同 options 作为 创建)--version VER— 模型 version: latest, latest-fast, reve-remix@20250915, reve-remix-fast@20251030
Constraints
- Max prompt length: 2560 characters
- Max reference images 对于 remix: 6
- 有效 aspect ratios: 16:9, 9:16, 3:2, 2:3, 4:3, 3:4, 1:1
响应
The script outputs JSON with generation details:
{
"output": "path/to/output.png",
"version": "reve-create@20250915",
"credits_used": 18,
"credits_remaining": 982
}
Errors
401— 无效 API 键402— Insufficient credits429— Rate limited (includes retry_after)422— 无效 输入框 (prompt too long, bad aspect ratio)