Choose a model by the constraint you need¶
AIsketcher is not a checkpoint leaderboard. Its job is to keep the same
prepare → explore → pick → vary → export → replay contract while a backend
changes. The model choice should therefore describe a capability, not imply
that one model is best for every input.
Current product roles¶
| Role | Preset / Path | Download | Use it when | Important limit |
|---|---|---|---|---|
| Guided tour | bundled, hash-verified study | none | you want to understand the workflow immediately | read-only; no new image is generated |
| Restored Classic Structure | dreamshaper-canny@1 (Lykon/dreamshaper-8 + SD 1.5 Canny) |
3.58 GB | vivid sketch-to-illustration rendering with strict Canny line locking; fast multi-seed scouting on Apple Silicon MPS and CUDA | SD 1.5 resolution class (768×768 default, max 1024) |
| Apple Silicon MLX | mlx-flux2-klein-edit@1 (FLUX.2-klein-4B via MFLUX / MLX) |
15.98 GB | native Apple Silicon Metal/MLX 4-step reference editing without CUDA (4-bit default, 8-bit option) | reference-image editing, not Canny; exact line locking is not guaranteed |
| Aesthetic XL | juggernaut-xl-canny@1 (RunDiffusion/Juggernaut-XL-v9 + SDXL Canny) |
9.44 GB | high-resolution fine-tuned SDXL Canny rendering replacing washed-out raw sdxl-base-1.0 |
single-image recommended on 24 GB MPS; full multi-seed on CUDA |
| Fast Edit (CUDA) | flux2-klein-edit@1 (FLUX.2-klein-4B + small decoder) |
16.23 GB | speed, photo restyling, flexible sketch interpretation, and instruction edits on a 16 GB NVIDIA T4 | requires CUDA; reference-image editing is not Canny |
| Legacy Structure Replay | sdxl-canny-lite@1 / sdxl-canny@1 |
7.26 / 9.44 GB | strict replay of historical v0.2–v0.4 SDXL Canny manifests | raw sdxl-base-1.0 aesthetic regression; retained for replay compatibility |
| Structure candidate | Z-Image Turbo + Union 2.1 Lite | — | modern Canny, HED, Scribble, or related structure control | not a default until the benchmark below passes; large first download and a separate VideoX-Fun runtime |
| Pro candidates | Qwen Image Edit 2509/2511 | — | high-end structure, product, character, or identity-sensitive work | 20B-class models; not appropriate for a T4-first experience |
Visual quality restoration (v0.5)¶
Replacing 2023 Lykon/DreamShaper with raw stabilityai/stable-diffusion-xl-base-1.0
in v0.2–v0.4 produced flat lighting and washed-out contrast under Canny
ControlNet. Version 0.5.0 restores classic vivid Canny quality with
dreamshaper-canny@1, adds fine-tuned high-resolution SDXL Canny via
juggernaut-xl-canny@1, and introduces native Apple Silicon Metal/MLX via
mlx-flux2-klein-edit@1.
Same heritage seed 6764547109648557242 (768×576, Canny 140/160): Input
Sketch · 2023 Lykon/DreamShaper · v0.2–v0.4 SDXL Base regression · v0.5
dreamshaper-canny@1 · v0.5 mlx-flux2-klein-edit@1 (4-bit).
Measured Apple M6 comparison (24 GB Unified Memory · Metal 4)¶
Measured on Apple M6 (Mac18,5, 12-core GPU, 24 GB Unified Memory, Metal 4),
macOS Darwin 27.0.0, Python 3.12.15, torch 2.15.0, diffusers 0.43.0,
mlx 0.32.5, mflux 0.24.0 (docs/assets/pocket-kingdom/source.png prepared
at 768×576, Canny 140/160, 4-seed scout + 2 subtle structure-locked
variations + Studio.replay(..., mode="strict")):
| Preset | Backend / Device | Download | Steps / Precision | Cold + 1st | Warm (per image) | Vary (per image) | Peak Memory | Strict Replay |
|---|---|---|---|---|---|---|---|---|
dreamshaper-canny@1 |
Diffusers / MPS | 3.58 GB | 35 steps PNDM · fp16 + fp32 VAE | 46.2 s | 35.7 s (4 imgs: 142.6 s) | 19.3 s | 2.86 GB peak RSS | Pass (0 drift) |
mlx-flux2-klein-edit@1 (4-bit, default) |
MFLUX / MLX Metal 4 | 15.98 GB | 4 steps FlowMatch · 4-bit | 240.3 s* | 61.6 s (denoise 28–36 s; 4 imgs: 246.5 s) | 55.7 s | 10.10 GB MLX peak (2.78 GB RSS) | Pass (0 drift) |
mlx-flux2-klein-edit@1 (8-bit) |
MFLUX / MLX Metal 4 | 15.98 GB | 4 steps FlowMatch · 8-bit | 81.5 s | 97.7 s (4 imgs: 390.7 s) | 82.0 s | 11.61 GB MLX peak (2.78 GB RSS) | Pass (0 drift) |
juggernaut-xl-canny@1 |
Diffusers / MPS | 9.44 GB | 30 steps UniPC · fp16 + fp32 VAE | 33.0 s (1 img) | Single-image recommended on 24 GB MPS** | — | — | Pass |
* 4-bit cold time includes first-ever Metal shader compilation and on-load 4-bit quantization; subsequent runs use the compiled cache (see 8-bit 81.5 s cold load).
** On 24 GB MPS, per-seed MPS pipeline reload isolation can pressure 24 GB unified memory on multi-seed runs; use dreamshaper-canny@1 or mlx-flux2-klein-edit@1 for fast multi-seed Apple Silicon scouting, and juggernaut-xl-canny@1 on CUDA or single-image MPS renders.
See the Apple Silicon MLX guide for four-seed QA galleries and 4-bit/8-bit Python examples.
FLUX.2 Klein 4B
powers both the CUDA flux2-klein-edit@1 Fast Edit path and the native Apple
Silicon mlx-flux2-klein-edit@1 MLX path. Its official interface accepts a
reference image and editing instruction. AIsketcher no longer labels that path
as an intelligent Auto router or describes it as strict structure control.
Z-Image Turbo and the Alibaba-PAI Union 2.1 adapter are the leading Structure candidate because their public Apache-2.0 path supports Canny, HED, Scribble, depth, pose, and other controls. The adapter is not yet a native Diffusers preset, and the reviewed runtime payload is too large to silently become a Simple-mode default.
Qwen Image Edit 2509 is the Pro Structure candidate; 2511 is the Pro Consistency candidate. They stay out of the local default until a larger-GPU backend and the same replay contract are validated.
The default-model gate¶
A candidate can replace the current Fast Edit or Structure role only after a reproducible study covers all of the following:
- At least 12 inputs across sparse pencil lines, dense child drawings, product outlines, graphic compositions, people, and ordinary photos.
- Four recorded seeds for every model/input/prompt combination.
- The same reviewed English model prompt, with the Korean source retained separately when translation is involved.
- Blind designer preference, structure similarity, prompt adherence, visible distortion/failure rate, first-download bytes, warm latency, peak VRAM, and cancellation behavior.
- Separate results for T4 FP16 and a BF16-capable L4, A10, A100, or H100.
The winning model must improve both human preference and the constraint it is meant to serve. A higher edge score alone is not enough, and a beautiful image that discards the sketch is not a Structure winner.
Why the package still matters when models change¶
The portable value is the study around the model: explicit seeds, a chosen
parent, controlled variations, model revisions, source and output hashes,
prompt provenance, and strict or compatible replay. Custom local or hosted
backends implement the small Backend protocol and keep those records without
forking the workflow.
If you can run a candidate model, use the model benchmark report form to contribute a comparable result rather than a screenshot without settings.
