post_to_youtube
Post a video to YouTube destructive
Description
Use this when the user wants to upload a video or Short to YouTube. Publishing costs no credits. Publish a finished video to the brand’s connected YouTube channel. Pass a Hermoso render URL (or an upload_file url for a local/external file). PUBLISHES PUBLICLY BY DEFAULT: a plain "post this to YouTube" puts it ON the channel (confirm the title with the user, as for any publish) and notifies subscribers as YouTube does. Pass the privacy the user states instead: "unlisted" (link-only) or "private" (eyes-only). A video meant to run as a YouTube/Google AD should go up "unlisted" — private videos CANNOT be used as ads. Never choose unlisted for music on your own. Needs a connected YouTube channel (Connectors > YouTube). Full rules: get_instructions({topic:'post_to_youtube'}).
Parameters
| Parameter | Type | Description |
|---|---|---|
account | string | WHICH 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 youtube account connected (several and none named is refused by name, never guessed); omit when there is one. |
brand | string | WHICH 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. |
hook | string | the 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. |
subject | string | what the post is about (product, feature, offer or theme): post_performance’s second axis, so reuse the exact wording. |
recipe | string | the post's FORMAT id, e.g. "slideshow" or "imessage_chat" — post_performance groups by it, so reuse one id per format |
ideaId | string | short id of the content-plan idea this post came from |
videoUrlrequired | string | the video to post — a Hermoso render URL or an upload_file url; a URL, not a local file path; use upload_file for local files |
title | string | REQUIRED in practice — the headline every search result and the Shorts feed shows (≤100 chars); an upload with no title is refused |
description | string | REQUIRED in practice — what the video shows, a line about the brand, a link and a few #hashtags (≤5000 chars); YouTube search, suggested videos and the Shorts feed rank on it, so an upload with no description (and no caption) is refused |
tags | string[] | up to 30 tags |
thumbnailUrl | string | the custom thumbnail: a Hermoso-hosted image (make_thumbnail, or upload_file for the user’s own). Omit it and a representative frame of the video is set, free; "auto" keeps YouTube’s pick. Custom thumbnails need a verified channel. |
privacy | "private" | "unlisted" | "public" | default public (live + searchable on the channel); unlisted = link-only (the ad-ready setting, or to add YouTube music in Studio first — only when the user asks); private = eyes-only (cannot run as an ad) |
playlistId | string | add it to this playlist (list_youtube_playlists) |
firstComment | string | first comment as the channel (≤2,000) |
madeForKids | boolean | declare the video MADE FOR KIDS (COPPA) — default false; YouTube then turns off comments and personalised ads |
categoryId | string | YouTube category id, NUMERIC — default "22" (People & Blogs), which is wrong for most ads. 1 Film & Animation · 2 Autos & Vehicles · 10 Music · 15 Pets & Animals · 17 Sports · 19 Travel & Events · 20 Gaming · 22 People & Blogs · 23 Comedy · 24 Entertainment · 25 News & Politics · 26 Howto & Style · 27 Education · 28 Science & Technology · 29 Nonprofits & Activism. The assignable set is region-specific, so the value is forwarded as given and YouTube has the last word. |
publishAt | string | SCHEDULE the publish — ISO 8601, e.g. "2026-09-01T15:00:00Z", and it must be in the future. YouTube only allows this on a PRIVATE video and makes it PUBLIC at that moment, so pass privacy:"private" (or leave privacy unset) — asking for a scheduled "unlisted" or "public" post is refused rather than half-honoured. |
notifySubscribers | boolean | THE DEFAULT FOLLOWS PRIVACY. privacy:"public" NOTIFIES the channel's subscribers — that is YouTube's own default and normally what someone publishing publicly wants. privacy:"unlisted" and "private" do NOT: the video is not on the channel, so announcing it is nonsense, and a blast to somebody's whole subscriber list cannot be undone. A scheduled publish (publishAt) is PRIVATE at upload, so it does not notify either — pass true to announce one. An explicit value ALWAYS wins in both directions: true announces an unlisted/private upload, false publishes publicly and quietly. The reply reports which way it went and why. |
aiGenerated | boolean | YouTube’s “altered or synthetic content” declaration (containsSyntheticMedia). OMIT IT and Hermoso decides from provenance: a Hermoso render is declared, a video the user uploaded through upload_file or from an external URL is NOT — real footage must not carry the label. true/false overrides. |
platformCover | boolean | VIDEO COVER. Omit it (the default) and Hermoso sets the video’s best frame — the same frame as its Library thumbnail — as the cover (YouTube custom thumbnail; the same as thumbnailUrl:"auto" when true). true = send no cover and let the platform pick (usually the first frame). A cover you pass yourself always wins. |
coverAtMs | number | THE VIDEO COVER (the custom thumbnail), as ONE frame: milliseconds from the start (7000 = the frame at 7s). That frame is cut from the upload and set with thumbnails.set. thumbnailUrl wins; this beats platformCover. |
paidProductPlacement | boolean | true = contains PAID product placement (sponsored) — YouTube shows the disclosure; legally required for sponsored content |
brandPartner | string | sponsoring brand's channel id (UC…) or @handle — gives that brand access to run the video as a partnership ad; "" unlinks (update only) |
defaultLanguage | string | language of title/description, e.g. "en" |
defaultAudioLanguage | string | spoken language, e.g. "es" |
localizations | object | translated title/description per language, e.g. {"es":{"title":"…"}}; needs defaultLanguage |
license | "youtube" | "creativeCommon" | YouTube licence: youtube (standard) or creativeCommon |
embeddable | boolean | true = allow embedding on other sites |
publicStatsViewable | boolean | true = show public view and like counts |
recordingDate | string | YYYY-MM-DD |
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_youtube.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"post_to_youtube","arguments":{"videoUrl":"<string>"}}}
CLI
hermoso call post_to_youtube --json '{"videoUrl":"<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
upload_fileUpload a local file -> durable public URLget_instructionsRead Hermoso's full instructionsgoogle_business_accountGoogle Business Profile account for a listingyoutube_channelGet the connected YouTube channelcreate_business_locationCreate a Google Business Profile listingsearch_google_listingsFind a business already on Googlemanage_business_food_menusGoogle listing food menumanage_business_verificationVerify a Google Business Profile listingupdate_business_attributesSet Google listing attributesmanage_business_action_linksGoogle listing booking and order buttons