hermosodocs

plan_ad

Plan an ad concept

Area: planning · Creative generation. Generated from the running MCP server, like the rest of the tool reference.

Description

Plan an ad: turns a brand and a product or brief into an ad concept, with copy variants (headline, primary text, call to action) and either an image prompt or a timed video storyboard, plus the recipe and the model ids to render with. It renders nothing; pass its output to render_ad, generate_image or generate_video. For a single image ad it is optional: generate_image alone makes one from the saved brand, so skip this step unless the user wants concepts or copy options first. A named length ("a 30 second ad") goes in durationSeconds and the storyboard is written to it; a video with none is not planned: a free question comes back to ask the user (15s is one clip, or 30s, or any 4-180). The user’s own screenshots or pictures to show inside the video go in `inserts`. The brand’s SAVED product photo (get_brand / list_product_photos) is used automatically; never ask the user to upload it again. Uses credits for the planning step.

Parameters

ParameterTypeDescription
brandstring | objectbrand name, or a brand profile object {name,domain,category,palette,products,…}. OMIT to use the workspace’s SAVED brand + memory automatically (see get_brand); use draft_brand to onboard a new one
productrequiredstringwhat to advertise + any angle/offer the user specified; name the product it is for
format"auto" | "image" | "video"'image', 'video', or 'auto' when unspecified
durationSecondsnumberFor video: the total length the user asked for, in whole seconds. The storyboard’s scenes add up to it and the script is sized for it. 4 to 180 seconds; a value outside that is clamped and the reply says so. A length that fits one take of the render model is filmed as one take; a longer one is filmed as the fewest clips that model can take, each a length it can film, joined in order and never sped up.
lengthAskedbooleanthe user declined to pick a length: use the default
hookstringforce the VISUAL scroll-stop mechanic the opening beat is built on — a hook id from list_hooks (e.g. "direct_callout", "mid_problem", "macro_asmr"). Omit to let the planner pick. A hook that cannot be delivered in this brief is DROPPED with the reason rather than rendered wrongly — an on-screen-text hook on an authentic/UGC ad is the one that bites, because that register carries zero on-screen text.
settingstringforce the WHERE — a setting id from list_hooks (e.g. "kitchen", "gym", or a surreal one like "volcano_rim" / "airplane_wing", which are played 100% straight and never acknowledged). Omit for a neutral setting.
recipestringa recipe id from hermoso_capabilities to force an archetype
referencestringa reference to clone: an ad-library link (Facebook Ad Library, LinkedIn Ad Library, Google Ads Transparency — its real copy/advertiser are fetched) OR a VIDEO link — a TikTok, Instagram Reel, Facebook video, X post or a direct video file (not YouTube: YouTube does not let us download videos, so a YouTube link is refused up front and nothing is charged; the user downloads it themselves and uploads the file (upload_file).) — which is WATCHED first (frames + voiceover/on-screen-text transcript) so the concept keeps its hook, structure and pacing. To remake one video for this brand at its own length, clone_video is the direct tool
languagestringoutput language for the ad copy (e.g. Spanish) — default English
talent"auto" | "creator" | "product_only"who is on camera; omit to follow the format. Say 'someone new' in product to skip reusing a saved creator.
conceptsstring[]several variants: one line per concept (a different angle each); built exactly
draftobjectOnly after a video refusal that offered a lighter draft: the {model, durationSeconds} that refusal named. The plan is then written to that length and priced on that model. Use only the values the refusal gave; when an account cannot cover a video, the refusal comes before planning with three options (an image, adding credits, or this draft when one fits) and the user chooses.
draft.modelrequiredstringvideo model id from a refusal that offered a lighter draft; use only the value it gave
draft.durationSecondsrequirednumberclip length in seconds from that same refusal; use only the value it gave
insertsobject[]VIDEO ONLY: the user's own SCREENS cut in at these seconds (each item's look, kind, start and end say how), the voice running underneath. How many: at most 8, about one per 2.5 s of film (6 s: 2, 10 s: 4, 15 s: 6, 20 s: 8, 30 s: 8), 1.2-2 s each, on the line that talks about it. When there are more, the most crowded are left out first, never the last (the payoff) or one marked key, and the reply names them. The plan keeps those shots free of screens and returns the pictures as creative.inserts for render_ad to lay in (about 2 credits). One that does not fit is left out and the reply says so.
inserts[].imagerequiredstringan https or upload_file URL, a Library id (L0, L1…) or a local path on the CLI
inserts[].startrequirednumbersecond it appears, never before 1 s (the film opens on moving footage)
inserts[].endrequirednumbersecond it ends: at most 2 s after start (2.5 s full-screen), never in the last 1.5 s of the film
inserts[].kind"screen" | "photo"screen (default): an app, page, dashboard, document, review or chart. photo: a person, product or place, NOT laid over the video (a product photo goes in as the brand's product photo, a person as a saved creator)
inserts[].look"cutaway" | "card" | "full"cutaway (default): a hard cut to the screen filling the frame, cropped to focus, held still, never enlarged past 1.25x its pixels (any gap is the screenshot's own background colour; a screen too small to read is left out and said). card: picture-in-picture over the playing footage, clear of the speaker's face. full: the whole picture uncropped on a blurred backdrop. card and full ONLY when the user asked
inserts[].corner"top-left" | "top-right" | "bottom-left" | "bottom-right" | "center"look card only: the corner the user asked the card to sit in. Omit for the default wide band
inserts[].sizenumberlook card only: the card's width as a fraction of the frame, when the user asked for a size (a quarter of the default 0.86 card is about 0.22). Omit for the default
inserts[].focusobjectthe readable part to fill the frame with, as fractions of the picture from its top-left (e.g. the flagged-items table); a crop as tall as wide, or taller, reads best on a phone. Omit for the whole picture, plain margins trimmed
inserts[].focus.xrequirednumber
inserts[].focus.yrequirednumber
inserts[].focus.wrequirednumber
inserts[].focus.hrequirednumber
inserts[].keybooleantrue = the story needs this one (the payoff): never left out when there are more screens than the length takes
get_costbooleantrue: return the price only; nothing runs or bills
expected_creditsnumberthe get_cost price; refused unbilled if the live price differs
idempotency_keystringchosen once, resent unchanged on retries: the same key never buys twice

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

MCP (tools/call)

{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"plan_ad","arguments":{"product":"<string>"}}}

CLI

hermoso call plan_ad --json '{"product":"<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.

All 102 Creative generation tools · tools.json