| { | |
| "parameters": { | |
| "height": { | |
| "type": "integer", | |
| "default": 512, | |
| "min": 256, | |
| "max": 1440, | |
| "description": "Height of the generated image." | |
| }, | |
| "width": { | |
| "type": "integer", | |
| "default": 512, | |
| "min": 256, | |
| "max": 1440, | |
| "description": "Width of the generated image." | |
| }, | |
| "num_inference_steps": { | |
| "type": "integer", | |
| "default": 50, | |
| "min": 1, | |
| "max": 100, | |
| "description": "Number of denoising steps." | |
| }, | |
| "guidance_scale": { | |
| "type": "number", | |
| "default": 3.48, | |
| "min": 0, | |
| "max": 10, | |
| "description": "Guidance scale for the diffusion process." | |
| }, | |
| "seed": { | |
| "type": "integer", | |
| "optional": true, | |
| "description": "Random seed for reproducibility." | |
| }, | |
| "output_quality": { | |
| "type": "integer", | |
| "default": 100, | |
| "min": 0, | |
| "max": 100, | |
| "description": "Quality of the output image." | |
| }, | |
| "megapixels": { | |
| "type": "string", | |
| "default": "1", | |
| "description": "Approximate number of megapixels for the generated image." | |
| }, | |
| "lora_scale": { | |
| "type": "number", | |
| "default": 1, | |
| "min": -1, | |
| "max": 3, | |
| "description": "Strength of LoRA scale." | |
| } | |
| } | |
| } | |