计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
reve-fast-edit【效率与协作】Reve | Fast | Edit. Fast image editing with text prompts. Triggers: image editing, reve, fast, photo edit
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Quickly edit images using text descriptions with Reve's fast editing model. Streamlined parameters for rapid iterations.
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"
}
}'
| Parameter | Type | Default | Description |
|---|---|---|---|
| image_url | string | URL of the reference image to edit. Must be publicly accessible or base64 data URL. | |
| num_images | integer | 1 | Number of images to generate. |
| output_format | string | png | Output format. enum: png, jpeg, webp |
| prompt | string | The text description of how to edit the provided image. |
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"
}
}'