Skip to main content
Server path: /image-processing | Type: Embedded | PCID required: No Generate images from text prompts, edit images with AI instructions, and remove or replace backgrounds.

Tools

ToolDescription
image-processing_ai_generateGenerate images from text prompts
image-processing_nano_bananaAI image editing with text instructions
image-processing_ai_background_removalRemove or replace image backgrounds

image-processing_ai_generate

Generate images from text prompts using AI. Parameters:
ParameterTypeRequiredDefaultDescription
promptstringYesText description of the image to generate
output_formatenumNo"png"Output format: "png", "jpg"
Response fields:
FieldTypeDescription
outputobject[]Array of generated image objects
output[].urlstringURL of the generated image
output[].mimeTypestringMIME type of the generated image

image-processing_nano_banana

Edit images using AI with text instructions. Supports multiple input images and configurable aspect ratios. Parameters:
ParameterTypeRequiredDefaultDescription
promptstringYesText instruction describing the desired edit
image_urlsstring[]YesURLs of the images to edit
aspect_ratioenumNo"match_input_image"Output aspect ratio: "match_input_image", "1:1", "16:9", "9:16", "4:3", "3:4", "3:2", "2:3", "4:5", "5:4", "21:9", "9:21", "2:1", "1:2"
output_formatenumNo"jpg"Output format: "jpg", "png"
Response fields:
FieldTypeDescription
outputobject[]Array of edited image objects
output[].urlstringURL of the edited image
output[].mimeTypestringMIME type of the edited image

image-processing_ai_background_removal

Remove or replace image backgrounds. Can also remove the foreground instead when reverse mode is enabled. Parameters:
ParameterTypeRequiredDefaultDescription
image_urlstringYesURL of the image to process
background_typeenumNo"rgba"Background replacement type: "rgba" (transparent), "white", "green", "blur"
output_formatenumNo"png"Output format: "png", "jpg"
reversebooleanNofalseWhen true, removes the foreground instead of the background
Response fields:
FieldTypeDescription
outputobject[]Array of processed image objects
output[].urlstringURL of the processed image
output[].mimeTypestringMIME type of the processed image