Skip to content
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
POST /api/ai-process HTTP/1.1
Host: mioffice.ai
Content-Type: multipart/form-data
Accept: */*
Content-Length: 82

{
  "file": "binary",
  "action": "removeBackground",
  "maskData": "binary",
  "options": "text"
}
binary

Last updated