Image Preprocessing

This function is part of a pipeline that preprocesses an image for further generation. It uses a generated prompt to guide the preprocessing steps tailored to specific requirements.

submit an image to generate a processed image and a prompt.

post
Authorizations
Body
generate_promptbooleanRequired
imagesstring · binary[]Required
Responses
201Success
application/json
post
POST /api/task/rodin_mesh_image_process HTTP/1.1
Host: 
Authorization: Bearer JWT
Content-Type: multipart/form-data
Accept: */*
Content-Length: 44

{
  "generate_prompt": true,
  "images": [
    "binary"
  ]
}
201Success
{
  "error": "TOO_MANY_IMAGES",
  "prompt": "text",
  "processed_image": "text",
  "height": 1,
  "allow_face_enhance": true,
  "default_face_enhance": true,
  "is_multiview": true,
  "num_multiview": 1,
  "bbox": [
    [
      1
    ]
  ]
}

Last updated