Generate photorealistic images and perform precise multi-image blending and natural language-driven edits with low latency and consistent character retention, supporting up to 3,000 images per prompt and multiple aspect ratios.
API Endpoint URL
Base URL for all API requests to this endpoint.
https://modelslab.com/api/v7/images/image-to-image
API Authentication
Authentication requires a valid API key included in the request. Generate and manage your API keys from your developer dashboard. Include the key in the key parameter for all API requests.
Integration Examples
Production-ready code samples for API integration
{"prompt": "girl from image one wearing dress from image two","model_id": "nano-banana","init_image": "https://assets.modelslab.com/generations/15ef5a61-7afa-4a94-979b-74fc5ddba0db","init_image_2": "https://assets.modelslab.com/generations/9f2ffdbc-2df3-49c3-b243-b1b8472ee7b8","key": "YOUR_API_KEY"}
SDKs
Official SDKs
Production-ready SDKs and client libraries for all major programming languages
API Parameters
Technical specifications for API request parameters.
| Field Name | Parameter | Technical Description |
|---|---|---|
| Prompt | prompt | Describe in text how the image that need to be generated should appear. |
| Model | model_id | Model id |
| image | init_image | Image to upscale/enhance |
| Image2 | init_image_2 | No description available |
