upload_asset
Upload media (image or video) to SocialClaw hosted storage. Provide either sourceUrl (a public URL the server downloads) or contentBase64. Returns an asset id and a public URL usable as media_link in schedules.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | Filename including extension, e.g. launch.png. | |
| sourceUrl | No | Public URL to download the media from. | |
| contentBase64 | No | Base64-encoded file content (alternative to sourceUrl). |