hermosodocs

post_to_tiktok

Post a video or photo post to TikTok destructive

Area: YOUTUBE CHANNEL SECTIONS + PLAYLIST IMAGES · Publishing & scheduling. Generated from the running MCP server, like the rest of the tool reference.

Description

Use this when the user wants to post a video or photo post to TikTok now. Publishing costs no credits. Publish to the user’s connected TikTok account — a finished VIDEO, or a PHOTO POST (TikTok’s photo/slideshow format). A photo post carries 1 to 35 images and ONE image is simply a one-slide photo post, so there is nothing special to do for a single picture: pass imageUrls, in the order the slides should appear, and optionally coverIndex. Pass videoUrl for a video. Never pass both — TikTok has no mixed post. TWO destinations. destination:"post" (THE DEFAULT) publishes it LIVE on their profile: TikTok requires the user to CHOOSE the privacy themselves (no default is allowed), so call tiktok_creator_info, show them their real privacy options, and get their choice and an explicit yes before calling. destination:"draft" is ONLY for when the user asks for a draft, or wants to add a TikTok sound or trending audio (TikTok’s API takes no sound for a VIDEO): BEFORE sending, tell them plainly it lands in their TikTok inbox as a DRAFT, that they add the sound in TikTok’s editor, and that THEY must publish it from the TikTok app — nothing goes live until they do. Never pick draft on your own. A photo post published with destination:"post" gets a TikTok-recommended track automatically (autoAddMusic, default on) that they can change in the app. Pass Hermoso render URLs (or upload_file urls for local/external files). Needs TikTok connected (Connectors > TikTok).

Parameters

ParameterTypeDescription
accountstringWHICH connected account of this channel to post as — its @handle or id from list_connector_accounts. Needed only when the profile has more than one tiktok account connected (several and none named is refused by name, never guessed); omit when there is one.
brandstringWHICH PROFILE this post belongs to, for THIS CALL ONLY (beats the connection’s pin): an id or exact name from list_brands. A name that matches no profile, or two, is REFUSED and nothing is posted.
hookstringthe post’s ANGLE, recorded at publish: a list_hooks id (e.g. "direct_callout") or your own wording reused EXACTLY across a campaign. post_performance ranks hooks on it (a winner needs 5 posts sharing one); omitted, this post never votes.
subjectstringwhat the post is about (product, feature, offer or theme): post_performance’s second axis, so reuse the exact wording.
recipestringthe post's FORMAT id, e.g. "slideshow" or "imessage_chat" — post_performance groups by it, so reuse one id per format
ideaIdstringshort id of the content-plan idea this post came from
videoUrlstringthe video to post — a Hermoso render URL or an upload_file url. Omit for a photo post; a URL, not a local file path; use upload_file for local files
imageUrlsstring[]a PHOTO POST: 1–35 image URLs in slide order. One url = a single-image photo post. Do not combine with videoUrl.
coverIndexnumberphoto posts: which slide is the cover, 0-based. Default 0 (the first slide).
destination"post" | "draft""post" (default) = live on the profile now (needs the privacy the user chose + their explicit yes); "draft" = to their TikTok inbox for them to finish and publish in the app — only when they ask for a draft or want to add a TikTok sound, and only after telling them so.
titlestringthe caption — hashtags go here (video ≤2200 chars, photo post ≤4000)
photoTitlestringphoto posts only: a short title above the caption (≤90 chars). Defaults to the caption’s first line.
privacy"PUBLIC_TO_EVERYONE" | "MUTUAL_FOLLOW_FRIENDS" | "FOLLOWER_OF_CREATOR" | "SELF_ONLY"REQUIRED for destination:"post", for photos and video alike. Must be one the creator actually allows — read them from tiktok_creator_info, never guess.
disableCommentbooleantrue = turn comments off on this post
disableDuetbooleanvideo only — TikTok has no duet on a photo post
disableStitchbooleanvideo only — TikTok has no stitch on a photo post
autoAddMusicbooleanphoto posts only: let TikTok add a recommended track (default true — a silent slideshow reads as broken)
coverTimestampMsnumbervideo only: which frame to use as the cover, in ms
aiGeneratedbooleanTikTok’s is_aigc AI-generated-content label (video posts). OMIT IT and Hermoso decides from provenance: a Hermoso render is declared, a video that came through upload_file or an external URL (the user’s own footage) is NOT. true/false overrides.
brandedContentbooleandiscloses a paid partnership — cannot be combined with SELF_ONLY privacy
yourBrandbooleandiscloses that this promotes the creator’s own brand
platformCoverbooleanVIDEO COVER. Omit it (the default) and Hermoso sets the video’s best frame — the same frame as its Library thumbnail — as the cover (TikTok video_cover_timestamp_ms, on a direct post — a draft takes no cover, you pick it in the TikTok app). true = send no cover and let the platform pick (usually the first frame). A cover you pass yourself always wins.
locationIdstringTAG A PLACE on the post: the locationId search_tiktok_locations returns. Needs locationName too. Setting this, musicSoundId or adsOnly publishes through TikTok’s Business endpoint (the TikTok account authorized under Connectors > TikTok Ads, which must be the account this brand posts as): public only for a video, at most 15 such posts a day per account, direct posts only (not drafts).
locationNamestringthe place name exactly as search_tiktok_locations listed it; TikTok requires it with locationId
musicSoundIdstringa COMMERCIAL MUSIC LIBRARY track under the post (pre-cleared for brand and ad use): a songClipId from tiktok_ads_trending kind "sounds". Video or photo post.
musicVolumeintegerVIDEO: how loud that track plays, 0-100. Default 50, as in the TikTok app (TikTok’s API default is 0, which attaches a track nobody hears).
musicStartMsintegerVIDEO: where in the track to start, in milliseconds (default 0)
musicEndMsintegerVIDEO: where in the track to stop, in milliseconds (default: the video’s length)
originalSoundVolumeintegerVIDEO with musicSoundId: how loud the video’s OWN sound (voiceover, dialogue) plays under the track, 0-100. Default 50, as in the TikTok app; 0 mutes it. TikTok has this only together with a Commercial Music Library track.
adsOnlybooleanVIDEO: publish as an "Only show in ads" post. It stays off the profile and exists to be run as a Spark Ad (authorize it with the TikTok Ads tools). Anyone with the link can still open it.

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/post_to_tiktok.

MCP (tools/call)

{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"post_to_tiktok","arguments":{}}}

CLI

hermoso call post_to_tiktok --json '{}'

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.

All 728 Publishing & scheduling tools · tools.json