Google · Image

Hermes Agent x Nano Banana

Nano Banana is Google's image model embedded in Gemini, purpose-built for fast generation with in-image text accuracy. Through RunAPI, all Nano Banana variants share a single key.

5 variants from $0.04 / call Commercial OK

Prerequisite: npx runapi mcp install

Prompt

Prompt models

Use nano-banana when it matches the task: 1K resolution; fast baseline (Aug 2025).

You have access to RunAPI task tools for Nano Banana.

Available Nano Banana models:
- nano-banana: 1K resolution; fast baseline (Aug 2025)
  endpoints: /api/v1/nano_banana/text_to_image
  request fields: model, prompt, aspect_ratio
- nano-banana-2: Built on Gemini 3.1 Flash; best multi-character consistency, 4–8s
  endpoints: /api/v1/nano_banana/text_to_image
  request fields: model, prompt, aspect_ratio
- nano-banana-2-lite: Fastest, lowest-cost Nano Banana image model for rapid creation and iteration
  endpoints: /api/v1/nano_banana/edit_image, /api/v1/nano_banana/text_to_image
  request fields: model, prompt, aspect_ratio
- nano-banana-edit: Prompt-driven image editing from an existing image
  endpoints: /api/v1/nano_banana/edit_image
  request fields: model, prompt, source_image_urls
- nano-banana-pro: Built on Gemini 3 Pro; up to 4K resolution, best text rendering, 10–20s
  endpoints: /api/v1/nano_banana/text_to_image
  request fields: model, prompt, aspect_ratio

Use the model ID and endpoint that match the user's request.
Example prompt: Create a motivational poster with the text 'Never Give Up' in bold serif, sunset mountains in the background.
/api/v1/nano_banana/text_to_image: Submit the task, poll for its status, then verify the completed output. POST /api/v1/nano_banana/text_to_image and save the returned Task id.
GET /api/v1/nano_banana/text_to_image/<task-id> until status is completed or failed.
Verify the completed response contains the endpoint-specific output documented in the API reference.
/api/v1/nano_banana/edit_image: Submit the task, poll for its status, then verify the completed output. POST /api/v1/nano_banana/edit_image and save the returned Task id.
GET /api/v1/nano_banana/edit_image/<task-id> until status is completed or failed.
Verify the completed response contains the endpoint-specific output documented in the API reference.

Public Versions and Endpoints

Model ID Endpoints Price Catalog
nano-banana
/api/v1/nano_banana/text_to_image
$0.04 / call Model detail
nano-banana-2
/api/v1/nano_banana/text_to_image
$0.08 / call Model detail
nano-banana-2-lite
/api/v1/nano_banana/edit_image /api/v1/nano_banana/text_to_image
$0.04 / call Model detail
nano-banana-edit
/api/v1/nano_banana/edit_image
$0.04 / call Model detail
nano-banana-pro
/api/v1/nano_banana/text_to_image
$0.18 / call Model detail

Verify

Poll until the task reaches a terminal status

Select <model-id> to generate verification commands.

Configuration

Guide endpoint: <endpoint>

Select <model-id> to generate a request with the endpoint's public input contract.
How it works

Get Started in 3 Steps

  1. Choose a model ID

    Select a public catalog model ID and review its endpoint and current starting price.

  2. Configure RunAPI

    Set RUNAPI_API_KEY before making the endpoint request.

  3. Verify the result

    For asynchronous endpoints, poll the same endpoint until the Task reaches a terminal status.

What to Build with Hermes Agent + Nano Banana

  • E-commerce product catalog imagery

    Generate consistent product photography for a whole catalog, with the same lighting, angles, and brand style.

  • UI mockups and packaging concepts

    Turn written design briefs into visual mockups for apps, packaging, or physical products.

  • Blog illustrations and branded series

    Create a consistent visual series for blog posts or social campaigns, keeping the same style across many images.

Why Use Nano Banana Through RunAPI + Hermes Agent

  • 5 variants, one API key

    Use one RunAPI connection to choose among the live model variants without changing your integration.

  • Clear usage pricing

    See current catalog pricing before you send a request, with no subscription or minimum spend required.

  • Automatic task workflows

    Submit, poll, and collect asynchronous results through a consistent task workflow without writing manual polling code.

Hermes Agent + Nano Banana Questions

How do I switch between generation and editing in Hermes Agent?

Call the generation endpoint for new images and the edit endpoint with a source image for changes. Both use the same RunAPI provider and API key.

Does Hermes Agent need ComfyUI or a GPU to use Nano Banana?

No. RunAPI runs the model server-side. Send a prompt and receive an image URL, with no ComfyUI workflow or local GPU.

Can Nano Banana render readable text in images?

Yes. Include the exact words in the prompt and the model handles placement and legibility, which many diffusion models struggle with.

Which model ID should I use?

Choose a public model ID from the version table. Each ID exposes the endpoints shown for that version.

Does this guide configure a chat model?

No. This Model Line uses the endpoint workflow shown here and is not presented as an agent chat model.

Start using Nano Banana with Hermes Agent

Building with a team?

We're here to help with enterprise setup, integrations, and technical questions.

Contact Us