Upload a logo image
upload_logo_imageStores a logo image (PNG, JPEG, GIF, WebP up to 8 MB; SVG up to 1 MB) so the 3D logo editor can extrude it, and returns a mark id plus an editor link already styled. Give exactly one source: image (a file the user attached in chat), image_url (a public https link to the image file itself, not a page), or image_data (a base64 data URL, small files only). Marks expire after 7 days. For a file on the user's own machine use request_logo_image_upload instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | Extrusion depth, default 30 | |
| image | No | The image the user attached in chat | |
| motion | No | ||
| material | No | Material id from list_materials (e.g. gold-clean-optimised) | |
| file_name | No | Shown in the editor; defaults to the file name | |
| image_url | No | Public https URL of the image file | |
| background | No | Hex colour, e.g. #1a1a1a | |
| image_data | No | data:image/png;base64,... for small images only; most hosts cap this well under 1 MB | |
| environment | No | Lighting room |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bytes | Yes | ||
| markId | Yes | ||
| fileName | Yes | ||
| material | Yes | ||
| editorUrl | Yes | Absolute https URL the user can open | |
| expiresAt | Yes | ||
| contentType | Yes |