Model reference · open weights
flux-controlnet-canny is an open-weight image model from XLabs-AI. AxForge deploys and operates it for you on dedicated EU-owned hardware — with the licence handled where one is required.
Available as managed deployment — configured and operated for you on dedicated EU hardware, quoted per deployment.
What it is
| Maker | XLabs-AI |
|---|---|
| Type | Image models |
| Task | Text→image |
| Runs with | diffusers |
| Released | 2024-08-16 |
| Popularity | 1k downloads / month |
| Licence | Commercial licence needed |
About
This repository provides a Canny ControlNet checkpoint for FLUX.1-dev model by Black Forest Labs
See our github for comfy ui workflows.
See our github for train script, train configs and demo script for inference.
ControlNet is trained on 1024x1024 resolution and works for 1024x1024 resolution. We release v3 version - better and realistic version, which can be used directly in ComfyUI!
Please, see our ComfyUI custom nodes installation guide
See examples of our models results below. Also, some generation results with input images are provided in "Files and versions"
To try our models, you have 2 options:
Please, try our workflow "canny_workflow.json"
Our weights fall under the FLUX.1 [dev] Non-Commercial License
From the published model card. Full card on the HuggingFace links in the sidebar.
How it works
Using it via the API
Once AxForge deploys flux-controlnet-canny for you, it answers on the OpenAI-compatible API — the same base URL and keys as every other model. (flux-controlnet-canny below is illustrative; you get the exact model name on deployment.)
$ curl -sS https://api.axforge.ai/v1/images/generations \
-H "Authorization: Bearer $AXFORGE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"flux-controlnet-canny","prompt":"a red bicycle","size":"1024x1024"}'
Create an account — your API key is available in the console. 5M tokens/month currently included with every new account at launch.