Skip to main content
StrikeStrike
Overview

Images

Send a PNG or JPEG and ask a question about it, including one bounding box.

Images are a normal request. Use model strike-1, or another id from GET /v1/models. No extra header.

Send each image once, under assets, and name it in state or in the question. A box question returns one box on that image. A noul, choice, or score question can use the same image.

PNG or JPEG. Each side must be 280 to 1024 pixels. The request stays inside the normal window: 8,192 estimated tokens and 32,000 characters. An image counts as 256 tokens.

JSON
{
  "model": "strike-1",
  "state": { "photo": "door" },
  "assets": {
    "door": { "type": "image", "format": "png", "data_base64": "<base64>" }
  },
  "questions": {
    "person": { "type": "noul", "instructions": "Is there a person in `door`?" },
    "where": { "type": "box", "instructions": "the person in `door`" }
  }
}

A box answer has top, bottom, left, and right from 0 to 1, plus confidence.

The playground has an Image question type. Pick it, attach a file, and write the question.

Strike AI | Images