Loading...
Loading...
Create banners using AI image generation. Discuss format/style, generate variations, iterate with user feedback, crop to target ratio. Use when user wants to create a banner, header, hero image, or cover image.
npx skill4agent add resciencelab/opc-skills banner-creatorGEMINI_API_KEYnanobanana.skill-archive.skill-archive/banner-creator/<yyyy-mm-dd-summaryname>/.skill-archive/banner-creator/2026-01-19-opc-banner/
banner-01.png
banner-02.png
...
banner-03-cropped.png
preview.html2:13:116:9nanobanana# Generate single banner
python3 <nanobanana_skill_dir>/scripts/generate.py "{style} banner for {brand}, {description}, {text elements}" \
--ratio 21:9 -o .skill-archive/banner-creator/<date-name>/banner-01.png
# Batch generate 20 banners
python3 <nanobanana_skill_dir>/scripts/batch_generate.py "{style} banner for {brand}, {description}, {text elements}" \
-n 20 --ratio 21:9 -d .skill-archive/banner-creator/<date-name> -p banner21:9banner-01.pngbanner-02.pngpython3 <nanobanana_skill_dir>/scripts/generate.py "add {logo character} to the left side of the banner" \
-i /path/to/existing-logo.png --ratio 21:9 -o banner-with-logo.pngcp <skill_dir>/templates/preview.html .skill-archive/banner-creator/<yyyy-mm-dd-summaryname>/preview.htmlopen .skill-archive/banner-creator/<yyyy-mm-dd-summaryname>/preview.htmlbanner-{original}-v{n}.pngbanner-03-v1.pngpython3 <skill_dir>/scripts/crop_banner.py {input.png} {output.png} --ratio 2:1 --width 1280--ratio 2:1 --width 1280--ratio 3:1 --width 1500--ratio 16:9 --width 1920## Final Banner Assets
| File | Description | Size |
|------|-------------|------|
| banner-03.png | Original (21:9) | 2016x864 |
| banner-03-cropped.png | GitHub README (2:1) | 1280x640 |
All files saved to: `.skill-archive/banner-creator/<yyyy-mm-dd-summaryname>/`
Copy final banner to user's desired location.Wide banner for {brand}, {style} style, featuring "{text}" prominently displayed, {colors}, {scene/elements}Wide banner featuring {character description}, {style} style, {scene}, text "{brand name}" on {position}, {colors}Abstract {style} banner, {colors} gradient, geometric patterns, modern tech feel, text "{brand}" centered{Style} illustration banner, {scene description}, {character} in {action}, "{brand}" text overlay, {colors}21:916:93:2