Edit a project image (Gemini)
edit_imageApply virtual staging, seasonal changes, or custom edits to property images. Produces a non-destructive versioned copy using AI.
Instructions
Create a non-destructive, versioned edit of a project image. editType: staging/destaging, twilight(+_interior), upscale, green_grass, bright_day, seasonal (winter/halloween/christmas +_interior), advanced replace/remove/add (need advancedParams), or manual (customPrompt). staging needs roomType+style. Async — returns a jobId; the new version appears on the image. Costs 1 credit.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"projectId": "<projectId>",
"imageId": "<imageId>",
"editType": "<editType>"
},
"name": "edit_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| style | No | Required for staging. | |
| imageId | Yes | ||
| editType | Yes | ||
| roomType | No | Required for staging + advanced/interior edits. | |
| projectId | Yes | ||
| customPrompt | No | Required for editType='manual'. | |
| advancedParams | No | Required for replace/remove/add. |