Stable Diffusion
Canny
model_id: canny
Build with Canny API. ControlNet powered by AI. Pay-per-use. Free tier. 更适合东方宝宝的canny实验型模型flux引导:20模型用途声明1. 你不得将此模型及其衍生版本(如融合模型版本)托管于计划赚取收入或捐赠的网站/应用程序。如果您需要将此模型及其衍生版本用于商业目的(如生成式服务、售卖图片、将图片用于公开发表到短视频平台的文章或出版物等等),请通过站内联系本人2. 您不得直接售卖由此模型生成的图片,除非您对该图片进行了足够程度的人工修改,使其在法律意义上可以被完全判定为您的个人作品。如果您违反本条,所造成的一切法律后果由您个人承担,请恕本人概不负责。3. 您不能使用该模型故意制作或共享非法或有害的内容传播和输出,请您遵守公序良德,将此模型用于积极正面的用途。 You can integrate Canny into your application with a single API call. Sign up on ModelsLab to get your API key, then use the model ID "canny" in your API requests. We provide SDKs for Python, JavaScript, and cURL examples in the API documentation. Canny costs $0.0047 per API call. ModelsLab uses pay-per-use pricing with no minimum commitments. A free tier is available to get started.
Generate with Canny via API
Send a POST request to https://stablediffusionapi.com/api/v4/dreambooth with your API key.
Get yours at modelslab.com.
curl -X POST 'https://stablediffusionapi.com/api/v4/dreambooth' \
-H 'Content-Type: application/json' \
-d '{
"key": "YOUR_API_KEY",
"model_id": "canny",
"prompt": "a photo of canny",
"negative_prompt": null,
"width": "512",
"height": "512",
"samples": "1",
"num_inference_steps": "30",
"guidance_scale": "7.5",
"safety_checker": "no",
"enhance_prompt": "yes",
"seed": null,
"webhook": null,
"track_id": null
}' Parameters
| Parameter | Default | Description |
|---|---|---|
| model_id | canny | Model identifier |
| prompt | ||
| negative_prompt | ||
| width | 512 | Output image width (px) |
| height | 512 | Output image height (px) |
| samples | 1 | Number of images to generate |
| num_inference_steps | 30 | Denoising steps (1-50) |
| guidance_scale | 7.5 | Prompt adherence (1-20) |
| seed | null | Random seed (null to randomize) |
| safety_checker | yes | NSFW filter (yes/no) |
| enhance_prompt | yes | Auto-improve prompt (yes/no) |
Also searched as
Canny is also known as: Canny, canny. Use it for stable diffusion image generation, available for download via the Stable Diffusion API REST API at https://stablediffusionapi.com/api/v4/dreambooth.
FAQ — Canny
- How do I use Canny via API?
- Send a POST request to https://stablediffusionapi.com/api/v4/dreambooth with your API key, prompt, and model_id "canny". Get an API key from modelslab.com.
- Is Canny free to use?
- Yes — Stable Diffusion API offers a free tier with 20 generations. Paid plans starting at $8/month give you unlimited access to Canny and 1,000+ other models.
- What parameters does Canny support?
- Canny accepts standard Stable Diffusion parameters: prompt, negative_prompt, width, height, samples, num_inference_steps (default 30), guidance_scale (default 7.5), seed, and safety_checker.
- Can I use generated images commercially?
- Yes. You retain copyright on all images you generate via the API and can use them commercially.
Related models
Cyberreal
378.1K images generated
Gakuen De Jikan Yo Tomare AnimagineXL 4 0opt 1754375412
378.1K images generated
Stable Diffusion v1-5
Nudify V141
378.1K images generated
Deliberate V2
378.1K images generated
Realistic Vision V51
378.1K images generated
Anything V5
378.1K images generated
Tufos Comic Style Nerd Stallion F1d XL Nerd Stallion F1d V2 1
378.1K images generated