Upload an image for a TikTok comment
upload_tiktok_comment_imageConvert a public image URL into the TikTok imageUri for comments, returning width and height that must be passed back together.
Instructions
Turn a public image URL into the imageUri that comment_on_tiktok_video needs — TikTok will not take a raw URL on a new comment, only on a reply. Returns imageUri, imageWidth and imageHeight, and ALL THREE must be passed back together: TikTok rejects dimensions that do not match what it stored. Limits are TikTok's own — at most 5 MB, JPG/JPEG/PNG/WebP, between 360x360 and 1080x1920 (or 1920x1080). upload_file turns a local file into a URL this accepts. NEEDS THE TIKTOK ACCOUNT AUTHORIZATION (see tiktok_account_status).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| imageUrl | Yes | a public URL to the image — upload_file turns a local file into one |