| { | |
| "architectures": ["SVGDreamerModel"], | |
| "model_type": "svgdreamer", | |
| "task": "text-to-svg", | |
| "framework": "pytorch", | |
| "pipeline_tag": "text-to-image", | |
| "library_name": "diffusers", | |
| "inference": { | |
| "parameters": { | |
| "n_particle": { | |
| "type": "integer", | |
| "default": 6, | |
| "minimum": 1, | |
| "maximum": 12, | |
| "description": "Number of SVG particles to generate simultaneously" | |
| }, | |
| "num_iter": { | |
| "type": "integer", | |
| "default": 1000, | |
| "minimum": 100, | |
| "maximum": 3000, | |
| "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" | |
| }, | |
| "style": { | |
| "type": "string", | |
| "default": "iconography", | |
| "enum": ["iconography", "pixel_art", "sketch", "painting"], | |
| "description": "Style of the generated SVG" | |
| } | |
| } | |
| } | |
| } |