<- all tokdocs

Generating Perfect Images in Claude Code with Nano Banana

Watch on TikTok

View on TikTok ->

Claude Code can generate images, but the results depend heavily on how you set up the prompting pipeline. This walkthrough shows a method that uses the MCP Builder skill combined with a curated prompt library called Nano Banana to produce consistently high-quality image outputs.

Setting Up the MCP Builder Skill

The first step is installing and configuring the MCP Builder Claude skill. This skill acts as the bridge between Claude Code and external image generation tools. Once it is active in your Claude Code environment, you can use it to create custom MCP configurations for specific tools.

Title screen showing "How to make Images/Ads in Claude Code"

Connecting Nano Banana

After the MCP Builder skill is set up, prompt it to create an MCP for Nano Banana. Nano Banana is an image generation tool, and there is a public GitHub repository containing roughly 6,000 curated prompts that it can reference when generating images.

GitHub repository for the MCP Builder skill showing the awesome-claude-skills repo

Navigate to the GitHub repo and give Nano Banana access to this prompt library. The prompts serve as templates and reference points, which is what makes the outputs more reliable than writing prompts from scratch.

GitHub repo for nano-banana-pro-prompts-recommend-skill with file listing

Generating Images

Once Nano Banana has the prompt library loaded, it asks a series of personalized questions about what you want to create. Answer those questions, and the tool generates images tailored to your specific scene and style requirements.

The example in the video shows a photorealistic outdoor scene: a POV shot of someone working on a laptop with a Claude Code terminal, sitting at a slatted metal table in a forest clearing at dusk, complete with a campfire and pine needles.

Generated image showing a hyper-realistic outdoor scene with a laptop, campfire, and forest backdrop alongside the detailed prompt used to create it

Key Takeaways

  • The MCP Builder skill connects Claude Code to external image generation tools like Nano Banana
  • A curated library of 6,000+ prompts provides templates that produce more consistent results than ad-hoc prompting
  • The workflow is interactive: Nano Banana asks personalized questions before generating, which narrows down the output to match your intent

Resources

Published May 25, 2026. Writeup generated from a favorited TikTok.