playgroundLive API, on your own workspace once you sign in
Ask typed questions. Get typed answers.
Paste any text, JSON or image, ask typed questions, and get typed answers with confidence in milliseconds. Every type names its answer: choice (one of your labels), score (a level on your scale), truth (a probability), number (a value on your grid), point (a spot in your image), box (a rectangle around the thing). Then copy the exact request as curl, Python, TypeScript or JSON.
endpoint
POST /v1/decide
models
DecisionNodeDecisionNode Flash
output tokens
0, always free
api key
your workspace's, after sign-in
Knowledge reads the public sample base sample-rover-manual (3 documents, 1 pinned, scoped by model): the same documents for everyone, nothing added to your workspace. Run the request; the answer cites the passages it read. To change the documents, copy them into a knowledge base of your own.
See the documents
Fleet safety rulespinned
# Fleet safety rules
These apply to every rover model.
- People on foot always have the right of way. Never pass a person closer than the model's manual allows.
- Cross a road only at a marked crossing, and only on a green signal.
- Stop and hand over to a remote operator when a sensor reports a fault, when a person touches or blocks the rover on purpose, or when the path stays blocked for more than 60 seconds.
R2 operating manualmodel: R2
# R2 operating manual
## Speed by terrain
| Terrain | Highest speed |
|---|---|
| Pavement | 6 km/h |
| Gravel or grass | 3 km/h |
| Crowded (more than 5 people within 10 m) | 2 km/h |
## Distance to people
Keep at least 1 m from any person.
## Kerbs
The R2 does not climb kerbs over 5 cm; route around them.
R4 operating manualmodel: R4
# R4 operating manual
## Speed by terrain
| Terrain | Highest speed |
|---|---|
| Pavement | 8 km/h |
| Gravel or grass | 5 km/h |
| Crowded (more than 5 people within 10 m) | 3 km/h |
## Distance to people
Keep at least 1.5 m from an adult and 3 m from a child or an animal. When one is closer, stop and wait until the gap is back.
## Kerbs
The R4 climbs kerbs up to 10 cm. At a higher kerb, stop and hand over to a remote operator.
State
Any text or JSON. Read once, shared by every question.
valid JSON, 7 top-level keys. Esc then Tab leaves the editor
Specialist readings of the pictures and of your own documents, handed to the model as evidence.priced per picture read, Knowledge per call
Human Ageage$0.024 a picture
Estimates a person's age from a face in the picture, using the agemin.com (opens in a new tab) age estimation model, ranked #1 by NIST for Child Online Safety (ages 13 to 16) on true positive rate.
Whether a picture was made by an image generator, and which kind, using Trinity, the state-of-the-art AI image detection model from detector24.ai (opens in a new tab).
Face detectionface_detection$0.001 a picture
Finds the faces in a picture: how many it shows and where each one is, with a box and a confidence per face, from Bynn's face detection model.
Face recognitionface_recognitionfrom $0.001 a picture
Matches the faces in a picture against a collection: one of your own, enrolled through the API or the console, or the public celebrities collection. Each match carries a score and the item's reference, with your label or the public figure's name, and never a picture.
OCRocr$0.0015 a picture
The text a picture shows, read by Bynn OCR: all of it by default, or what a prompt asks for, such as a formula in LaTeX, a table in HTML or Markdown, or the fields of a JSON schema. Full support for English and Chinese; other languages need a prompt that names them.
Depth Visionbynn_depthfree
Distance in meters to what's in the picture: the nearest obstacle straight ahead, seven directions from left to right, and a grid of up to 16 by 16 cells. Estimates from one picture, for decisions and planning, never a safety stop.
Segment Visionbynn_segment$0.001 a picture
Finds what you name in words in the picture: each match's outline, box and centre, and with depth on, its distance and size in meters.
Knowledgeknowledge$0.001 a call
Applies your own documents: the passages of one of your knowledge bases that fit the request are read with it as facts and rules, and cited in the answer's evidence.
runs without it if it is late
Reads your own documents, so it needs a workspace: sign in to pick a knowledge base.
100 to 5000 ms; left empty, it gets its default.
1 call a run, at most $0.001. Only readings that come back are billed; up to 4 boosters a request.
Questions (3)
One typed answer each, from the same pass.
returns one of your options, a probability for each, and confidence
Is this statement true? One calibrated probability from 0.00 to 1.00 that the statement is true. 0.80 means true about 8 times in 10. Your code picks the cut-off: 0.50 for a plain yes or no, higher when acting on a false yes is costly.
How many, or what value? One value on a grid you set (min, max and an optional step), with a calibrated probability for every value: the most probable value, the expected value and the confidence.
Add
about 185 input tokens, output freeabout $6.48per million runs like thisper 1M runs
Response
Run to see the API's answer.
Every question comes back in the shape its type defines, with how sure the model is. Output is always 0 tokens: nothing is generated.
Choiceone of your options, a probability for each
Scorethe expected level on your scale
TruthIs this statement true? One calibrated probability from 0.00 to 1.00 that the statement is true. 0.80 means true about 8 times in 10. Your code picks the cut-off: 0.50 for a plain yes or no, higher when acting on a false yes is costly.
Numbera value on your grid, the expected value, and a probability for every value
Pointone spot in an image, x and y, with present and confidence
Boxa rectangle around the thing, its corners, with present and confidence