界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
效率与协作 · SKILL.md

nano-banana-pro-edit

nano-banana-pro-edit

【效率与协作】Nano Banana Pro | Edit. Edit images with up to 4K resolution and multiple aspect ratios. Triggers: image editing, nano banana, photo edit, inpainting

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: nano-banana-pro-edit description: "Nano Banana Pro | Edit. Edit images with up to 4K resolution and multiple aspect ratios. Triggers: image editing, nano banana, photo edit, inpainting" allowed-tools: Bash(curl *), WebFetch

Nano Banana Pro | Edit

Edit images with Nano Banana Pro. Supports multiple aspect ratios, up to 4K resolution, and batch generation with an experimental generation limiter.

Quick Start

Requires an each::labs API key. Get one at eachlabs.ai.

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-pro-edit",
    "version": "0.0.1",
    "input": {
      "prompt": "add colorful graffiti art to the wall",
      "image_urls": ["https://example.com/wall.jpg"],
      "aspect_ratio": "16:9",
      "resolution": "1K"
    }
  }'

Parameters

ParameterTypeDefaultDescription
aspect_ratiostring1:1The aspect ratio of the generated image. enum: auto, 21:9, 16:9, 3:2, 4:3, 5:4, 1:1, 4:5, 3:4, 2:3, 9:16
image_urlsarrayThe URLs of the images for editing.
limit_generationsbooleanfalseExperimental parameter to limit the number of generations per round.
num_imagesinteger1The number of images to generate.
output_formatstringpngThe format of the generated image. enum: jpeg, png, webp
promptstringThe prompt for image editing.
resolutionstring1KThe resolution of the image to generate. enum: 1K, 2K, 4K

Examples

High-res style transfer:

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-pro-edit",
    "version": "0.0.1",
    "input": {
      "prompt": "transform into Studio Ghibli animation style, dreamy atmosphere",
      "image_urls": ["https://example.com/countryside.jpg"],
      "aspect_ratio": "16:9",
      "resolution": "2K",
      "output_format": "png"
    }
  }'

Batch editing with auto aspect:

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-pro-edit",
    "version": "0.0.1",
    "input": {
      "prompt": "add soft bokeh lights in the background",
      "image_urls": ["https://example.com/portrait.jpg"],
      "aspect_ratio": "auto",
      "num_images": 3,
      "resolution": "1K"
    }
  }'

Related Models

Documentation

我的收藏