explaingit

dsebastien/countries-cities-landmark-images-skills

2JavaScriptAudience · designerComplexity · 2/5ActiveLicenseSetup · easy

TLDR

Two Claude Code skills plus a Node script that call Google Gemini 3 Pro Image to make photo-realistic country posters and Earth-from-orbit landmark globes.

Mindmap

mindmap
  root((landmark-images-skills))
    Inputs
      Country name
      Prompt template
      Google API key
    Outputs
      Country poster
      Globe image
      JPEG file
    Use Cases
      School fair
      Blog covers
      Slide hero
    Tech Stack
      Node
      Gemini
      Claude Code

Things people build with this

USE CASE 1

Generate one cinematic country poster at golden hour with the national flag in the corner

USE CASE 2

Render an Earth-from-orbit hero shot with 3D miniature landmarks placed on each continent

USE CASE 3

Drop the SKILL.md folders into Claude Code so a phrase like make me an image for Japan triggers them

USE CASE 4

Edit an existing image with the nano-banana.mjs edit mode while keeping most of the frame intact

Tech stack

NodeGeminiClaude Code

Getting it running

Difficulty · easy Time to first run · 5min

Needs Node 18 and a paid Google AI Studio key, with cost of a few cents per 2K image.

MIT license, so you can use, modify, and redistribute it freely as long as you keep the copyright notice.

In plain English

This repository is a small toolkit for generating polished, photo-realistic AI images of countries, cities, and global landmarks. The original motivation, mentioned in the README, was a school fair where the author wanted a single striking picture per country instead of a mood-board of disconnected tourist photos. The same images would also suit blog covers, presentation slides, or travel-style spreads. There are two main pieces, called skills. The first, travel-country-poster, generates one blended cinematic photo per country or city at golden hour, with the country's famous landmarks fused into a single frame and the national flag billowing in the upper-left corner. The second, world-landmark-globe, produces a hero image of planet Earth seen from low orbit with 3D miniature landmarks standing on each continent at their real geographic locations. The examples folder shows several finished images for places like Paris, Tokyo, Italy, and various globe versions. Under the hood, both skills call a small Node.js script in scripts/nano-banana.mjs, which is a thin wrapper around Google's Gemini 3 Pro Image model (also known as Nano Banana Pro). The script supports two modes: generate for making a brand new image from a prompt, and edit for changing an existing image while keeping most of it intact. Command-line flags choose aspect ratio, size (up to 4K), output path, and model. The README warns that this is a paid Google API, costing cents per 2K image, and that the API returns JPEG bytes even if you ask for a PNG. You need Node.js 18 or newer and a Google AI Studio API key, set as the GOOGLE_BANANA_API_KEY environment variable. The skill folders are written in Claude Code's SKILL.md format and can be dropped into a user or project skills directory, after which Claude Code triggers them on phrases like "make me an image for Japan". They can also be read as plain prompt-engineering documentation: each one contains a fill-in-the-blanks template, a landmark library per country, style rules (always golden hour, spatial positioning words, a long negative tail to avoid text overlays), and iteration recipes. The project is MIT licensed and the example images carry Google's C2PA content credentials.

Copy-paste prompts

Prompt 1
Set GOOGLE_BANANA_API_KEY and run nano-banana.mjs generate to make a Paris poster at 4K
Prompt 2
Add a new country to the landmark library for the travel-country-poster skill and test it
Prompt 3
Help me adapt the style rules so the output is a flat illustration instead of photo-realistic
Prompt 4
Write a small wrapper that batches 20 country posters and saves them with the right filename
Prompt 5
Convert the returned JPEG bytes to PNG and strip C2PA credentials for a presentation export
Open on GitHub → Explain another repo

Generated 2026-05-22 · Model: sonnet-4-6 · Verify against the repo before relying on details.