← All demos
IMAGE DECISIONS
Image decisions.
Ask about an image and explore typed answers, probabilities, and scores.
Choose the input
One request per clickThe model also classifies the scene and scores its visual activity.
Three answers, one image
Noul answers your yes/no question. Choice identifies the scene, while Score rates its visual activity on a 0–2 scale.
Try finding an object →Source image
Half-eaten breakfastChoose an image and model, then evaluate to see a live result.
View C# example
using DecisionsDotNet;
using var client = OpenRouterDecisionsClient.FromEnvironment();
// Text and images go in one state array, in order. Images must be PNG, JPEG, or WebP bytes.
var photo = DecisionsValue.ImageFromBytes(await File.ReadAllBytesAsync("breakfast.png"), "image/png");
var request = DecisionsRequest.Create(DecisionsValue.FromParts("Does this image show a partially eaten meal?", photo))
.Noul("question", "Does this image show a meal that has already been partially eaten?", out var eaten)
.Choice("scene", "Which description best matches the supplied image?", out var scene,
("meal", "A meal, food, or a dining table."),
("city", "A city scene or skyline."),
("other", "Neither a meal nor a city scene."))
.Score("activity", "How visually busy is the supplied image?", out var activity,
"Sparse: a few isolated objects.",
"Moderate: several objects with clear separation.",
"Busy: many overlapping objects or events.")
.Build("typesafe/jev-1.14"); // any model whose SupportsImageInput is true
var response = await client.EvaluateAsync(request);
Console.WriteLine($"Eaten: {response.Get(eaten).Noul:P0}");
Console.WriteLine($"Scene: {response.Get(scene).Choice}");
Console.WriteLine($"Activity: {response.Get(activity).Score:0.00} of 2");