L’interface est localisée ; les présentations et documents des Skills sont traduits automatiquement par IA dans votre langue. Le code, les commandes, chemins et termes techniques restent en version originale, et le document de l’auteur fait foi.
Explorer les Skills
Productivité · SKILL.md

nano-banana-2-text-to-image

nano-banana-2-text-to-image

Nano Banana 2 | Text to Image. Generate images from text prompts at up to 4K resolution with multiple aspect ratios. Triggers: text to image, nano banana, generate image, t2i

Independent GitHub snapshot · Automated classification · Original documentation governs

Documentation de la Skill

GitHub

name: nano-banana-2-text-to-image description: "Nano Banana 2 | Text to Image. Generate images from text prompts at up to 4K resolution with multiple aspect ratios. Triggers: text to image, nano banana, generate image, t2i" allowed-tools: Bash(curl *), WebFetch

Nano Banana 2 | Text to Image

Generate images from text descriptions with support for resolutions up to 4K, multiple aspect ratios, and various output formats.

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-2-text-to-image",
    "version": "0.0.1",
    "input": {
      "prompt": "A majestic castle on a cliff overlooking the ocean at sunset",
      "aspect_ratio": "16:9",
      "resolution": "2K"
    }
  }'

Parameters

ParameterTypeDefaultDescription
aspect_ratiostring1:1Aspect ratio. enum: 1:1, 3:2, 2:3, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 21:9
limit_generationsbooleantrueExperimental parameter to limit generations from each processing round.
num_imagesinteger1Number of images to generate.
output_formatstringpngOutput image format. enum: jpeg, png, webp
promptstringThe text prompt to generate an image from.
resolutionstring1KResolution of the generated image. enum: 1K, 2K, 4K

Examples

High-resolution landscape:

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-2-text-to-image",
    "version": "0.0.1",
    "input": {
      "prompt": "A serene Japanese zen garden with cherry blossoms and a koi pond",
      "aspect_ratio": "16:9",
      "resolution": "4K",
      "output_format": "png"
    }
  }'

Multiple portrait images:

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-2-text-to-image",
    "version": "0.0.1",
    "input": {
      "prompt": "A fantasy elf warrior in enchanted forest, detailed armor, cinematic lighting",
      "aspect_ratio": "9:16",
      "num_images": 3,
      "resolution": "2K",
      "output_format": "jpeg"
    }
  }'

Ultrawide cinematic shot:

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-2-text-to-image",
    "version": "0.0.1",
    "input": {
      "prompt": "A futuristic megacity skyline at night with flying vehicles and holographic billboards",
      "aspect_ratio": "21:9",
      "resolution": "2K"
    }
  }'

Related Models

Documentation

Skills enregistrées