Skip to content

segmentationForUrl

Query

Segment the image at the specified URL

Response

Returns SegmentationResponse

Arguments

NameTypeDescription
urlString!

The URL of the image

optionsSegmentationOptionsInput

Optional segmentation parameters.

Example

query segmentationForUrl(
$url: String!,
$options: SegmentationOptionsInput
) {
segmentationForUrl(
url: $url,
options: $options
) {
results {
segment {
__typename
}
regionIndex
}
}
}