Upload an image to Fashio
upload_imageUploads one image you have as base64 bytes and returns {id, url}; pass that url into any images.* field of create_generation, create_catalog_job or create_template_set. Use this for an image that exists only in the conversation or on your machine; skip it when the image already has a public URL (pass that URL directly). JPEG/PNG/WebP only, max 8 MB: 413 if larger, 415 if the bytes are not a recognised image (checked by file signature, not by format). Free (no diamonds). Needs a valid Fashio API key (Bearer); every call counts toward the key's daily request cap (429 when reached, 401 for a missing or revoked key).
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": {
"base64": "<base64>",
"format": "<format>"
},
"name": "upload_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base64 | Yes | The image file's bytes, base64-encoded, without a 'data:image/...;base64,' prefix. Max 8 MB once decoded. | |
| format | Yes | File type of the bytes: jpg | jpeg | png | webp. Sets the upload's Content-Type; the server still verifies the real format. |