Upload a photo for an item
upload_item_imageUpload a local image to set as an item's photo in LighterPack. Accepts JPEG, PNG, or WebP up to 5MB via file path or base64.
Instructions
Uploads a local image file (JPEG/PNG/WebP, 5MB max) to LighterPack and sets it as the item's photo. Provide either filePath (read from disk) or imageBase64 (raw base64-encoded bytes) plus mimeType.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| itemId | Yes | ||
| filePath | No | ||
| mimeType | No | ||
| imageBase64 | No |