Skip to main content
Perceptron Mk1 takes a top-level vision_config body field to trigger thinking and grounding. See the API reference for details.

Quick reference


Caption

SDK

curl


OCR

System instruction:

SDK

curl


Detect

SDK

curl


Question

Pass your question directly as user content. For grounded responses, set expects="box" or expects="point".

SDK

curl


Clip (video temporal segments)

Use expects="clip" to ask the model to localize when an event happens in a video. The model returns its answer with inline self-closing <clip /> tags, which the SDK parses into Clip objects with start (and optional end) timestamps. Available on Perceptron Mk1.

SDK

curl

The model emits self-closing <clip /> tags. The mention is an attribute, not body text; timestamps are whitespace-separated with the literal unit seconds:
Multiple clips for the same event are typically grouped in a <collection> whose mention is inherited by any child clip that omits its own:
When clip.timestamp.until is None, the model is pointing at an instant rather than a span.

Grounding on Perceptron Mk1 (vision_config body field)

Mk1 takes a top-level vision_config object. Pick the right enable_thinking value for your task: on for text Q&A and clip, off for point/box/polygon.

Example: spatial detection (thinking off)

Example: text reasoning (thinking on)

Field reference for vision_config:

Advanced: @perceive decorator

For full control over prompts, reasoning, and structured output.

With reasoning

With structured output (Pydantic)