npx skills add ...
npx skills add inference-sh/skills --skill nano-banana-2
Generate images with Google Gemini 3.1 Flash Image Preview (Nano Banana 2) via inference.sh CLI. Capabilities: text-to-image, image editing, multi-image input (up to 14 images), Google Search grounding. Triggers: nano banana 2, nanobanana 2, gemini 3.1 flash image, gemini 3 1 flash image preview, google image generation
npx skills add inference-sh/skills --skill nano-banana-2
Install the belt CLI skill:
npx skills add belt-sh/cli
Generate images with Google Gemini 3.1 Flash Image Preview via inference.sh CLI.
Requires inference.sh CLI (
belt). Install instructions
| Parameter | Type | Description |
|---|---|---|
prompt | string | Required. What to generate or change |
images | array | Input images for editing (up to 14). Supported: JPEG, PNG, WebP |
num_images | integer | Number of images to generate |
aspect_ratio | string | Output ratio: "1:1", "16:9", "9:16", "4:3", "3:4", "auto" |
resolution | string | "1K", "2K", "4K" (default: 1K) |
output_format | string | Output format for images |
enable_google_search | boolean | Enable real-time info grounding (weather, news, etc.) |
| Field | Type | Description |
|---|---|---|
images | array | The generated or edited images |
description | string | Text description or response from the model |
output_meta | object | Metadata about inputs/outputs for pricing |
Styles: photorealistic, illustration, watercolor, oil painting, digital art, anime, 3D render
Composition: close-up, wide shot, aerial view, macro, portrait, landscape
Lighting: natural light, studio lighting, golden hour, dramatic shadows, neon
Details: add specific details about textures, colors, mood, atmosphere
Browse all image apps: belt app list --category image