Edit images
sigma_edit_imageProject images (assetId, or assetIds, max 20) as new versions; originals kept. preset: custom (instruction), auto-fix, retouch, relight, expand (aspectRatio), upscale (scale; detail generative only for made images), restore, remove-background, background, remove-object, restyle. then: a second wordless preset. Priced per image. Use: fixing, upscaling or reframing photos they have, one or many Not: a new image (generate_image); video (upscale_video) Example: "upscale these 6 product photos and make them 4:5" [approval; runs when called; the answer says what it made and cost]
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>",
"input": "<input>",
"idempotencyKey": "<idempotencyKey>"
},
"name": "sigma_edit_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | ||
| input | Yes | ||
| request | No | ||
| projectId | Yes | ||
| workspace | No | Workspace slug. Omit to use the workspace your credential is bound to. An API key names its own workspace, and a value that disagrees with it is refused rather than ignored. | |
| idempotencyKey | Yes | Required for anything that spends or creates durable state. Generate a unique id per logical call. Retrying with the SAME id and the SAME arguments returns the stored result instead of doing — and charging for — the work twice; the same id with different arguments is refused with `conflict`. | |
| projectSessionId | No | The `project_session_start` session this call belongs to. Optional; when set, the project journal records the call as your harness session. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||