ModelsLab/Qrcode-V8
qrcode-v8Generates high-quality, scannable QR codes with enhanced visual customization using Stable Diffusion and ControlNet, optimized for creative and functional QR art.
API Endpoint URL
Base URL for all API requests to this endpoint.
https://modelslab.com/api/v5/controlnet
API Authentication
Authentication requires a valid API key included in the request. Generate and manage your API keys from your developer dashboard. Include the key in the key parameter for all API requests.
Integration Examples
Production-ready code samples for API integration
{"init_image": "https://assets.modelslab.com/generations/a8572240-3040-4fd8-b9f4-aeaaf4fe287d","prompt": "a girl, wearing red bikini, looking at camera, ocean in background","controlnet_model": "qrcode-v8","controlnet_type": "qrcode-v8","model_id": "","controlnet_conditioning_scale": "0.5","auto_hint": true,"negative_prompt": "(worst quality:2), (low quality:2), (normal quality:2), (jpeg artifacts), (blurry), (duplicate), (morbid), (mutilated), (out of frame), (extra limbs), (bad anatomy), (disfigured), (deformed), (cross-eye), (glitch), (oversaturated), (overexposed), (underexposed), (bad proportions), (bad hands), (bad feet), (cloned face), (long neck), (missing arms), (missing legs), (extra fingers), (fused fingers), (poorly drawn hands), (poorly drawn face), (mutation), (deformed eyes), watermark, text, logo, signature, grainy, tiling, censored, nsfw, ugly, blurry eyes, noisy image, bad lighting, unnatural skin, asymmetry","samples": "1","guidance_scale": "7.5","num_inference_steps": "31","base64": "no","key": "YOUR_API_KEY"}
SDKs
Official SDKs
Production-ready SDKs and client libraries for all major programming languages
API Parameters
Technical specifications for API request parameters.
| Field Name | Parameter | Technical Description |
|---|---|---|
| init_image | init_image | Image to upscale/enhance |
| prompt | prompt | Text description of the image you want to generate |
| controlnet_model | controlnet_model | controlnet model and conttrolnet type must be same |
| controlnet_type | controlnet_type | controlnet model and conttrolnet type must be same |
| model_id | model_id | Some controlNet models are not supported by FLUX |
| image strength | controlnet_conditioning_scale | 0.1 (Creative) takes min refrance from init image and 1.0 takes max refrance from init image |
| auto_hint | auto_hint | Automatically process control input |
| negative_prompt | negative_prompt | Things you do not want in the generated image |
| samples | samples | Number of images to generate (1-4) |
| guidance_scale | guidance_scale | How closely to follow the prompt (1-10) |
| Steps | num_inference_steps | Number of inference steps |
| base64 | base64 | Get response as a base64 string. Pass init_image, mask_image, and control_image as base64 strings to get base64 response |