upload_tiktok_comment_image
Upload an image for a TikTok comment
Description
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).
Parameters
| Parameter | Type | Description |
|---|---|---|
imageUrlrequired | string | a public URL to the image — upload_file turns a local file into one |
Example call
Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/upload_tiktok_comment_image.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"upload_tiktok_comment_image","arguments":{"imageUrl":"<string>"}}}
CLI
hermoso call upload_tiktok_comment_image --json '{"imageUrl":"<string>"}'
Credits
Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.
Related tools
comment_on_tiktok_videoPost a new comment on the brand’s own TikTok postupload_fileUpload a local file -> durable public URLtiktok_account_statusCheck the TikTok account authorizationsearch_tiktok_locationsFind a TikTok location tagset_tiktok_post_ad_authorizationTurn Spark-Ads authorization on or off for the brand’s own postmoderate_tiktok_commentLike, hide, pin or delete a TikTok commentget_tiktok_post_ad_authorizationRead a post’s Spark-Ads authorization statusreply_to_tiktok_commentReply to a comment on the brand’s TikTok postextend_tiktok_post_ad_authorizationExtend a post’s Spark-Ads authorizationdelete_tiktok_post_ad_authorizationDelete a post’s Spark-Ads authorization code