compose_images
Combine multiple input images into a new composite image using a text prompt to guide the composition process.
Instructions
Compose a new image using multiple input images and a guiding prompt.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
images | Yes | ||
prompt | Yes | Describe how to compose the elements of the input images. | |
saveToFilePath | No | Optional path to save the composed image |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"images": {
"items": {
"additionalProperties": false,
"properties": {
"dataBase64": {
"type": "string"
},
"mimeType": {
"type": "string"
},
"path": {
"type": "string"
}
},
"type": "object"
},
"minItems": 2,
"type": "array"
},
"prompt": {
"description": "Describe how to compose the elements of the input images.",
"type": "string"
},
"saveToFilePath": {
"description": "Optional path to save the composed image",
"type": "string"
}
},
"required": [
"prompt",
"images"
],
"type": "object"
}