技能 nano-banana
🍌

nano-banana

安全 ⚙️ 外部命令🌐 網路存取

使用 Google Gemini 模型產生 AI 圖片

也可從以下取得: inference-sh-9

透過 inference.sh CLI 使用 Google Gemini 3 Pro 和 Gemini 2.5 Flash 模型產生高品質圖片。支援文字生成圖片、多張圖片編輯、自訂長寬比以及最高 4K 解析度輸出。

支援: Claude Codex Code(CC)
🥉 73 青銅
1

下載技能 ZIP

2

在 Claude 中上傳

前往 設定 → 功能 → 技能 → 上傳技能

3

開啟並開始使用

測試它

正在使用「nano-banana」。 Generate an image of a banana floating in space, photorealistic style

預期結果:

圖片生成命令執行並返回一個指向產生圖片檔案的網址,顯示一張超寫實風格的香蕉漂浮在星空背景中的圖片,具有正確的光線和陰影。

正在使用「nano-banana」。 Create 4 minimalist logo designs for a coffee shop

預期結果:

命令產生 4 個不同的圖片網址,每個都包含不同的極簡主義標誌詮釋,融入咖啡相關元素如杯子、豆子或蒸汽,採用簡潔的幾何風格。

安全審計

安全
v1 • 3/5/2026

All 40 static findings are false positives. The detected patterns are documentation examples in markdown format, not executable code. Bash commands in code examples demonstrate legitimate CLI usage for the inference.sh tool. URLs are reference documentation links. No prompt injection attempts or security risks detected.

1
已掃描檔案
145
分析行數
2
發現項
1
審計總數
審計者: claude

品質評分

38
架構
100
可維護性
87
內容
50
社群
100
安全
83
規範符合性

你能建構什麼

行銷視覺創作

使用詳細的文字提示為行銷活動、社群媒體貼文和促銷素材產生自訂視覺效果。

概念藝術與分鏡

快速為創意專案和預視覺化建立概念藝術、角色設計和分鏡畫面。

圖片修改工作流程

透過新增元素、改變風格或強化內容來編輯現有圖片,同時保留原始構圖。

試試這些提示

基本圖片生成
Generate an image of a [subject] in [style] style, with [lighting] lighting
多圖片生成
Create 4 variations of a [subject] with different [artistic style] interpretations
圖片編輯
Edit this image: [image URL]. Change [specific element] to [new element], keep the rest of the image unchanged
高解析度全景圖
Generate a 16:9 aspect ratio image of [scene description] at 4K resolution with photorealistic quality

最佳實務

  • 在提示中保持具體和詳細以獲得更好的結果 - 包含風格、構圖、光線和情緒描述
  • 為您的預期用途選擇適當的長寬比 - 16:9 適用於風景,1:1 適用於社群媒體,9:16 適用於行動裝置
  • 先使用 Gemini 2.5 Flash 進行更快的迭代,然後使用 Gemini 3 Pro 產生最終的高解析度輸出

避免

  • 不要使用模糊的提示如「一張漂亮的圖片」,而不指定風格、主體或構圖細節
  • 避免請求超過需要的圖片數量 - 先從 1-2 張圖片測試提示,再產生更大的批次
  • 不要忘記在嘗試任何圖片生成命令之前先執行 infsh login

常見問題

Gemini 3 Pro 和 Gemini 2.5 Flash 有什麼區別?
Gemini 3 Pro 產生最高品質的圖片但執行速度較慢。Gemini 2.5 Flash 可以快速產生優異品質的圖片。將 Flash 用於迭代,Pro 用於最終輸出。
使用此技能前需要安裝任何東西嗎?
是的,您需要安裝 inference.sh CLI。執行 npx skills add inference-sh/skills@agent-tools 取得安裝說明,然後執行 infsh login 進行驗證。
我可以透過此技能編輯現有圖片嗎?
是的,請在 images 參數中提供圖片網址,並附上描述變更的提示。每次請求最多可包含 14 張輸入圖片。
支援哪些圖片格式和解析度?
Gemini 3 Pro 支援 1K、2K 和 4K 解析度。兩個模型都支援多種長寬比,包括 1:1、16:9、9:16、4:3、3:4 和 auto。
一次可以產生多少張圖片?
使用 num_images 參數在單一請求中產生多張圖片。這對於建立相同提示的變體非常有用。
什麼是 Google Search grounding?
啟用 Google Search grounding 並設定 enable_google_search: true,讓模型存取即時資訊,以獲得更準確的當前事件或事實視覺化。

開發者詳情

檔案結構

📄 SKILL.md