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.
教程
Hermes AI team阅读约 5 分钟
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.
此提示词示例仅提供英文版。
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
POST /api/v1/jobs 的完整请求体。本站会按模型的输入 schema 校验,只展示 API 接受的请求。
{"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"}}| 字段 | 值 | 可选值 |
|---|---|---|
prompt | Studio product photo of a matte amber glass dr… | 最多 20,000 个字符 |
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.先提交任务,再轮询直到完成。把 HERMES_API_KEY 设为在 API Keys 中创建的 Key。 任务与结果
# 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.
教程
Hermes AI team阅读约 5 分钟
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.
教程
Hermes AI team阅读约 4 分钟
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.
图像FLUX 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.
图像Seedream 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.
音乐与音频Suno V5.5
suno-single-v5-5