Skip to main content

pixelcanvas

Your coding agent draws finished pictures with code. No image model.

Pictures drawn by coding agents with pixelcanvas

pixelcanvas is an Agent Skill and a Python library. Claude Code, Codex, Cursor, opencode or any agent that can run Python reads the skill, picks a kit for the request, writes a short scene file and renders it with numpy + Pillow. Every picture is code: exact text in any language, editable layers, and a --check report that tells the agent what to fix before it hands the picture over.

What it draws

  • Posters, cards, banners and wallpapers with strong typography, 57 backdrops, 60 palettes and 43 art styles (oil, watercolour, ukiyo-e, risograph ...).
  • Diagrams, charts, dashboards and UI screens with automatic layout, exported as PNG and SVG.
  • Technical drawings and floor plans: views, sections, dimensions, exported as SVG and DXF.
  • 3D scenes: ray-marched prefabs, studio product shots, isometric rooms, and clay characters and animals in 31 poses and 64 species.
  • Illustration: posed people, animals, trees and flowers, fire, water and skies, 80 lit materials and 633 pictograms.

Install

pip install pixelcanvas
pixelcanvas doctor

Or run it without installing: uvx pixelcanvas doctor.

Give the skill to your agent (Claude Code by default; also agents, codex, cursor, opencode):

pixelcanvas install-skill claude

This installs two skills: pixelcanvas (Python scenes, every kit) and pixelcanvas-lite (a small JSON spec, made for small local models). Then ask your agent: "draw me a poster for a jazz night".

The MCP server works with any MCP client: pixelcanvas mcp.

A first picture in three commands

pixelcanvas compose --example poster > poster.json
pixelcanvas compose poster.json --check
pixelcanvas compose poster.json --deliver final/

The first command writes a complete poster spec (a title, a backdrop, three potted plants, the date and place), the second draws a draft and reports what to fix, the third renders it full size into final/poster.png. Edit the JSON, or ask your agent to, and run it again.

For any other picture your agent runs the same loop in Python:

pixelcanvas kit find "a corgi sitting under an oak tree at sunset"
pixelcanvas new corgi --prompt "a corgi sitting under an oak tree at sunset"
pixelcanvas render corgi.py --scale 0.5 --check

kit find names the call for each subject of the request, new writes a starter scene for it, and render --check draws a draft and prints what to improve. pixelcanvas --help lists every command.

More

The gallery, the full documentation and every kit's reference page are on GitHub: github.com/treeleaves30760/pixelcanvas. Release notes: CHANGELOG.

Metadata

Release files for pixelcanvas 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pixelcanvas 0.4.0
File Size Uploaded Provenance Actions
pixelcanvas-0.4.0.tar.gz 1.8 MB With provenance Details for pixelcanvas-0.4.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pixelcanvas 0.4.0
File Interpreter ABI Platform Actions
pixelcanvas-0.4.0-py3-none-any.whl Python 3 none any Details for pixelcanvas-0.4.0-py3-none-any.whl

Total release size: 3.6 MB

Release files / pixelcanvas-0.4.0.tar.gz

Download URL pixelcanvas-0.4.0.tar.gz
Size 1.8 MB
Tags Source
SHA-256 checksum
How to use checksums
ae6309f507184d2893509660fbbb2fd1ebbb836b9310424da9fafc062de58b0b
BLAKE2b-256 checksum
How to use checksums
98bae5489a1352041f24777533b8709c12e75b7ff22ba85c5e98aff68f57b5ec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 13, 2026.

Transparency log

Release files / pixelcanvas-0.4.0-py3-none-any.whl

Download URL pixelcanvas-0.4.0-py3-none-any.whl
Size 1.9 MB
Tags Python 3
SHA-256 checksum
How to use checksums
249795b53aca318a3ecbe52085a81c49da58c4f3af18c45e225c5578b02063d0
BLAKE2b-256 checksum
How to use checksums
9f97758016920ff960f34b5672bdf62ee2597fe8bbafee959f0313431f3bdabb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 13, 2026.

Transparency log

Security for pixelcanvas 0.4.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for pixelcanvas-0.4.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 13, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page