Colorize image with auto prompt base64

Colorize Image With Auto Prompt Base64

This is my description of the API endpoint

POST/colorize_image_with_auto_prompt_base64
Body
image*Image
resolutionResolution
promptPrompt
standard_filter_idStandard Filter Id
artistic_filter_idArtistic Filter Id
raw_captionsRaw Captions
pre_fixPre Fix
post_fixPost Fix
auto_colorAuto Color
white_balanceWhite Balance
temperatureTemperature
saturationSaturation
Response

Successful Response

Body
mime*Mime
image*Image
caption*Caption
Request
const response = await fetch('/colorize_image_with_auto_prompt_base64', {
    method: 'POST',
    headers: {
      "Content-Type": "multipart/form-data"
    },
    body: JSON.stringify({
      "image": "binary"
    }),
});
const data = await response.json();
Response
{
  "mime": "text",
  "image": "text",
  "caption": "text"
}

Last updated