透過 inference.sh CLI 使用 Google Gemini 3.1 Flash Image Preview 產生令人驚艷的圖像。支援文字生成圖像、支援最多 14 張輸入圖像的圖像編輯、自訂長寬比、最高 4K 解析度,以及用於即時資訊的 Google Search 基礎功能。
下載技能 ZIP
在 Claude 中上傳
前往 設定 → 功能 → 技能 → 上傳技能
開啟並開始使用
測試它
正在使用「nano-banana-2」。 Generate an image of a banana in space, photorealistic
預期結果:
返回生成的圖像 URL 及描述元資料,顯示 AI 生成的香蕉在太空中飄浮,具有逼真的光線和紋理
正在使用「nano-banana-2」。 Generate 4 minimalist logo designs for a coffee shop with 1:1 aspect ratio
預期結果:
返回 4 種不同的正方形格式標誌變體,每種都具有適合咖啡品牌的獨特設計元素
安全審計
安全All static findings are false positives. The skill is a documentation wrapper for inference.sh CLI to generate images using Google Gemini 3.1. The backticks flagged are markdown code fences, not Ruby execution. URLs point to legitimate inference.sh documentation. No cryptographic code exists.
高風險問題 (3)
風險因素
⚙️ 外部命令 (25)
🌐 網路存取 (5)
品質評分
你能建構什麼
快速圖像生成
從文字提示生成單張圖像,用於內容創作、社群媒體或原型設計
圖像編輯與變體
透過提供輸入圖像和修改提示來編輯現有圖像或生成變體版本
研究與視覺化
使用 Google Search 基礎功能來視覺化時事、天氣或即時資料
試試這些提示
Use the nano-banana-2 skill to generate an image of a futuristic cityscape at sunset with flying cars
Use nano-banana-2 to create a minimalist logo design for a coffee shop in vector style with 1:1 aspect ratio
Use nano-banana-2 to edit the image at https://example.com/landscape.jpg by adding a rainbow in the sky
Use nano-banana-2 to generate a 4K resolution illustration of the current weather in Tokyo visualized as an artistic scene with Google Search enabled
最佳實務
- 在提示中保持具體和詳細以獲得更好的結果 - 包含風格、光線、構圖和氛圍細節
- 根據使用情況選擇合適的長寬比(1:1 適用於社群媒體、16:9 適用於寬幅橫幅、9:16 適用於限時動態)
- 從較低解析度(1K)開始以加快迭代速度,然後升級到 4K 作為最終輸出
避免
- 避免使用模糊的提示如「做些酷的東西」- 請具體說明主題、風格和氛圍
- 不要提供超過 14 張輸入圖像進行編輯,因為這會導致失敗
- 避免對純虛構的主題使用 enable_google_search,因為它可能與提示意圖衝突
常見問題
什麼是 inference.sh?我需要帳戶嗎?
我可以一次編輯多張圖像嗎?
我應該使用什麼解析度?
Google Search 基礎功能如何運作?
支援哪些輸入圖像格式?
我可以在一次請求中生成多張圖像嗎?
開發者詳情
檔案結構
📄 SKILL.md