Fermat Research: SDXL ControlNet LoRA
fermatresearch/sdxl-controlnet-lora
Access SDXL ControlNet LoRA from Fermat Research using the Puter.js AI API.
Add to your appModel Card
SDXL ControlNet LoRA is an image generation model built by FermatResearch that adds canny-edge ControlNet conditioning and LoRA support on top of Stability AI's SDXL.
The canny ControlNet extracts an edge map from a reference image and uses it to guide generation, so the output follows the structure of that input. LoRA weights are then applied on top, so a custom style or subject can be layered onto that same structure in a single request, instead of running separate structure and style passes.
The project is open source (published on GitHub as a Cog implementation) and also supports img2img for iterative refinement. It suits developers who need both structural control, such as matching a pose or layout, and a custom visual style from a trained LoRA, in one API call.
Cost Per Image $0.001
per generation
Configuration second
resolution
Release Date N/A
Add SDXL ControlNet LoRA to your app
Use SDXL ControlNet LoRA in your app with the Puter.js AI API, no API keys or setup required.
// npm install @heyputer/puter.js
import { puter } from '@heyputer/puter.js';
puter.ai.txt2img("A serene mountain landscape at sunset", {
model: "fermatresearch/sdxl-controlnet-lora"
}).then(image => {
document.body.appendChild(image);
});
<html>
<body>
<script src="https://js.puter.com/v2/"></script>
<script>
puter.ai.txt2img("A serene mountain landscape at sunset", {
model: "fermatresearch/sdxl-controlnet-lora"
}).then(image => {
document.body.appendChild(image);
});
</script>
</body>
</html>
Frequently Asked Questions
You can access SDXL ControlNet LoRA by Fermat Research through Puter.js AI API. Include the library in your web app or Node.js project and start making calls with just a few lines of JavaScript — no backend and no configuration required.
SDXL ControlNet LoRA is free to integrate using the Puter.js AI API. With the User-Pays Model, you can add AI to your app for $0, since users cover their own AI usage through their Puter account.
| Price | |
|---|---|
| Per image | $0.001 |
Yes — the SDXL ControlNet LoRA API works with any JavaScript framework, Node.js, or plain HTML through Puter.js. Just include the library and start building. See the documentation for more details.
Add SDXL ControlNet LoRA to your app for free
Developers can integrate SDXL ControlNet LoRA for free using the Puter.js AI API.
With the User-Pays Model, each user covers their own AI usage instead of the developer.