/skills:generate-youtube-thumbnailfrom skills
Generates high-CTR YouTube thumbnails via Novoads API using Nano Banana Pro. Handles reference image upload, character likeness, CTR-tested prompt formulas, and batch generation.
Ships in skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
A reusable workflow for creating YouTube thumbnails via Novoads' POST /v1/images with
nano-banana-pro, with proper character likeness and proven CTR formulas.
Trigger on phrases like:
Paths below are relative to this skill's own folder, and every file they name ships inside
it. That holds wherever the folder lands: the repo, the .claude/skills/ and .cursor/skills/
copies sync-skill.sh makes, or a standalone install of just this skill.
prompting/guide.md — likeness alignment, expressions cheat sheet, prompt structureprompting/formulas.md — 5 proven thumbnail formulas with templatesscripts/generate-batch.sh — the batch script (upload once → generate → download)For the API contract itself — error codes, rate limits, the upload flow — the novoads-api
skill's reference.md is the authority.
.env with NOVOADS_API_KEY (novo_ + 64 hex). Verify with ./scripts/check-novoads-env.sh.PRODUCT_ID. Omit it and jobs land in your default product; productId is organizational only and does not influence what is generated.face/ — several photos of the subject (headshot + 3/4 angles + close-ups + expressions)logos/ — brand logos as filesproducts/ — clean product shotsexamples/ — real ad screenshots, comparison materialstyle/ — example thumbnails the user wants to match aestheticallyREST key required. A Novoads MCP connector is not a substitute. If
NOVOADS_API_KEYis missing or still the placeholder, stop before any generation work and tell the user: "Before continuing, create an API key at https://novoads.ai/dashboard/settings?tab=api and paste it into.env." That holds even whenmcp__novoads__*tools are connected and authenticated in the session. Never callmcp__novoads__*tools from this repo's workflows: they are a different surface with different tools and behavior. Repo installs verify with./scripts/check-novoads-env.sh; a solo install checksNOVOADS_API_KEYin the environment.
Pack version. Every /v1 response carries X-Novoads-Pack-Version; mention a newer pack at https://github.com/novoads/agent-skills only when that header names a version NEWER than this file's metadata.packVersion — equal or older is nothing to say, and it is never a reason to stop.
If references are missing or the user pastes images in chat instead of saving them, stop and
ask the user to drop the actual files into a project folder (e.g. references/youtube thumbnail/).
Chat paste ≠ file on disk.
nano-banana-pro accepts up to 14 referenceAssetIds per generation, which is fal's own
published ceiling for the /edit arm this workflow calls, confirmed by probe on 2026-08-03. This
skill runs on nano-banana-pro, so the fork's original advice applies here unchanged.
For a while this pack said the cap was 4 on every image model and that "always use 5+ face references" was void. That was our own held number, carried from a shared constant and never tested against the transport we serve this model from. It has been corrected.
Two facts still shape how you spend them:
assetId can be reused across calls. Upload once and cite it on every call that needs it.
Uploading is free and unlimited — only generations are charged. So keep a library of
face angles and brand assets, the files and their ids, and pick from it.gpt-image-2 takes 4, and that 4 is
measured, not assumed — a 5-reference body was refused on the same 2026-08-04 probe run. If you
route a likeness run to gpt-image-2, the 5+ advice does not survive the trip; say so rather
than silently citing four.Always use 5+ face references for character work. With 1-2 the model generalizes to a generic face; with 5+ from different angles it locks in the specific person. Spend them: headshot, 3/4 angle, studio close-up, one smiling, one neutral, plus any brand asset that must be pixel-accurate.
Rolling window for a series (ported from the character-sheet workflow): when generating
variation N, pass [hero, N-1, N-2, N-3, N-4] — the approved hero shot as the anchor plus the
four most recent good outputs. Drop any variation that drifted rather than feeding it
forward; a bad reference propagates.
If the user insists on more coverage, the answer is more prompt specificity, not more refs.
Ask the user for any missing context, but only what you actually need:
ls "references/youtube thumbnail/"
If references are missing, ask the user to drop them. Do not proceed with text-only descriptions for brand-specific items (logos, branded products, branded apparel) — you'll get generic AI approximations that don't match the brand. Generic descriptions are OK for backgrounds, expressions, and clothing.
Then pick the ones that will be cited — 5+ face angles for character work, up to 14 in all (see the cap section above).
curl -sS -X POST "$NOVOADS_BASE_URL/v1/estimates" \
-H "Authorization: Bearer $NOVOADS_API_KEY" \
-H 'Content-Type: application/json' \
-d '{"kind":"image","model":"nano-banana-pro","prompt":"<one composed prompt>","numImages":1}'
It charges nothing, and it is the only legitimate source of a price. Multiply by the number of variations and
show the user the total against their balance before firing anything. Wait for an explicit
yes.
Never quote a credit figure from memory, from logs/novoads-api.jsonl, or from
MASTER_CONTEXT.md — there are no credit numbers written down anywhere in this repo, on
purpose. Name the model in the estimate body: the image models' schedules differ by more
than 3×, and an estimate that omits model prices gpt-image-2.6-sunburst, understating a
nano-banana-pro batch.
Its warnings are advice on the prompt, never a verdict. Re-read
the prompt against the formula yourself before pricing: a batch runs the same shape N times, so
a flaw in it is paid for N times.
See prompting/formulas.md for the 5 proven formulas.
Match the user's intent:
| User says... | Use formula |
|---|---|
| "Just me with my brand" / "branding thumbnail" | Peace-sign / branding |
| "Real vs AI" / "compare" / "before/after" | Real vs AI comparison |
| "Show the process" / "with the terminal" | Terminal flow |
| "Surprised face" / "shocked reaction" | Reaction shock |
| "Replace" / "alternative" / "swap out" | Before/after split |
Follow the template in prompting/guide.md:
YouTube thumbnail, 16:9 landscape.
[SUBJECT — likeness block + clothing + framing + "no hands" if applicable]
Expression: [specific expression from expressions cheat sheet]
[LEFT visual element + reference]
[RIGHT visual element + reference]
Across the top in massive bold yellow block letters with thick black outline reads [TITLE].
Background: [color + glow]
Style: [aesthetic notes]
Avoid: distorted face, extra fingers, hands visible, blurry logos, generic face
Always include the CRITICAL CHARACTER LIKENESS block when the subject is a real person. It and the references do different jobs: the refs fix what the face IS, the block fixes what the prompt must not let drift. Neither substitutes for the other, so write both.
Prompts are capped per generation; the API names the limit if you exceed it. Reference the uploaded images positionally ("the face in the first reference image") — order is preserved.
Copy scripts/generate-batch.sh to a new versioned script (scripts/generate-thumbnails-vN.sh)
and modify:
REF_BASE and COMMON_REFS (max 14 — the script's REF_CAP) with your reference file pathsPROMPTS array entries with your composed promptsbash scripts/generate-thumbnails-vN.sh > output/run.log 2>&1 &tail -F output/run.log | grep --line-buffered -E "DONE|FAIL|ERROR|MISSING|resubmit|charged"The script handles:
running and the script polls it (API 2.39.0)creditsChargedAfter all generations complete, read each thumbnail with the Read tool and present:
This is the opposite of how the previous backend worked, where a reused reference caused
HTTP 500 UNKNOWN_ERROR and every generation needed a fresh upload. On Novoads,
POST /v1/uploads returns an assetId you can reuse across calls.
Upload once per batch and reuse. Re-uploading the same face photo only produces a different id
for the same picture, so do it only if a call or a job built on the old id fails.
The presigned uploadUrl does expire (expiresInSeconds in the response), but that only
affects the PUT window, not the assetId.
POST /v1/uploads returns a headers object. The PUT must send those headers byte for byte —
Content-Type and Content-Length are both part of the URL signature, so storage answers 403 if
either differs, including an added ; charset=…. Don't let an HTTP client infer the type.
The old "images smaller than 1080px longest side return 422 — image too small" rule was
specific to the previous backend and has not been verified against Novoads. The batch script
still upscales, because small references genuinely produce worse likeness — but do not report
the 422 claim to a user as an API rule.
referenceAssetIds is an array of plain stringsNot objects, and not file paths — the assetId values returned by POST /v1/uploads.
Maximum 14 on nano-banana-pro, which is the model this skill runs on. The other image
models are lower and the number does not travel: each Seedream 5 model takes 10, gpt-image-2 takes 4.
If the user pastes an image directly in chat, you cannot pass it to the API. Ask them to save the actual file into a project folder.
With 1-2 face references the AI generalizes to "generic bearded man with glasses." With 5+ face references from different angles it locks in the specific person. Always use 5+ face references for character work. For a series, use the rolling window described above.
The API allows 12 concurrent image generations per organization, counted apart from video in
both directions. A 13th in flight returns 429 with details.reason: image_concurrency_limit,
and unlike a per-minute limit, slowing your request rate does not help; only a finishing job
frees a slot. The batch script's cap of 4 in flight is its own choice, not the API's limit: it
leaves room for other image calls the organization runs through the API.
Every POST /v1/images the batch script sends carries an idempotencyKey, its own per
thumbnail and the same on that thumbnail's resends: the same key within 24 hours answers with the
first call's job, so a resend with it is never charged twice. The script sends a call once more by
itself after a 429 or the API's own 503 (nothing was charged; credit_balance_busy is a 429
for the credit balance held by other paid calls at that moment), after a timeout, a dropped
connection, a 500 or another 5xx (the key answers with the first call if it landed), and after a
502 whose reasonCode is vendor_error, vendor_timeout or none (refunded, so a new draw; the
API gives the key back only where the credits all came back, and where they did not the resend
meets the 409 below, never a second charge), once it has waited the Retry-After (else 2 s; at
most 60 s on a 429 or 503, the rest of a per-minute window, and 30 s otherwise). A 409 for
the key, the first call still being made, is asked again after the Retry-After, else 15 s, for up
to 120 s in all, and a 429 or 503 met in that time waits the same way. Still 409 after that,
its answer was not recorded and that key keeps answering 409 for its 24 hours: find the job where
the stop says, in
GET /v1/generations?kind=image&limit=50&updatedSince= a minute before the time its Submitting
line gave (a day more when BATCH_KEY was given) and every further page (offset while hasMore).
The list's promptPreview is a prompt's first 120 characters, which every thumbnail prompt of a
batch shares, so read each job created since then that matches with GET /v1/generations/{jobId}
and take the one whose whole prompt is this thumbnail's; poll it to its end. One still in progress
may still be drawing, or may be waiting for the API to fail it and refund it, usually within about
30 minutes of the charge and at the latest about 2 hours after it, and no such job since then means
nothing was charged. Once that job has failed or is not there, run that thumbnail alone with a new
batch key (only its prompt in PROMPTS, no BATCH_KEY): one new key, charged once. Sooner, it may
stand charged twice. The same BATCH_KEY keeps answering 409 for it for 24 hours,
and the whole batch without BATCH_KEY draws and charges every thumbnail again. Anything else
stops at once.
The keys come from the run's batch key, printed at the start and saved in batch_key.txt in the
output folder. A run that was cut off, or a thumbnail that stopped after a lost answer and may stand
charged once, is run again unchanged with BATCH_KEY=<that key> within 24 hours: each thumbnail
it sent answers with its first call, charged once, instead of a second, paid picture, and one whose
call failed with its charge standing answers 409 until its 24 hours pass and stops with where to
find its job, as above. After 24 hours the same keys draw and charge again, so look in
GET /v1/generations first. It is only for the same
batch: a thumbnail whose prompt, model, shape or reference files changed (a file replaced at the
same path included) draws a new key by itself, so a corrected prompt is a new picture. A run without
BATCH_KEY sends new keys, which render and charge again.
Default macOS bash doesn't support declare -A (associative arrays). The batch script uses
indexed arrays instead.
Text descriptions of brand-specific items (logos, branded apparel, custom merchandise) produce generic approximations. For pixel-accurate brand reproduction, save the actual brand asset to disk and cite it as one of your references.
There is no cost table in this file, deliberately. Every price comes from a live
POST /v1/estimates in the current session, shown to the user and approved before anything is
generated (see step 3). Report the real total from creditsCharged when the run finishes.
At the default quality (medium: this skill names none), nano-banana-pro costs more per image
than gpt-image-2. If a batch is exploratory and the
concept doesn't depend on photoreal likeness, pricing both is worth the two estimates, which charge nothing.
prompting/guide.md — likeness alignment, expressions, prompt structureprompting/formulas.md — 5 proven CTR formulas with prompt templatesscripts/generate-batch.sh — the batch generatornovoads-api skill — endpoint, upload flow, error codes, rate limitsnano-banana-image-ad skill — the same model, pointed at Meta ad creativesWhat SKILL.md sets; muted values are Claude Code's defaults
18 skills in this plugin
/analyze-videoAnalyze a reference video and reverse-engineer its style into a reusable Seedance 2.0 prompting template for the Novoads API. The output is a new formula file — like seedance-2-ugc.md — that captures the video's structure, pacing, camera work, edit style and tone so it can be recreated with any product, any person, in any setting. Use this whenever someone provides a video they want to use as a style reference, says "I want to make videos like this", "deconstruct this video", "turn this into a template", "analyze this style", or drops a video file and wants to recreate that format repeatedly.
/broll-overlayOverlays silent b-roll cutaway clips onto a finished base video — the base audio keeps running underneath while the picture cuts away and returns, and the final duration always equals the base duration. Use when the user asks to add b-roll, add cutaways, or overlay clips on a video: "add b-roll to this", "cut away to a product shot here", "overlay these clips on my UGC ad". Entered from an approved base video plus its transcript, which comes from POST /v1/transcripts and needs no local install; it never generates the base itself and it never extends a video./caption-videoBurn timed, styled captions into a finished video on the local machine, without re-rendering the source. This is the manual fallback to the API's captioning endpoint, POST /v1/captions, which stays the default path: come here when the style the user wants is outside the API's presets, or when the source was rendered with audio disabled and the API refuses it. Transcribes the audio with Whisper, groups words into reading phrases, renders the captions in a real browser via HyperFrames, and composites them over the source with ffmpeg using a real alpha channel. Use when the user has an MP4 with speech and asks to add captions, subtitles, burned-in text, TikTok-style captions or word-by-word text to it, and the API path has been ruled out. Runs out of band, so it costs no credits and works on any video file whoever generated it. Not for generating video (use the video skills) and not for a separate .srt/.vtt sidecar file.npx claudepluginhub novoads/agent-skills --plugin skillsOther plugins' skills for the same job