Skip to content

Instantly share code, notes, and snippets.

@simonw
Created July 16, 2026 15:34
Show Gist options
  • Select an option

  • Save simonw/dccebd0581f5c4056c5b0ca5bdc38cd9 to your computer and use it in GitHub Desktop.

Select an option

Save simonw/dccebd0581f5c4056c5b0ca5bdc38cd9 to your computer and use it in GitHub Desktop.

thinkingmachines/Inkling — image description (vision input)

Prompt: "Describe this image in detail" with this image attached: https://static.simonwillison.net/static/2026/inkling-pelican.jpg (800x560 JPEG, 65 KB — a rendering of Inkling's own pelican-on-a-bicycle SVG)

The image was sent as a base64 data: URL using the OpenAI vision message format — content as an array of an image_url part plus a text part:

curl -sS -o inkling-pelican.jpg \
  "https://static.simonwillison.net/static/2026/inkling-pelican.jpg"

curl -sS "https://tinker.thinkingmachines.dev/services/tinker-prod/oai/api/v1/chat/completions" \
  -H "Authorization: Bearer $TINKER_API_KEY" \
  -H "Content-Type: application/json" \
  -d "{
    \"model\": \"thinkingmachines/Inkling\",
    \"messages\": [{
      \"role\": \"user\",
      \"content\": [
        {\"type\": \"image_url\", \"image_url\": {\"url\": \"data:image/jpeg;base64,$(base64 -w0 inkling-pelican.jpg)\"}},
        {\"type\": \"text\", \"text\": \"Describe this image in detail\"}
      ]
    }]
  }"
  • finish_reason: stop
  • usage: 316 prompt / 537 completion tokens (the whole image cost only ~300 prompt tokens)
  • Notably, Inkling calls the bird "a stork or seagull" rather than a pelican — in both its reasoning and final answer — despite this being its own pelican.

reasoning_content

The user wants me to describe the image in detail. Let me analyze what I see:

  1. Main subject: A cartoon-style white bird (looks like a stork or seagull) riding a bicycle.
  2. The bird: White body, orange beak (large and flat, with a black line indicating mouth), black eye with white highlight, black wing/tail feathers with white outline, orange legs with black feet/pedals.
  3. The bicycle: Black frame, two wheels with black tires and gray rims/spokes, orange pedals/crank, black seat (partially visible behind the bird), black handlebars.
  4. The bird's posture: Sitting on the bike seat, leaning forward slightly, beak open (maybe smiling or panting), one foot on a pedal.
  5. Background:
    • Light blue sky
    • Two white clouds (one on left, one near the bird's head on right)
    • Bright yellow sun in the upper right corner
    • Green rolling hills/grass at the bottom
  6. Style: Flat vector illustration, simple geometric shapes, bright cheerful colors, cartoonish and playful.

Let me provide a comprehensive description covering all these elements.

content

This is a cheerful, flat-vector cartoon illustration featuring a white bird riding a bicycle across a green landscape.

The Bird: The central figure is a stylized white bird—resembling a stork or seagull—with a plump, rounded body. It has a long, prominent orange beak that is slightly open, revealing a black line for the mouth. Its eye is small and black with a tiny white highlight. The bird has black wing and tail feathers with white edges, and thin orange legs ending in black feet that rest on the bicycle's orange pedals.

The Bicycle: The bike has a simple black frame with two large wheels featuring black tires, gray inner rims, and black spokes arranged in a cross pattern. The handlebars are black, and there are bright orange pedals attached to a black crank. A white seat is visible behind the bird's body.

The Setting: The scene is set against a clear, light blue sky. There are two fluffy white clouds—one on the left side and a smaller one near the bird's head on the right. A bright, solid yellow sun shines in the upper right corner. At the bottom, there are rolling green hills with a smooth, curved top edge where the bicycle rests.

The overall style is playful, simple, and colorful, with clean lines and a bright, sunny atmosphere.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment