界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
效率与协作 · SKILL.md

reve-fast-edit

reve-fast-edit

【效率与协作】Reve | Fast | Edit. Fast image editing with text prompts. Triggers: image editing, reve, fast, photo edit

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: reve-fast-edit description: "Reve | Fast | Edit. Fast image editing with text prompts. Triggers: image editing, reve, fast, photo edit" allowed-tools: Bash(curl *), WebFetch

Reve | Fast | Edit

Quickly edit images using text descriptions with Reve's fast editing model. Streamlined parameters for rapid iterations.

Quick Start

Requires an each::labs API key. Get one at eachlabs.ai.

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "reve-fast-edit",
    "version": "0.0.1",
    "input": {
      "prompt": "change the hair color to blonde",
      "image_url": "https://example.com/portrait.jpg"
    }
  }'

Parameters

ParameterTypeDefaultDescription
image_urlstringURL of the reference image to edit. Must be publicly accessible or base64 data URL.
num_imagesinteger1Number of images to generate.
output_formatstringpngOutput format. enum: png, jpeg, webp
promptstringThe text description of how to edit the provided image.

Examples

Background change:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "reve-fast-edit",
    "version": "0.0.1",
    "input": {
      "prompt": "replace the background with a sunny beach, keep the subject unchanged",
      "image_url": "https://example.com/person.jpg",
      "output_format": "jpeg",
      "num_images": 2
    }
  }'

Object modification:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "reve-fast-edit",
    "version": "0.0.1",
    "input": {
      "prompt": "change the car color from red to blue, keep everything else the same",
      "image_url": "https://example.com/car.jpg",
      "output_format": "png"
    }
  }'

Related Models

Documentation

我的收藏