compose_images
Combine multiple images into a single composition for product mockups, fashion photos, creative collages, or style transfers using specific prompts.
Instructions
Combine multiple images into a new composition.
nano-banana supports up to 3 input images. nano-banana-pro supports up to 14 input images (up to 5 humans, 6 objects).
Great for:
Product mockups
Fashion photos (dress on model)
Creative collages
Style transfer from multiple references
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"prompt": "<prompt>",
"image_paths": "<image_paths>"
},
"name": "compose_images"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | Description of how to combine the images. Be specific about which elements from each image to use. | |
| image_paths | Yes | Array of paths to input images to combine. | |
| model | No | The model to use. nano-banana-pro recommended for multi-image composition. | nano-banana-pro |
| aspect_ratio | No | The aspect ratio of the output image. | 1:1 |
| image_size | No | The resolution of the output (only for nano-banana-pro). | 2K |
| filename | No | Optional filename for the output image. |