executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
nano-banana-2-text-to-imageNano 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
Generate images from text descriptions with support for resolutions up to 4K, multiple aspect ratios, and various output formats.
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"
}
}'
| Parameter | Type | Default | Description |
|---|---|---|---|
| aspect_ratio | string | 1:1 | Aspect ratio. enum: 1:1, 3:2, 2:3, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 21:9 |
| limit_generations | boolean | true | Experimental parameter to limit generations from each processing round. |
| num_images | integer | 1 | Number of images to generate. |
| output_format | string | png | Output image format. enum: jpeg, png, webp |
| prompt | string | The text prompt to generate an image from. | |
| resolution | string | 1K | Resolution of the generated image. enum: 1K, 2K, 4K |
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"
}
}'