Save a picture or video
save_imageWrite a generated picture or video to an absolute file path at full size, keeping any existing file unless overwrite is enabled.
Instructions
Writes a picture or video, at full size, to a file. The path must be absolute; an existing file is kept unless overwrite is true.
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": {
"asset_id": "<asset_id>",
"path": "<path>"
},
"name": "save_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path of the file to write. | |
| asset_id | Yes | The id (ast_…) of the picture or video to save. | |
| overwrite | No | Replace a file that is already there (default false). |