计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
reve-edit【效率与协作】Reve | Edit. Edit images with text-based instructions using the Reve model. Triggers: reve, edit image, image edit, reve edit, photo editing
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Edit images with text-based instructions using the Reve model. Provide a reference image and describe the desired changes to produce high-quality edited results.
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-edit",
"version": "0.0.1",
"input": {
"image_url": "https://example.com/room-photo.jpg",
"prompt": "Change the wall color to a warm terracotta and add potted plants on the windowsill",
"num_images": 1,
"output_format": "png"
}
}'
| Parameter | Type | Default | Description |
|---|---|---|---|
| image_url | string | URL of the reference image to edit | |
| num_images | integer | 1 | Number of images to generate |
| output_format | string | png | Output format. enum: png, jpeg, webp |
| prompt | string | Text description of how to edit the provided image |
Object removal:
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "reve-edit",
"version": "0.0.1",
"input": {
"image_url": "https://example.com/street-photo.jpg",
"prompt": "Remove the parked cars from the street and replace with a clean sidewalk",
"output_format": "jpeg"
}
}'
Style transformation:
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "reve-edit",
"version": "0.0.1",
"input": {
"image_url": "https://example.com/daytime-city.jpg",
"prompt": "Transform this daytime scene into a dramatic nighttime scene with city lights glowing",
"num_images": 2,
"output_format": "png"
}
}'