| { | |
| "architectures": ["DiffSketcherModel"], | |
| "model_type": "diffsketcher", | |
| "task": "text-to-svg", | |
| "framework": "pytorch", | |
| "pipeline_tag": "text-generation", | |
| "library_name": "diffusers", | |
| "inference": { | |
| "parameters": { | |
| "num_paths": { | |
| "type": "integer", | |
| "default": 96, | |
| "minimum": 1, | |
| "maximum": 1000, | |
| "description": "Number of SVG paths to generate" | |
| }, | |
| "num_iter": { | |
| "type": "integer", | |
| "default": 500, | |
| "minimum": 10, | |
| "maximum": 2000, | |
| "description": "Number of optimization iterations" | |
| }, | |
| "guidance_scale": { | |
| "type": "number", | |
| "default": 7.5, | |
| "minimum": 1.0, | |
| "maximum": 20.0, | |
| "description": "Guidance scale for diffusion" | |
| }, | |
| "width": { | |
| "type": "integer", | |
| "default": 224, | |
| "minimum": 64, | |
| "maximum": 1024, | |
| "description": "Output SVG width" | |
| }, | |
| "height": { | |
| "type": "integer", | |
| "default": 224, | |
| "minimum": 64, | |
| "maximum": 1024, | |
| "description": "Output SVG height" | |
| }, | |
| "seed": { | |
| "type": "integer", | |
| "default": 42, | |
| "minimum": 0, | |
| "maximum": 2147483647, | |
| "description": "Random seed for reproducibility" | |
| } | |
| } | |
| } | |
| } |