Set link image
split_set_link_imageReplace the image on a link's card — the fix when metadata extraction grabbed a logo, a favicon, or a placeholder. Give EITHER source_url (an image the server fetches, e.g. the product photo from the merchant's own page) or image_base64 (bytes the creator supplied). PNG and JPEG only; anything else is rejected before upload. The uploaded image wins over extracted metadata permanently, and image_url in the response is the new card image. crop is optional and rarely needed — omit it to show the whole image.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| crop | No | Crop box as fractions of width/height (0-1), all four required together | |
| uuid | Yes | Link uuid | |
| source_url | No | URL of a PNG or JPEG to fetch and attach; mutually exclusive with image_base64 | |
| image_base64 | No | Base64 image bytes, no data: prefix; mutually exclusive with source_url |