upload_image
Upload an image to Printify from a URL or base64-encoded content so it can be used in product designs. Provide a file name and either a source URL or encoded contents.
Instructions
Upload an image to Printify from a URL or base64 encoded content
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": {
"file_name": "<file_name>"
},
"name": "upload_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | URL of the image to upload (use this OR contents, not both) | |
| contents | No | Base64 encoded image content (use this OR url, not both) | |
| file_name | Yes | Name of the file |