transform_image_from_encoded
Transform existing images using AI by providing a text prompt that describes desired modifications, such as style changes, object additions, or visual enhancements.
Instructions
Transform an existing image based on the given text prompt using the configured image provider.
Args:
encoded_image: Base64 encoded image data with header. Must be in format:
"data:image/[format];base64,[data]"
Where [format] can be: png, jpeg, jpg, gif, webp, etc.
prompt: Text prompt describing the desired transformation or modifications
Returns:
Path to the transformed image file saved on the server
Input Schema
Name | Required | Description | Default |
---|---|---|---|
encoded_image | Yes | ||
prompt | Yes |
Input Schema (JSON Schema)
{
"properties": {
"encoded_image": {
"title": "Encoded Image",
"type": "string"
},
"prompt": {
"title": "Prompt",
"type": "string"
}
},
"required": [
"encoded_image",
"prompt"
],
"type": "object"
}