Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

CrayonMLX

A local web studio for transforming children's drawings on Apple Silicon. Choose what to change — style, characters, background, composition, and lighting — and explicitly preserve the details that matter.

Source code and full documentation · Report an issue

Requirements

  • An Apple Silicon Mac with a macOS version supported by MLX.
  • Python 3.12 or newer and uv.
  • A supported local model and enough memory for its weights and inference.

Install and run

Install the published alpha:

uv tool install 'crayonmlx==0.1.0a1'
crayonmlx

Open http://127.0.0.1:8787 in your browser. To use a different port, run crayonmlx --port 8788. Stop the application with Ctrl+C in its terminal.

First transformation

  1. In Settings, choose your model folder and the folder for generated images.
  2. Add a complete supported checkpoint manually, or download a Hugging Face repository from Models. For gated repositories, configure your HF token in Settings and obtain access on Hugging Face first. Weights are not bundled with the application.
  3. Upload a drawing and select a local model.
  4. Independently choose an overall style, a treatment for the original characters or objects, a background, composition, and lighting. Edit any instruction if needed.
  5. Mark what must remain: identity, clothing, poses, colors, main subjects, placement, lettering, and the original background. Choosing a new background releases background preservation; reframing releases placement preservation.
  6. Choose a saved generation configuration, inspect the composed prompt, and generate.

For example: anime characters → Tokyo background → entire subject → neon lighting, while preserving the original characters' identity, clothes, poses, and colors.

The interface is currently in Russian; built-in generation instructions are in English. Prompt templates, numerical generation configurations, and full presets can be created, edited, and saved separately. History stores the original image, result, and complete request as an immutable snapshot.

Supported models

Native MLX inference through MFLUX:

  • Qwen Image Edit: 2509 and 2511. Instruction-based editing with an input image; image strength is not applied by this adapter.
  • FLUX.1 image-to-image: dev, schnell, and krea-dev. Schnell does not apply guidance.

Use complete compatible checkpoints, not an isolated .safetensors or .gguf file. The adapter is detected from the selected local model. Downloads are explicit; missing components during generation do not trigger automatic downloads. Memory requirements depend on the model, quantization, and output dimensions.

Local workflow

  • Model loading, generation stages, completed steps, and MLX memory usage are visible in the interface.
  • One model stays loaded between generations, with a default idle timeout of 15 minutes. Change the timeout or select None in Settings.
  • Model enable/disable and manual load/unload controls are available.
  • Model, output, and internal application-data folders are configurable.
  • The server listens only on 127.0.0.1; generation runs locally on your Mac.

CrayonMLX is an early alpha. For setup details, source installation, development, and the complete storage behavior, see the GitHub README.

License

CrayonMLX is licensed under the MIT License. Copyright (c) 2026 Nikolay Nechaev. Model weights and third-party dependencies retain their respective licenses.

Metadata

Release files for crayonmlx 0.1.0a2

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

Source distribution (sdist)

Source distribution for crayonmlx 0.1.0a2
File Size Uploaded Provenance Actions
crayonmlx-0.1.0a2.tar.gz 50.6 kB Without provenance Details for crayonmlx-0.1.0a2.tar.gz

Built distribution (wheel)

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

Total release size: 123.8 kB

Release files / crayonmlx-0.1.0a2.tar.gz

Download URL crayonmlx-0.1.0a2.tar.gz
Size 50.6 kB
Tags Source
SHA-256 checksum
How to use checksums
9a0d439f8a61bc00d40d36c114508dc44a97dc62e14e766b6ed8a86525e246ac
BLAKE2b-256 checksum
How to use checksums
b9a0a3e12e1ca9e97801beb111e8d2d9b0da3dcdf7e3a16f322ff3e3b3c02b3b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.19 {"installer":{"name":"uv","version":"0.12.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / crayonmlx-0.1.0a2-py3-none-any.whl

Download URL crayonmlx-0.1.0a2-py3-none-any.whl
Size 73.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8a62b9a39d1ce91fb2105d6ea85a6678fdcdfb3273c0147cf4a47660d1097037
BLAKE2b-256 checksum
How to use checksums
1d3f6fb61ad47bb120cf0c7ca7121d08926d2979973c6d05b7762b2b6666fe05
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.19 {"installer":{"name":"uv","version":"0.12.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for crayonmlx 0.1.0a2

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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