Anthropic’s language model Claude Fable 5.2 generates images by writing Python code for individual simulated brushstrokes. The approach differs from image generators that progressively refine an image from noise: according to the source, Fable simulates properties including bristles, wet paint and canvas texture. One parking-garage scene reportedly consists of about 700,000 strokes.
The programs for the paintings reportedly contain 1,000 to 2,000 lines of code and control a simulated paint engine. In one documented experiment, the model painted a bird using exactly 111 strokes. It was not allowed to undo any strokes and had to provide each one as a separate sequence of coordinates. Between steps, it inspected the canvas and painted over mistakes, including a section of the bird’s body that had turned out too thin.
Anthropic says the step-by-step planning is useful beyond painting. In an internal robotics benchmark, Fable 5.2 scored 64.9 percent, compared with 29.8 percent for OpenAI’s GPT-6 Astra. A test with a physical robot arm also revealed limitations: Astra painted faster and completed a task that Fable did not.
The original report describes additional painting attempts, the 111-stroke experiment and the robotics results. Source: The Decoder