post-asset
Upload images or canvases to Scenario.com's AI platform for processing with generative AI tools, background removal, upscaling, and model training.
Instructions
Upload an image or canvas
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": {
"name": "<name>"
},
"name": "post-asset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| originalAssets | No | If set to true, returns the original asset without transformation | |
| image | No | The image to upload in base64 format string. | |
| canvas | No | The canvas to upload as a stringified JSON. Ignored if `image` is provided. | |
| thumbnail | No | The thumbnail for the canvas in base64 format string. Ignored if `image` is provided. | |
| hide | No | Toggles the hidden status of the asset. | |
| collectionIds | No | ||
| name | Yes | The original file name of the image (example: "low-res-image.jpg"). | |
| parentId | No | Specifies the parent asset Id for the asset. |