Silk API

Render racing silks as SVG straight from a URL: GET /silk?body=…&sleeves=…&cap=…. Pass desc= to render from a colours description instead.

silk example
/silk?body=quartered:red,yellow&sleeves=hoops:yellow,red&cap=solid:red
silk example
/silk?body=stars:red,white&sleeves=solid:red&cap=solid:white
silk example
/silk?desc=Royal%20blue%2C%20yellow%20stars%2C%20yellow%20cap

Parameters

ParamMeaningExample
bodyJacket marking — pattern:colour,colourquartered:red,yellow
sleevesSleeve markinghooped:yellow,red
capCap markingsolid:red
cPacked config (base64url JSON) — used for layered / imported silkseyJib2R5Ijou…
outlineOutline colour, or nonenone
sheenSatin highlight: 1 or 00
sizeIntrinsic SVG width in px512
bgPage background: transparent or hexf3f1ea