Set collection image
split_set_collection_imageReplace a collection's cover image: uploads the image and attaches it in one step. Give EITHER source_url (an image the server fetches) or image_base64 (bytes the creator supplied). PNG and JPEG only. crop is optional — omit it to show the whole image. To remove an image, call split_update_collection with image_upload_id: null.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| crop | No | Crop box as fractions of width/height (0-1), all four required together | |
| uuid | Yes | Collection uuid | |
| source_url | No | URL of a PNG or JPEG to fetch; mutually exclusive with image_base64 | |
| image_base64 | No | Base64 image bytes, no data: prefix; mutually exclusive with source_url |