For the complete documentation index, see llms.txt. This page is also available as Markdown.

AI

AI-powered image processing

post

Remove backgrounds, inpaint (object removal), or upscale images using AI models.

Body
filestring · binaryRequired

Image file to process

actionstring · enumRequired

AI operation to perform

Possible values:
maskDatastring · binaryOptional

Mask image for inpaint action (required for inpaint)

optionsstringOptional

JSON string. removeBackground: {"format":"png"}

Responses
200

AI-processed image

image/*
string · binaryOptional
post/api/ai-process

Last updated