| { | |
| "_class_name": "CustomInferenceAPI", | |
| "task": "text-to-image", | |
| "widget": { | |
| "input_template": { | |
| "inputs": "beautiful landscape with mountains", | |
| "parameters": { | |
| "negative_prompt": "blurry, low quality", | |
| "seed": 42, | |
| "inference_steps": 30, | |
| "guidance_scale": 7, | |
| "width": 1024, | |
| "height": 768 | |
| } | |
| }, | |
| "output_widget": "Base64ImageOutput" | |
| } | |
| } |