From eb53b86c8ad52cde72b0d0dc34e02d859c83c132 Mon Sep 17 00:00:00 2001 From: Nariman Jelveh Date: Mon, 15 Sep 2025 16:57:38 -0700 Subject: [PATCH] feat: add optional input image fields to AIInterfaceService - Introduced `input_image` and `input_image_mime_type` as optional parameters in the AIInterfaceService schema to enhance image processing capabilities. --- src/backend/src/modules/puterai/AIInterfaceService.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/backend/src/modules/puterai/AIInterfaceService.js b/src/backend/src/modules/puterai/AIInterfaceService.js index 5ec2ccb88..521c53458 100644 --- a/src/backend/src/modules/puterai/AIInterfaceService.js +++ b/src/backend/src/modules/puterai/AIInterfaceService.js @@ -98,6 +98,8 @@ class AIInterfaceService extends BaseService { quality: { type: 'string' }, model: { type: 'string' }, ratio: { type: 'json' }, + input_image: { type: 'string', optional: true }, + input_image_mime_type: { type: 'string', optional: true }, }, result_choices: [ {