Install
openclaw skills install youtube-cover-nano-bananaCreate high-converting YouTube thumbnail concepts, overlay text, image prompts, and optional AI-generated cover images from raw titles, hooks, scripts, or ma...
openclaw skills install youtube-cover-nano-bananaAnalyze the user's text first. Then turn it into a thumbnail concept that is visually simple, emotionally obvious, and readable at small sizes.
Generate English image prompts for nano banana unless the user explicitly asks for another language. Keep reasoning grounded in YouTube thumbnail performance rather than generic poster design.
Use scripts/create_thumbnail.py for the full workflow when local script execution is available. It first calls Gemini text generation to turn source copy into a thumbnail plan, then optionally calls the official Gemini Nano Banana image endpoint. The scripts expect GEMINI_API_KEY or GOOGLE_API_KEY.
Pull out:
If the user only gives raw copy, infer the thumbnail angle from the strongest claim instead of mirroring the entire text.
Prefer one dominant idea. Use one of these visual strategies:
Reject cluttered multi-idea compositions unless the user explicitly wants a collage.
Write overlay text that is:
Do not place paragraphs, subtitles, or detailed bullet points inside the image prompt.
Produce a prompt with these properties:
Explicitly describe:
Use the template and examples in youtube-thumbnail-patterns.md when you need help selecting the structure.
Call nano banana with the final prompt after the concept is coherent.
For the full automated workflow, run:
python3 scripts/create_thumbnail.py \
--copy "Man fights tiger" \
--generate-image \
--output-json "outputs/thumbnail-plan.json" \
--image-output "outputs/generated-thumbnail.png"
This script:
angle, overlay_text, prompt, and generation_notesIf local script execution is available, run:
python3 scripts/generate_image.py \
--prompt "<final english prompt>" \
--angle "<angle>" \
--overlay-text "<overlay text>" \
--output "outputs/generated-thumbnail.png"
The script calls Gemini's official gemini-2.5-flash-image endpoint and saves:
If tool calling or script execution is not available, still return the exact prompt plus a short note on what to generate.
Before finalizing, check for the common failure modes:
If a failure mode is present, revise the prompt once before returning it.
Return four blocks in this order:
Angle: one sentence describing the thumbnail ideaOverlay Text: short text for the coverNano Banana Prompt: the exact English promptGeneration Notes: one short sentence with any critical instruction or fallbackAsk a brief follow-up only when a missing detail would materially change the output, such as:
Otherwise, make reasonable assumptions and proceed.
Use create_thumbnail.py for end-to-end copy-to-thumbnail generation.
Use generate_image.py to call Nano Banana directly and save output files.
Use youtube-thumbnail-patterns.md for prompt scaffolds, angle selection rules, and example transformations from raw copy to thumbnail prompt.
Use publishing-contract.md as the integration contract for callers that need stable command behavior, output JSON, and exit codes.