{"engines":["tracecraft","auto","vtracer","potrace"],"tracecraft":{"maxColors":{"type":"number","min":2,"max":256,"default":16,"description":"Palette size for median-cut quantization"},"minRegion":{"type":"number","min":0,"max":1024,"default":25,"description":"Merge regions smaller than this many pixels"},"tolerance":{"type":"number","min":0,"max":5,"default":0.5,"description":"Curve fit tolerance in pixels"},"drawStyle":{"type":"enum","values":["fill","strokeShapes","strokeEdges"],"default":"fill","description":"Fill shapes, outline each shape, or stroke each shared boundary exactly once"},"shapeStacking":{"type":"enum","values":["cutouts","stacked"],"default":"cutouts","description":"Exact cut-out holes vs solid stacked shapes (editability)"},"groupBy":{"type":"enum","values":["none","color"],"default":"none","description":"Merge per color (smallest) or group paths per color (editable)"},"fixedSize":{"type":"boolean","default":false,"description":"Emit width/height attributes"},"gapFiller":{"type":"enum","values":["auto","on","off"],"default":"auto","description":"Anti-conflation same-paint stroke (auto: on except fine-detail)"},"gapFillerWidth":{"type":"number","min":0.05,"max":4,"default":0.25,"description":"Gap filler stroke width (px)"},"strokeWidth":{"type":"number","min":0.05,"max":20,"default":1,"description":"Stroke width for stroke draw styles"},"overrideColor":{"type":"string","description":"Force stroke color (e.g. #000) in stroke draw styles"},"nonScalingStroke":{"type":"boolean","default":false,"description":"vector-effect: non-scaling-stroke"}},"vtracer":{"colorMode":{"type":"enum","values":["color","bw"],"default":"color"},"hierarchical":{"type":"enum","values":["stacked","cutout"],"default":"stacked"},"mode":{"type":"enum","values":["spline","polygon","pixel"],"default":"spline"},"preset":{"type":"enum","values":["none","bw","poster","photo"],"default":"none"},"filterSpeckle":{"type":"number","min":0,"max":128,"default":4,"description":"Suppress speckles up to this pixel size"},"colorPrecision":{"type":"number","min":1,"max":8,"default":6,"description":"Number of significant bits for color quantization"},"gradientStep":{"type":"number","min":0,"max":256,"default":16,"description":"Color difference between gradient layers"},"cornerThreshold":{"type":"number","min":0,"max":180,"default":60,"description":"Angle threshold for corners (degrees)"},"segmentLength":{"type":"number","min":3.5,"max":10,"default":4,"description":"Max segment length before subdivision"},"spliceThreshold":{"type":"number","min":0,"max":180,"default":45,"description":"Angle threshold for splicing"},"pathPrecision":{"type":"number","min":1,"max":8,"default":8,"description":"Decimal precision for path coordinates"}},"potrace":{"threshold":{"type":"number","min":0,"max":255,"default":128,"description":"Black/white threshold"},"turdSize":{"type":"number","min":0,"max":100,"default":2,"description":"Suppress speckles up to this pixel size"},"turnPolicy":{"type":"enum","values":["black","white","left","right","minority","majority"],"default":"minority"},"alphaMax":{"type":"number","min":0,"max":1.334,"default":1,"step":0.01,"description":"Corner smoothness (0=sharp, 1.334=smooth)"},"optCurve":{"type":"boolean","default":true,"description":"Optimize Bézier curves"},"optTolerance":{"type":"number","min":0,"max":1,"default":0.2,"step":0.01,"description":"Curve optimization tolerance"}}}