THE DECISION MODEL DEMOOpenRouter API ↗
← All demos
IMAGE DECISIONS

Find it in the image.

Name a target and see the model draw its location on the image.

Choose the input

One request per click

Jev 1.14 supports Box. Choose one target and identify where it appears.

Locate, then inspect

The green outline comes directly from the returned Box answer. It follows the image as the page resizes.

A Box always returns a rectangle, even if the target is absent. Check the companion visibility probability and inspect the image.

Try image decisions →

Image & bounding box

Half-eaten breakfast
A rustic breakfast table with scrambled eggs, bacon, bread, and a cup of coffee.
Half-eaten breakfast
Ready when you are

Choose an image and model, then evaluate to see a live result.

View C# example
using DecisionsDotNet;

using var client = OpenRouterDecisionsClient.FromEnvironment();

var photo = DecisionsValue.ImageFromBytes(await File.ReadAllBytesAsync("breakfast.png"), "image/png");
var target = "the coffee cup in the upper-right of the image";

// Box always returns a rectangle, so pair it with a Noul that checks the target is there.
var request = DecisionsRequest.Create(DecisionsValue.FromParts("Half-eaten breakfast", photo))
    .Box("target", $"Locate {target} in the supplied image.", out var box)
    .Noul("visible", $"Is {target} visible in the supplied image?", out var visible)
    .Build("typesafe/jev-1.14"); // Box needs a Jev 1.14 model

var response = await client.EvaluateAsync(request);
if (response.Get(visible).Noul < 0.5)
{
    Console.WriteLine("Not found.");
    return;
}

// Edges are fractions of the image, measured from the top-left corner.
var answer = response.Get(box);
const int width = 1024, height = 1024;
Console.WriteLine($"Box: ({answer.Box.Left * width:0}, {answer.Box.Top * height:0}) to " +
    $"({answer.Box.Right * width:0}, {answer.Box.Bottom * height:0}), confidence {answer.Confidence:P0}");