Examples

Find a dog head in a photo

Open in playground →

A photo of a dog in; a bounding box around its head.

  • Image input
  • Box

Challenges

  • The head has to be told apart from the body it sits on: the box takes in both ears and stops at the neck, as the instructions ask.
  • The box comes back as top, bottom, left and right, fractions of the image, so it fits any size you draw it at.
The image sent with this calldog_head

Laying out…

Time 0.48 s · Cost $0.000053

Generation(
    result={
        'dog_head': {
            'top': 0.352,
            'bottom': 0.652,
            'left': 0.344,
            'right': 0.628,
        },
    },
    thinking={},
    usage=Usage(input_tokens=1051, thinking_tokens=0),
)