compose_imagesCompose a new image using multiple input images and a guiding prompt.Input schema{
"type": "object",
"properties": {
"prompt": {
"type": "string",
"minLength": 1,
"maxLength": 2000,
"description": "Describe how to compose the elements of the input images."
},
"images": {
"type": "array",
"items": {
"type": "object",
"properties": {
"dataBase64": {
"type": "string"
},
"path": {
"type": "string"
},
"mimeType": {
"type": "string"
}
},
"additionalProperties": false
},
"minItems": 2,
"maxItems": 10
},
"saveToFilePath": {
"type": "string",
"description": "Optional path to save the composed image"
}
},
"required": [
"prompt",
"images"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | | — |
edit_imageEdit an image using a prompt. Provide one input image via base64 or file path.Input schema{
"type": "object",
"properties": {
"prompt": {
"type": "string",
"minLength": 1,
"maxLength": 2000,
"description": "Describe the edit; the model matches original style and lighting."
},
"image": {
"type": "object",
"properties": {
"dataBase64": {
"type": "string",
"description": "Base64 without data URL prefix"
},
"path": {
"type": "string",
"description": "Path to the input image file"
},
"mimeType": {
"type": "string",
"description": "image/png, image/jpeg, image/webp, image/gif"
}
},
"additionalProperties": false,
"description": "One input image"
},
"saveToFilePath": {
"type": "string",
"description": "Optional path to save the edited image"
}
},
"required": [
"prompt",
"image"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | | — |
generate_imageGenerate an image from a text prompt using Gemini 2.5 Flash ImageInput schema{
"type": "object",
"properties": {
"prompt": {
"type": "string",
"minLength": 1,
"maxLength": 2000,
"description": "Detailed scene description. Use photographic terms for photorealism."
},
"saveToFilePath": {
"type": "string",
"description": "Optional path to save the image (png/jpeg by extension)"
}
},
"required": [
"prompt"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | | — |
style_transferTransfer style from a style image to a base image, guided by an optional prompt.Input schema{
"type": "object",
"properties": {
"prompt": {
"type": "string",
"description": "Optional additional instruction for the style transfer."
},
"baseImage": {
"type": "object",
"properties": {
"dataBase64": {
"type": "string"
},
"path": {
"type": "string"
},
"mimeType": {
"type": "string"
}
},
"additionalProperties": false
},
"styleImage": {
"type": "object",
"properties": {
"dataBase64": {
"type": "string"
},
"path": {
"type": "string"
},
"mimeType": {
"type": "string"
}
},
"additionalProperties": false
},
"saveToFilePath": {
"type": "string",
"description": "Optional path to save the output"
}
},
"required": [
"baseImage",
"styleImage"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | | — |