Nano banana edit

From awesome-genmedia/skills · View interactive version

Nano banana edit is an AI agent skill from the GitHub repository awesome-genmedia/skills. Edit images using Nano Banana. Trigger: Use when the user wants to edit images with Nano Banana, or requests 'nano banana edit', 'quick image edit', or 'fast AI image editing'.

How to use this skill

Skill file

Nano Banana | Edit

Edit existing images using text prompts with Nano Banana. Supports multiple aspect ratios including automatic detection from the input image.

Quick Start

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "nano-banana-edit",
    "version": "0.0.1",
    "input": {
      "prompt": "Change the sky to a dramatic sunset with orange and purple clouds",
      "image_urls": ["https://example.com/landscape.jpg"],
      "aspect_ratio": "auto",
      "num_images": 1,
      "output_format": "jpeg"
    }
  }'

Parameters

| Parameter | Type | Default | Description |

|-----------|------|---------|-------------|

| aspect_ratio | string | 1:1 | Aspect ratio. Options: 21:9, 1:1, 4:3, 3:2, 2:3, 5:4, 4:5, 3:4, 16:9, 9:16, auto |

| image_urls | array | false | URLs of images to edit |

| limit_generations | boolean | true | Experimental parameter to limit generations per processing round |

| num_images | integer | 1 | Number of images to generate |

| output_format | string | jpeg | Output format. Options: jpeg, png |

| prompt | string | false | Text prompt for image editing |

Output

Examples

Background Change

{
  "model": "nano-banana-edit",
  "version": "0.0.1",
  "input": {
    "prompt": "Replace the background with a futuristic cityscape at night",
    "image_urls": ["https://example.com/portrait.jpg"],
    "aspect_ratio": "auto",
    "output_format": "png"
  }
}

Style Modification

{
  "model": "nano-banana-edit",
  "version": "0.0.1",
  "input": {
    "prompt": "Transform into a watercolor painting style",
    "image_urls": ["https://example.com/photo.jpg"],
    "aspect_ratio": "4:3",
    "num_images": 2,
    "output_format": "jpeg"
  }
}

Related Models

Documentation

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.