← 返回
数据分析 Key

Reve AI Image Generation

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 REVE_API_KEY or REVE_AI_API_KEY environment variable.
使用 Reve AI API 生成、编辑、混合图像。适用于文本提示生成图像、按指令编辑图像或合并多个参考图像。需要 REVE_API_KEY 或 REVE_AI_API_KEY 环境变量。
dpaluy
数据分析 clawhub v1.0.2 1 版本 99458.1 Key: 需要
★ 1
Stars
📥 2,733
下载
💾 161
安装
1
版本
#latest

概述

Reve AI Image Generation

Generate, edit, and remix images using Reve's AI API.

Prerequisites

  • Bun runtime
  • REVE_API_KEY or REVE_AI_API_KEY environment variable set

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 from <img>0</img> in scene from <img>1</img>" -i person.png -i background.png -o remix.png

Commands

create

Generate a new image from a text prompt.

Options:

  • -o, --output FILE — Output file path (default: output.png)
  • --aspect RATIO — Aspect ratio: 16:9, 9:16, 3:2, 2:3, 4:3, 3:4, 1:1 (default: 3:2)
  • --version VER — Model version (default: latest)

edit

Modify an existing image using text instructions.

Options:

  • -i, --input FILE — Input image to edit (required)
  • -o, --output FILE — Output file path (default: output.png)
  • --version VER — Model version: latest, latest-fast, reve-edit@20250915, reve-edit-fast@20251030

remix

Combine text prompts with reference images. Use N in prompt to reference images by index (0-based).

Options:

  • -i, --input FILE — Reference images (can specify multiple, up to 6)
  • -o, --output FILE — Output file path (default: output.png)
  • --aspect RATIO — Aspect ratio (same options as create)
  • --version VER — Model version: latest, latest-fast, reve-remix@20250915, reve-remix-fast@20251030

Constraints

  • Max prompt length: 2560 characters
  • Max reference images for remix: 6
  • Valid aspect ratios: 16:9, 9:16, 3:2, 2:3, 4:3, 3:4, 1:1

Response

The script outputs JSON with generation details:

{
  "output": "path/to/output.png",
  "version": "reve-create@20250915",
  "credits_used": 18,
  "credits_remaining": 982
}

Errors

  • 401 — Invalid API key
  • 402 — Insufficient credits
  • 429 — Rate limited (includes retry_after)
  • 422 — Invalid input (prompt too long, bad aspect ratio)

版本历史

共 1 个版本

  • v1.0.2 当前
    2026-03-28 12:57 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

data-analysis

Data Analysis

ivangdavila
{"answer":"数据分析与可视化。查询数据库、生成报告、自动化电子表格,将原始数据转化为清晰可行的见解。适用于:(1) 您……"}
★ 198 📥 64,859
data-analysis

A股量化 AkShare

mbpz
A股量化数据分析工具,基于AkShare库获取A股行情、财务数据、板块信息等。用于回答关于A股股票查询、行情数据、财务分析、选股等问题。
★ 162 📥 59,674
data-analysis

Excel / XLSX

ivangdavila
创建、检查和编辑 Microsoft Excel 工作簿及 XLSX 文件,支持可靠的公式、日期、类型、格式、重算及模板保留功能。
★ 366 📥 139,963