Generate youtube thumbnail skill

Illustration · not a resultFrom the novoads/agent-skills README — shows the whole collection, not only this skill.source ↗
Generate high-CTR YouTube thumbnails using Nano Banana Pro via the Novoads API.
by novoads·MIT license·★ 23 Stars on the repo·GitHub ↗
npx degit novoads/agent-skills/skills/generate-youtube-thumbnail#main ~/.claude/skills/generate-youtube-thumbnailChecked ·commit main

Illustration · not a resultFrom the novoads/agent-skills README — shows the whole collection, not only this skill.view on GitHub
Files of Generate youtube thumbnail
Show the full text291 lines
Generate YouTube Thumbnail
A reusable workflow for creating YouTube thumbnails via Novoads' POST /v1/images with
nano-banana-pro, with proper character likeness and proven CTR formulas.
When to use this skill
Trigger on phrases like:
- "make me a YouTube thumbnail"
- "create a thumbnail for this video"
- "I need thumbnail variations / A/B tests"
- "remake this thumbnail with my face"
- "generate 10 thumbnail concepts"
- "thumbnail with [me / my product / my brand]"
Read order
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.
- This file — workflow, decision tree, batch generation
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.
Prerequisites
.envwithNOVOADS_API_KEY(novo_+ 64 hex). Verify with./scripts/check-novoads-env.sh.- Optional
PRODUCT_ID. Omit it and jobs land in your default product;productIdis organizational only and does not influence what is generated. - Reference images on disk (NOT pasted in chat — chat-pasted images are NOT accessible to the API):
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 aesthetically
REST 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 behavior, including the units they quote costs in. 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.
References — how many, and why it changed back
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:
- An
assetIdis durable and reusable. Upload once, reference forever, across runs and across sessions. Uploading is free and unlimited — only generations are charged. So keep a library of uploaded face angles and brand assets and pick from it. - The other image models are lower.
reve-2.1takes 8;gpt-image-2takes 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 togpt-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.
Workflow
1. Gather requirements (in order)
Ask the user for any missing context, but only what you actually need:
- Concept — what's the video about? Single concept, A/B variations, or specific recreation of an existing thumbnail style?
- Subject — who is in the thumbnail (the user themselves, an AI character, no person)?
- Brand assets — which logos / products / brand colors should appear?
- Text — what should the title text say? Will text be baked in, or added in post (Canva/Photoshop)?
- Comparison material — for "real vs AI" thumbnails, what real ad and what AI-generated ad?
2. Verify references exist on disk
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).
3. Price the batch and confirm (MANDATORY)
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.5-sunburst, understating a
nano-banana-pro batch.
The call says nothing about the prompt — no endpoint on this API reads one for quality. 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.
4. Pick a formula
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 |
5. Compose prompts
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.
6. Generate (use the batch script)
Copy scripts/generate-batch.sh to a new versioned script (scripts/generate-thumbnails-vN.sh)
and modify:
- Update
REF_BASEandCOMMON_REFS(max 14 — the script'sREF_CAP) with your reference file paths - Replace the
PROMPTSarray entries with your composed prompts - Run with
bash scripts/generate-thumbnails-vN.sh > output/run.log 2>&1 & - Monitor with
tail -F output/run.log | grep -E "DONE|FAILED|charged"
The script handles:
- Image preprocessing (Lanczos to 1080px longest side, RGB JPEG)
- Upload once, reuse the assetIds for every prompt in the batch
- Each call blocks ~60–90s and returns the image; one still going after about 105 s answers
runningand the script polls it (API 2.39.0) - Bounded parallelism (4 in flight, under the API's concurrency ceiling of 5)
- Per-run credit total from each response's
creditsCharged
7. Review and present
After all generations complete, read each thumbnail with the Read tool and present:
- Brief verdict per thumbnail (likeness, readability, emotional impact)
- Top 3 picks ranked by CTR potential
- Specific reasons for the picks (which expression, which color contrast, which formula)
- Offer next-step refinements (different expression, background color, copy variation)
- The total credits actually charged, summed from the responses — not the estimate
Quirks and pitfalls
Reference assetIds are durable — reuse them
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 that keeps working across calls and across sessions.
Upload once per batch — or once per campaign — and reuse. Re-uploading the same face photo
produces a different id and quietly loses the anchor that was holding likeness steady.
The presigned uploadUrl does expire (expiresInSeconds in the response), but that only
affects the PUT window, not the assetId.
The signed upload headers must be echoed exactly
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.
Image preprocessing is practice, not a documented requirement
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. (Flagged for confirmation in the Phase 4 live smoke.)
referenceAssetIds is an array of plain strings
Not 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: reve-2.1 takes 8, gpt-image-2 takes 4.
Chat-pasted images are NOT files
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.
Likeness drift with too few references
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.
Concurrency is 5, not "as many as you like"
The API allows 5 concurrent generations per organization. A 6th in flight returns 429 with
details.reason: concurrency_limit — and unlike the other 429 causes, slowing your request
rate does not help; only a finishing job frees a slot. The batch script caps itself at 4 in
flight for headroom.
Do not blindly retry a failed generation
There are no idempotency keys on this API, so resubmitting after a timeout or a 500 can
render and charge twice. Check GET /v1/generations for a job that already landed before
resubmitting. The batch script deliberately does not auto-retry.
macOS bash 3.2
Default macOS bash doesn't support declare -A (associative arrays). The batch script uses
indexed arrays instead.
Brand-specific items need actual reference files
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.
Cost
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.
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.
See also
prompting/guide.md— likeness alignment, expressions, prompt structureprompting/formulas.md— 5 proven CTR formulas with prompt templatesscripts/generate-batch.sh— the batch generator- the
novoads-apiskill — endpoint, upload flow, error codes, rate limits - the
nano-banana-image-adskill — the same model, pointed at Meta ad creatives
| 1 | |
| 2 | name generate-youtube-thumbnail |
| 3 | metadata {packVersion: 1.3.0} |
| 4 | description >- |
| 5 | Generate high-CTR YouTube thumbnails using Nano Banana Pro via the Novoads API. Handles reference image upload, character likeness alignment, proven CTR-tested prompt formulas, and bounded batch generation. Use when the user asks to create a YouTube thumbnail, video thumbnail, A/B test thumbnail variations, or refers to thumbnail design with their face, brand assets, or product photos. |
| 6 | |
| 7 | |
| 8 | # Generate YouTube Thumbnail |
| 9 | |
| 10 | A reusable workflow for creating YouTube thumbnails via Novoads' `POST /v1/images` with |
| 11 | `nano-banana-pro`, with proper character likeness and proven CTR formulas. |
| 12 | |
| 13 | ## When to use this skill |
| 14 | |
| 15 | Trigger on phrases like: |
| 16 | "make me a YouTube thumbnail" |
| 17 | "create a thumbnail for this video" |
| 18 | "I need thumbnail variations / A/B tests" |
| 19 | "remake this thumbnail with my face" |
| 20 | "generate 10 thumbnail concepts" |
| 21 | "thumbnail with [me / my product / my brand]" |
| 22 | |
| 23 | ## Read order |
| 24 | |
| 25 | Paths below are **relative to this skill's own folder**, and every file they name ships inside |
| 26 | it. That holds wherever the folder lands: the repo, the `.claude/skills/` and `.cursor/skills/` |
| 27 | copies `sync-skill.sh` makes, or a standalone install of just this skill. |
| 28 | |
| 29 | **This file** — workflow, decision tree, batch generation |
| 30 | `prompting/guide.md` — likeness alignment, expressions cheat sheet, prompt structure |
| 31 | `prompting/formulas.md` — 5 proven thumbnail formulas with templates |
| 32 | `scripts/generate-batch.sh` — the batch script (upload once → generate → download) |
| 33 | |
| 34 | For the API contract itself — error codes, rate limits, the upload flow — the `novoads-api` |
| 35 | skill's `reference.md` is the authority. |
| 36 | |
| 37 | ## Prerequisites |
| 38 | |
| 39 | `.env` with `NOVOADS_API_KEY` (`novo_` + 64 hex). Verify with `./scripts/check-novoads-env.sh`. |
| 40 | Optional `PRODUCT_ID`. Omit it and jobs land in your default product; `productId` is organizational only and does not influence what is generated. |
| 41 | Reference images on disk (NOT pasted in chat — chat-pasted images are NOT accessible to the API): |
| 42 | `face/` — several photos of the subject (headshot + 3/4 angles + close-ups + expressions) |
| 43 | `logos/` — brand logos as files |
| 44 | `products/` — clean product shots |
| 45 | `examples/` — real ad screenshots, comparison material |
| 46 | `style/` — example thumbnails the user wants to match aesthetically |
| 47 | |
| 48 | > **REST key required. A Novoads MCP connector is not a substitute.** If |
| 49 | > `NOVOADS_API_KEY` is missing or still the placeholder, stop before any |
| 50 | > generation work and tell the user: "Before continuing, create an API key at |
| 51 | > <https://novoads.ai/dashboard/settings?tab=api> and paste it into `.env`." |
| 52 | > That holds even when `mcp__novoads__*` tools are connected and authenticated in |
| 53 | > the session. Never call `mcp__novoads__*` tools from this repo's workflows: they |
| 54 | > are a different surface with different behavior, including the units they quote |
| 55 | > costs in. Repo installs verify with `./scripts/check-novoads-env.sh`; a solo |
| 56 | > install checks `NOVOADS_API_KEY` in the environment. |
| 57 | |
| 58 | **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. |
| 59 | |
| 60 | If references are missing or the user pastes images in chat instead of saving them, **stop and |
| 61 | ask the user to drop the actual files into a project folder** (e.g. `references/youtube thumbnail/`). |
| 62 | Chat paste ≠ file on disk. |
| 63 | |
| 64 | ## References — how many, and why it changed back |
| 65 | |
| 66 | **`nano-banana-pro` accepts up to 14 `referenceAssetIds` per generation**, which is fal's own |
| 67 | published ceiling for the `/edit` arm this workflow calls, confirmed by probe on 2026-08-03. This |
| 68 | skill runs on `nano-banana-pro`, so the fork's original advice applies here unchanged. |
| 69 | |
| 70 | For a while this pack said the cap was 4 on every image model and that "always use 5+ face |
| 71 | references" was void. That was our own held number, carried from a shared constant and never tested |
| 72 | against the transport we serve this model from. It has been corrected. |
| 73 | |
| 74 | Two facts still shape how you spend them: |
| 75 | |
| 76 | **An `assetId` is durable and reusable.** Upload once, reference forever, across runs and across |
| 77 | sessions. Uploading is free and unlimited — only *generations* are charged. So keep a library of |
| 78 | uploaded face angles and brand assets and pick from it. |
| 79 | **The other image models are lower.** `reve-2.1` takes 8; `gpt-image-2` takes 4, and that 4 is |
| 80 | measured, not assumed — a 5-reference body was refused on the same 2026-08-04 probe run. If you |
| 81 | route a likeness run to `gpt-image-2`, the 5+ advice does not survive the trip; say so rather |
| 82 | than silently citing four. |
| 83 | |
| 84 | **Always use 5+ face references for character work.** With 1-2 the model generalizes to a |
| 85 | generic face; with 5+ from different angles it locks in the specific person. Spend them: headshot, |
| 86 | 3/4 angle, studio close-up, one smiling, one neutral, plus any brand asset that must be |
| 87 | pixel-accurate. |
| 88 | |
| 89 | **Rolling window for a series** (ported from the character-sheet workflow): when generating |
| 90 | variation N, pass `[hero, N-1, N-2, N-3, N-4]` — the approved hero shot as the anchor plus the |
| 91 | four most recent good outputs. **Drop any variation that drifted** rather than feeding it |
| 92 | forward; a bad reference propagates. |
| 93 | |
| 94 | If the user insists on more coverage, the answer is more *prompt* specificity, not more refs. |
| 95 | |
| 96 | ## Workflow |
| 97 | |
| 98 | ### 1. Gather requirements (in order) |
| 99 | |
| 100 | Ask the user for any missing context, but only what you actually need: |
| 101 | |
| 102 | **Concept** — what's the video about? Single concept, A/B variations, or specific recreation of an existing thumbnail style? |
| 103 | **Subject** — who is in the thumbnail (the user themselves, an AI character, no person)? |
| 104 | **Brand assets** — which logos / products / brand colors should appear? |
| 105 | **Text** — what should the title text say? Will text be baked in, or added in post (Canva/Photoshop)? |
| 106 | **Comparison material** — for "real vs AI" thumbnails, what real ad and what AI-generated ad? |
| 107 | |
| 108 | ### 2. Verify references exist on disk |
| 109 | |
| 110 | |
| 111 | ls "references/youtube thumbnail/" |
| 112 | |
| 113 | |
| 114 | If references are missing, ask the user to drop them. **Do not proceed with text-only |
| 115 | descriptions for brand-specific items** (logos, branded products, branded apparel) — you'll get |
| 116 | generic AI approximations that don't match the brand. Generic descriptions are OK for |
| 117 | backgrounds, expressions, and clothing. |
| 118 | |
| 119 | Then pick the ones that will be cited — 5+ face angles for character work, up to 14 in all |
| 120 | (see the cap section above). |
| 121 | |
| 122 | ### 3. Price the batch and confirm (MANDATORY) |
| 123 | |
| 124 | |
| 125 | curl -sS -X POST "$NOVOADS_BASE_URL/v1/estimates" \ |
| 126 | -H "Authorization: Bearer $NOVOADS_API_KEY" \ |
| 127 | -H 'Content-Type: application/json' \ |
| 128 | -d '{"kind":"image","model":"nano-banana-pro","prompt":"<one composed prompt>","numImages":1}' |
| 129 | |
| 130 | |
| 131 | It charges nothing, and it is the **only** legitimate source of a price. Multiply by the number of variations and |
| 132 | show the user the total against their `balance` before firing anything. Wait for an explicit |
| 133 | yes. |
| 134 | |
| 135 | Never quote a credit figure from memory, from `logs/novoads-api.jsonl`, or from |
| 136 | `MASTER_CONTEXT.md` — there are no credit numbers written down anywhere in this repo, on |
| 137 | purpose. **Name the model in the estimate body**: the image models' schedules differ by more |
| 138 | than 3×, and an estimate that omits `model` prices `gpt-image-2.5-sunburst`, understating a |
| 139 | `nano-banana-pro` batch. |
| 140 | |
| 141 | The call says nothing about the prompt — no endpoint on this API reads one for quality. Re-read |
| 142 | the prompt against the formula yourself before pricing: a batch runs the same shape N times, so |
| 143 | a flaw in it is paid for N times. |
| 144 | |
| 145 | ### 4. Pick a formula |
| 146 | |
| 147 | See `prompting/formulas.md` for the 5 proven formulas. |
| 148 | Match the user's intent: |
| 149 | |
| 150 | | User says... | Use formula | |
| 151 | |---|---| |
| 152 | | "Just me with my brand" / "branding thumbnail" | **Peace-sign / branding** | |
| 153 | | "Real vs AI" / "compare" / "before/after" | **Real vs AI comparison** | |
| 154 | | "Show the process" / "with the terminal" | **Terminal flow** | |
| 155 | | "Surprised face" / "shocked reaction" | **Reaction shock** | |
| 156 | | "Replace" / "alternative" / "swap out" | **Before/after split** | |
| 157 | |
| 158 | ### 5. Compose prompts |
| 159 | |
| 160 | Follow the template in `prompting/guide.md`: |
| 161 | |
| 162 | |
| 163 | YouTube thumbnail, 16:9 landscape. |
| 164 | [SUBJECT — likeness block + clothing + framing + "no hands" if applicable] |
| 165 | Expression: [specific expression from expressions cheat sheet] |
| 166 | [LEFT visual element + reference] |
| 167 | [RIGHT visual element + reference] |
| 168 | Across the top in massive bold yellow block letters with thick black outline reads [TITLE]. |
| 169 | Background: [color + glow] |
| 170 | Style: [aesthetic notes] |
| 171 | Avoid: distorted face, extra fingers, hands visible, blurry logos, generic face |
| 172 | |
| 173 | |
| 174 | **Always include the CRITICAL CHARACTER LIKENESS block** when the subject is a real person. It |
| 175 | and the references do different jobs: the refs fix what the face IS, the block fixes what the |
| 176 | prompt must not let drift. Neither substitutes for the other, so write both. |
| 177 | |
| 178 | Prompts are capped per generation; the API names the limit if you exceed it. Reference the uploaded images positionally ("the face in |
| 179 | the first reference image") — order is preserved. |
| 180 | |
| 181 | ### 6. Generate (use the batch script) |
| 182 | |
| 183 | Copy `scripts/generate-batch.sh` to a new versioned script (`scripts/generate-thumbnails-vN.sh`) |
| 184 | and modify: |
| 185 | |
| 186 | Update `REF_BASE` and `COMMON_REFS` (max 14 — the script's `REF_CAP`) with your reference file paths |
| 187 | Replace the `PROMPTS` array entries with your composed prompts |
| 188 | Run with `bash scripts/generate-thumbnails-vN.sh > output/run.log 2>&1 &` |
| 189 | Monitor with `tail -F output/run.log | grep -E "DONE|FAILED|charged"` |
| 190 | |
| 191 | The script handles: |
| 192 | Image preprocessing (Lanczos to 1080px longest side, RGB JPEG) |
| 193 | **Upload once, reuse the assetIds for every prompt in the batch** |
| 194 | Each call blocks ~60–90s and returns the image; one still going after about 105 s answers `running` and the script polls it (API 2.39.0) |
| 195 | Bounded parallelism (4 in flight, under the API's concurrency ceiling of 5) |
| 196 | Per-run credit total from each response's `creditsCharged` |
| 197 | |
| 198 | ### 7. Review and present |
| 199 | |
| 200 | After all generations complete, read each thumbnail with the Read tool and present: |
| 201 | |
| 202 | Brief verdict per thumbnail (likeness, readability, emotional impact) |
| 203 | Top 3 picks ranked by CTR potential |
| 204 | Specific reasons for the picks (which expression, which color contrast, which formula) |
| 205 | Offer next-step refinements (different expression, background color, copy variation) |
| 206 | **The total credits actually charged**, summed from the responses — not the estimate |
| 207 | |
| 208 | ## Quirks and pitfalls |
| 209 | |
| 210 | ### Reference assetIds are durable — reuse them |
| 211 | |
| 212 | This is the **opposite** of how the previous backend worked, where a reused reference caused |
| 213 | `HTTP 500 UNKNOWN_ERROR` and every generation needed a fresh upload. On Novoads, |
| 214 | `POST /v1/uploads` returns an `assetId` that keeps working across calls and across sessions. |
| 215 | Upload once per batch — or once per campaign — and reuse. Re-uploading the same face photo |
| 216 | produces a *different* id and quietly loses the anchor that was holding likeness steady. |
| 217 | |
| 218 | The presigned `uploadUrl` does expire (`expiresInSeconds` in the response), but that only |
| 219 | affects the PUT window, not the `assetId`. |
| 220 | |
| 221 | ### The signed upload headers must be echoed exactly |
| 222 | |
| 223 | `POST /v1/uploads` returns a `headers` object. The `PUT` must send those headers byte for byte — |
| 224 | Content-Type and Content-Length are both part of the URL signature, so storage answers `403` if |
| 225 | either differs, including an added `; charset=…`. Don't let an HTTP client infer the type. |
| 226 | |
| 227 | ### Image preprocessing is practice, not a documented requirement |
| 228 | |
| 229 | The old "images smaller than 1080px longest side return `422 — image too small`" rule was |
| 230 | specific to the previous backend and **has not been verified against Novoads**. The batch script |
| 231 | still upscales, because small references genuinely produce worse likeness — but do not report |
| 232 | the 422 claim to a user as an API rule. (Flagged for confirmation in the Phase 4 live smoke.) |
| 233 | |
| 234 | ### `referenceAssetIds` is an array of plain strings |
| 235 | |
| 236 | Not objects, and not file paths — the `assetId` values returned by `POST /v1/uploads`. |
| 237 | Maximum 14 on `nano-banana-pro`, which is the model this skill runs on. The other image |
| 238 | models are lower and the number does not travel: `reve-2.1` takes 8, `gpt-image-2` takes 4. |
| 239 | |
| 240 | ### Chat-pasted images are NOT files |
| 241 | |
| 242 | If the user pastes an image directly in chat, you cannot pass it to the API. Ask them to save |
| 243 | the actual file into a project folder. |
| 244 | |
| 245 | ### Likeness drift with too few references |
| 246 | |
| 247 | With 1-2 face references the AI generalizes to "generic bearded man with glasses." With 5+ face |
| 248 | references from different angles it locks in the specific person. **Always use 5+ face references |
| 249 | for character work.** For a series, use the rolling window described above. |
| 250 | |
| 251 | ### Concurrency is 5, not "as many as you like" |
| 252 | |
| 253 | The API allows 5 concurrent generations per organization. A 6th in flight returns `429` with |
| 254 | `details.reason: concurrency_limit` — and unlike the other 429 causes, **slowing your request |
| 255 | rate does not help**; only a finishing job frees a slot. The batch script caps itself at 4 in |
| 256 | flight for headroom. |
| 257 | |
| 258 | ### Do not blindly retry a failed generation |
| 259 | |
| 260 | There are no idempotency keys on this API, so resubmitting after a timeout or a `500` can |
| 261 | render and charge twice. Check `GET /v1/generations` for a job that already landed before |
| 262 | resubmitting. The batch script deliberately does not auto-retry. |
| 263 | |
| 264 | ### macOS bash 3.2 |
| 265 | |
| 266 | Default macOS bash doesn't support `declare -A` (associative arrays). The batch script uses |
| 267 | indexed arrays instead. |
| 268 | |
| 269 | ### Brand-specific items need actual reference files |
| 270 | |
| 271 | Text descriptions of brand-specific items (logos, branded apparel, custom merchandise) produce |
| 272 | generic approximations. For pixel-accurate brand reproduction, save the actual brand asset to |
| 273 | disk and cite it as one of your references. |
| 274 | |
| 275 | ## Cost |
| 276 | |
| 277 | There is no cost table in this file, deliberately. Every price comes from a live |
| 278 | `POST /v1/estimates` in the current session, shown to the user and approved before anything is |
| 279 | generated (see step 3). Report the real total from `creditsCharged` when the run finishes. |
| 280 | |
| 281 | `nano-banana-pro` costs more per image than `gpt-image-2`. If a batch is exploratory and the |
| 282 | concept doesn't depend on photoreal likeness, pricing both is worth the two estimates, which charge nothing. |
| 283 | |
| 284 | ## See also |
| 285 | |
| 286 | `prompting/guide.md` — likeness alignment, expressions, prompt structure |
| 287 | `prompting/formulas.md` — 5 proven CTR formulas with prompt templates |
| 288 | `scripts/generate-batch.sh` — the batch generator |
| 289 | the **`novoads-api`** skill — endpoint, upload flow, error codes, rate limits |
| 290 | the **`nano-banana-image-ad`** skill — the same model, pointed at Meta ad creatives |
| 291 |
Discussion
Alternatives
Browse more free Claude skills or everything in Content creator.


