Cloudmersive · Schema
DrawPolygonRequest
Request to draw one or more polygons on a base image
BarcodesConversionDocumentsImage RecognitionNatural-LanguageOCRProcessingValidationVirus Scanning
Properties
| Name | Type | Description |
|---|---|---|
| BaseImageBytes | string | Image to draw polygons on, in bytes. You can also use the BaseImageUrl instead to supply image input as a URL |
| BaseImageUrl | string | Image to draw polygons on, as an HTTP or HTTPS fully-qualified URL |
| PolygonsToDraw | array | Polygons to draw on the image. Polygons are drawn in index order. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/cloudmersive/json-schema/cloudmersive-draw-polygon-request-schema.json",
"title": "DrawPolygonRequest",
"description": "Request to draw one or more polygons on a base image",
"x-generated": "2026-11-05",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/cloudmersive-edit-api-openapi.yml#/components/schemas/DrawPolygonRequest",
"type": "object",
"properties": {
"BaseImageBytes": {
"format": "byte",
"description": "Image to draw polygons on, in bytes. You can also use the BaseImageUrl instead to supply image input as a URL",
"type": "string"
},
"BaseImageUrl": {
"description": "Image to draw polygons on, as an HTTP or HTTPS fully-qualified URL",
"type": "string"
},
"PolygonsToDraw": {
"description": "Polygons to draw on the image. Polygons are drawn in index order.",
"type": "array",
"items": {
"$ref": "#/$defs/DrawPolygonInstance"
}
}
},
"$defs": {
"DrawPolygonInstance": {
"description": "Polygon instance to draw on an image",
"type": "object",
"properties": {
"BorderColor": {
"description": "Border Color to use - can be a hex value (with #) or HTML common color name. Transparent colors are supported.",
"type": "string"
},
"BorderWidth": {
"format": "double",
"description": "Width in pixels of the border. Pass in 0 to draw a polygon with no border",
"type": "number"
},
"FillColor": {
"description": "Fill Color to use - can be a hex value (with #) or HTML common color name. Transparent colors are supported. Leave blank to not fill the polygon.",
"type": "string"
},
"Points": {
"description": "Points (vertices) which comprise the polygon; valid polygons must have at least 3 points",
"type": "array",
"items": {
"$ref": "#/$defs/PolygonPoint"
}
}
}
},
"PolygonPoint": {
"description": "One point in a polygon",
"type": "object",
"properties": {
"X": {
"format": "double",
"description": "X location in pixels of this point in the polygon",
"type": "number"
},
"Y": {
"format": "double",
"description": "Y location in pixels of this point in the polygon",
"type": "number"
}
}
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/cloudmersive-draw-polygon-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.