Generate images with the Nano Banana Pro API
Submit a Nano Banana Pro image task, poll it until it finishes and download the result, with the exact request body the model's schema accepts.
Tutorial
Hermes AI team5 min read
A studio product photo prompt for Nano Banana Pro text to image, with the label text spelled out and a 4:5 frame for social feeds.
This prompt example is available in English only.
Studio product photo of a matte amber glass dropper bottle on a seamless warm grey backdrop. Soft key light from the upper left, a gentle shadow to the right, a thin rim light on the glass. Shot on a 100mm macro lens at eye level, centered with generous space above. The paper label reads "Night Serum" in a clean serif and "30 ml" underneath in small caps.
input.prompt
The exact body for POST /api/v1/jobs. The site checks it against the model's input schema and only shows requests the API accepts.
{"model": "nano-banana-pro-text-to-image-economy","input": {"prompt": "Studio product photo of a matte amber glass dropper bottle on a seamless warm grey backdrop. Soft key light from the upper left, a gentle shadow to the right, a thin rim light on the glass. Shot on a 100mm macro lens at eye level, centered with generous space above. The paper label reads \"Night Serum\" in a clean serif and \"30 ml\" underneath in small caps.","aspectRatio": "4:5","resolution": "2k"}}| Champ | Valeur | Allowed values |
|---|---|---|
prompt | Studio product photo of a matte amber glass dr… | Up to 20 000 characters |
aspectRatio | 4:5 | 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 5:4, 4:5, 21:9 |
resolution | 2k | 1k, 2k, 4k |
The prompt names the subject, the surface, the light and the camera in that order, then quotes the exact words that should appear on the label. Quoting on-image text keeps it from being paraphrased.
aspectRatio is set to 4:5. Without it, this variant defaults to 9:16.resolution is 2k. The options are 1k, 2k and 4k, and the price depends on it; compare them on the pricing tab.imageUrls. The Nano Banana Pro tutorial shows that request.Submit the task, then poll it until it finishes. Set HERMES_API_KEY to a key from API keys. Tâches et résultats
# 1. Submit the task (asynchronous; returns 202 with a task id)curl -X POST https://api.hermes-ai.net/api/v1/jobs \-H "Authorization: Bearer $HERMES_API_KEY" \-H "Content-Type: application/json" \-H "Idempotency-Key: $(uuidgen)" \-d '{"model": "nano-banana-pro-text-to-image-economy","input": {"prompt": "Studio product photo of a matte amber glass dropper bottle on a seamless warm grey backdrop. Soft key light from the upper left, a gentle shadow to the right, a thin rim light on the glass. Shot on a 100mm macro lens at eye level, centered with generous space above. The paper label reads \"Night Serum\" in a clean serif and \"30 ml\" underneath in small caps.","aspectRatio": "4:5","resolution": "2k"}}'# 2. Poll until status is succeeded, failed or reconciliation_requiredcurl https://api.hermes-ai.net/api/v1/jobs/TASK_ID \-H "Authorization: Bearer $HERMES_API_KEY"Submit a Nano Banana Pro image task, poll it until it finishes and download the result, with the exact request body the model's schema accepts.
Tutorial
Hermes AI team5 min read
Connect Claude Code to the Hermes AI API MCP server, sign in with OAuth, and let it find a model, run a task and fetch the result for you.
Tutorial
Hermes AI team4 min read
Minimal editorial poster for a jazz night. Top third: the headline "Late Set" in a tall condensed sans serif, off-white on deep navy. Middle: a single brass trumpet lit from the side, its shadow falling across the page. Bottom: a thin rule and the line "Fridays from 9 pm" in small caps. Flat print look, subtle paper grain, lots of empty space.
ImageFLUX 3
flux-3-text-to-image
Isometric cutaway of a small home studio at night: a wooden desk with two monitors, a synthesizer keyboard, a tall bookshelf, a potted monstera and a warm desk lamp. Soft pastel palette with teal and peach accents, clean edges, gentle ambient occlusion, plain light background.
ImageSeedream 5.0
seedream-5-0-pro-text-to-image
Mellow lo-fi hip hop at about 75 BPM for studying: dusty vinyl crackle, soft Rhodes chords, a muted upright bass, lazy swung drums and light rain in the background. Calm and warm, no vocals.
Musique et audioSuno V5.5
suno-single-v5-5