Upload a local image to Fashio
upload_imageUpload a local JPG, PNG, or WebP image (max 8MB) to obtain a hosted URL for use in Fashio generation tasks. Enables using local photos as inputs for virtual try-ons and catalog creation.
Instructions
Uploads a LOCAL image file (jpg/jpeg/png/webp, max 8MB) from this machine's filesystem and returns a URL usable in create_generation's images.* fields.
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": {
"filePath": "<filePath>"
},
"name": "upload_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Absolute path to a local .jpg/.jpeg/.png/.webp file. |