Extracting segments in an image

Isolating specific segments or elements within an image

Use case example

  • - Image editing tools for precise selections
  • - Segmenting objects or regions in a photograph

Added by: APIForAI

Price per call≈ 0.33

License Github

Try it nowAPI information

Try it

Examples

Input

Image
{
"input":{
"image":"https://rbqktisnztholqojxlaf.s..."
"output_json":true
}
"id":93
}

Output

{
"status":"succeeded"
"output":{
"img_out":"https://rbqktisnztholqojxlaf.s..."
"json_out":"https://rbqktisnztholqojxlaf.s..."
}
"prediction_time":118.061773
}

API Information

Input description

image* uri

Input image

output_json boolean

return raw json output

Default value: true

Output JSON Schema

This represents the JSON schema that details the structure of the model's output.

{
"type":"object"
"title":"Output"
"required":[
0:"img_out"
]
"properties":{
"img_out":{
"type":"string"
"title":"Img Out"
"format":"uri"
}
"json_out":{
"type":"string"
"title":"Json Out"
"format":"uri"
}
}
}

APIForAI

Build fast by accessing AI models easily