# Nano Banana Pro > High-fidelity image generation with up to 4K resolution, multi-image fusion, advanced reasoning, and 95%+ character consistency for professional-quality visual content. ## Overview - **Model ID**: `nano-banana-pro` - **Category**: image - **Provider**: google - **Status**: model_ready - **Screenshot**: `https://assets.modelslab.com/generations/c23be51f-6419-4b18-ad7a-39b74a34ccdf.webp` ## API Information This model can be used via our HTTP API. See the API documentation and usage examples below. ### Endpoint - **URL**: `https://modelslab.com/api/v7/images/image-to-image` - **Method**: POST ### Parameters - **`prompt`** (required): Describe in text how the image that need to be generated should appear. - Type: textarea - **`model_id`** (optional): Model id - Type: text - **`init_image`** (required): You can edit upto 14 images in single generation - Type: array - **`aspect_ratio`** (required): Select the aspect ratio - Type: select (options: 1:1, 9:16, 2:3, 3:4, 4:5, 5:4, 4:3, 3:2, 16:9, 21:9) ## Usage Examples ### cURL ```bash curl --request POST \ --url https://modelslab.com/api/v7/images/image-to-image \ --header "Content-Type: application/json" \ --data '{ "key": "YOUR_API_KEY", "model_id": "nano-banana-pro", "prompt": "The girl in image 1 and the dog in image 2 together in same frame, in living room, sofa in the background", "aspect_ratio": "1:1" }' ``` ### Python ```python import requests response = requests.post( "https://modelslab.com/api/v7/images/image-to-image", headers={ "Content-Type": "application/json" }, json={ "key": "YOUR_API_KEY", "model_id": "nano-banana-pro", "prompt": "The girl in image 1 and the dog in image 2 together in same frame, in living room, sofa in the background", "aspect_ratio": "1:1" } ) print(response.json()) ``` ### JavaScript ```javascript fetch("https://modelslab.com/api/v7/images/image-to-image", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ "key": "YOUR_API_KEY", "model_id": "nano-banana-pro", "prompt": "The girl in image 1 and the dog in image 2 together in same frame, in living room, sofa in the background", "aspect_ratio": "1:1" }) }) .then(response => response.json()) .then(data => console.log(data)); ``` ## Links - [Model Playground](https://modelslab.com/models/nano-banana-pro-image-edit/nano-banana-pro) - [API Documentation](https://docs.modelslab.com) - [ModelsLab Platform](https://modelslab.com)