Workers AI Image Classification

Copy Markdown View Source

Execute @cf/microsoft/resnet-50 model.

POST /accounts/{account_id}/ai/run/@cf/microsoft/resnet-50

Responses

200 Object with user data.

Data is at body["result"]

{}

400 Bad request

{
  "errors": [
    {
      "code": "*string*",
      "message": "*string*"
    }
  ],
  "result": {},
  "success": "*boolean*"
}