Upload image
upload_imageUpload an image to BasePic and get links: page_url (short link to share), image_url (direct image) and download_url. Give either a public "url" (an image, or a post on X/Instagram/Facebook) or "image_base64". Returns an id for edit_image and a delete_key. Images up to 50 MB. The image is private: only people with the link can see it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Public https link to the image | |
| filename | No | Optional file name, e.g. "beach.jpg" | |
| image_base64 | No | The image as base64 (a data: URL works too) | |
| return_preview | No | Also return a small preview of the image so you can look at it (default false) |