{"name":"Cosmix","description":"A registry of assets for agents. Pick from `assets` below, read one asset's details, then download its files or build it to your parameters.","terms":{"pack":"A set of assets that go together. Identified by packId, e.g. \"car-kit\".","asset":"One downloadable thing in a pack. Identified by a pack-qualified assetId, e.g. \"car-kit.sedan\".","parametric":"Built to order from parts. Its details carry a `parameters` JSON Schema."},"endpoints":[{"method":"GET","path":"/v1/index.json","returns":"This document: every pack and asset, each with enough to choose from."},{"method":"GET","path":"/v1/asset/{packId | assetId}.json","returns":"Full details. An asset lists the facts needed to place it and, if parametric, its `parameters` schema."},{"method":"GET","path":"/v1/download/{packId | assetId}.json","returns":"The original files as a manifest: path, url, sha256, size. Fetch each url and verify its sha256."}],"module":{"path":"/v1/cosmix.js","what":"An ES module for browsers. It builds parametric assets in the page, from parts the browser caches, so each variation costs no extra download. Nothing to install.","usage":["const cosmix = await import(\"https://<this host>/v1/cosmix.js\");","await cosmix.search(\"taxi\")  // { total, results }, results shaped like `assets` below","await cosmix.asset(\"car-kit.taxi\")  // the same details as /v1/asset/{id}.json","await cosmix.build(\"car-kit.taxi\", { length: 2 })  // { bytes, facts, buildId, params, name, mime }","await cosmix.download(\"car-kit.cone\")  // the original files: [{ path, mime, sha256, bytes }]"],"errors":"Invalid params throw an Error whose message names each bad field."},"totals":{"packs":1,"assets":51},"packs":[{"type":"pack","packId":"car-kit","title":"Car Kit","summary":"50 low-poly vehicles, karts, wheels, car parts and street props in one style, most of them configurable.","category":"3d","tags":["vehicle","car","low-poly","kenney","racing","city","traffic"],"thumbnail":"https://cosmix-files.openbrewai.com/public/packs/car-kit/0.2.0/previews/contact-sheet.png","totalFiles":51,"license":"CC0-1.0"}],"assets":[{"type":"asset","packId":"car-kit","assetId":"car-kit.ambulance","title":"Ambulance","summary":"White ambulance with red stripes and blue roof lights.","category":"3d","tags":["vehicle","car","ambulance","emergency","medical","van","low-poly"],"thumbnail":"https://cosmix-files.openbrewai.com/public/packs/car-kit/0.2.0/previews/ambulance.png","license":"CC0-1.0","parametric":true},{"type":"asset","packId":"car-kit","assetId":"car-kit.box","title":"Box","summary":"Taped cardboard box. Can be piled.","category":"3d","tags":["prop","street","box","cargo","crate","cardboard","low-poly"],"thumbnail":"https://cosmix-files.openbrewai.com/public/packs/car-kit/0.2.0/previews/box.png","license":"CC0-1.0","parametric":true},{"type":"asset","packId":"car-kit","assetId":"car-kit.cone-flat","title":"Cone Flat","summary":"Traffic cone squashed flat.","category":"3d","tags":["prop","street","cone","flat","traffic","roadworks","knocked-over","low-poly"],"thumbnail":"https://cosmix-files.openbrewai.com/public/packs/car-kit/0.2.0/previews/cone-flat.png","license":"CC0-1.0"},{"type":"asset","packId":"car-kit","assetId":"car-kit.cone","title":"Cone","summary":"Orange and white traffic cone. Can be piled.","category":"3d","tags":["prop","street","cone","traffic","roadworks","low-poly"],"thumbnail":"https://cosmix-files.openbrewai.com/public/packs/car-kit/0.2.0/previews/cone.png","license":"CC0-1.0","parametric":true},{"type":"asset","packId":"car-kit","assetId":"car-kit.debris-bolt","title":"Debris Bolt","summary":"Loose hex bolt. Can be piled.","category":"3d","tags":["debris","part","wreckage","bolt","low-poly"],"thumbnail":"https://cosmix-files.openbrewai.com/public/packs/car-kit/0.2.0/previews/debris-bolt.png","license":"CC0-1.0","parametric":true},{"type":"asset","packId":"car-kit","assetId":"car-kit.debris-bumper","title":"Debris Bumper","summary":"Detached front bumper bar.","category":"3d","tags":["debris","part","wreckage","bumper","low-poly"],"thumbnail":"https://cosmix-files.openbrewai.com/public/packs/car-kit/0.2.0/previews/debris-bumper.png","license":"CC0-1.0"},{"type":"asset","packId":"car-kit","assetId":"car-kit.debris-door-window","title":"Debris Door Window","summary":"Detached red car door with its window glass.","category":"3d","tags":["debris","part","wreckage","door","window","low-poly"],"thumbnail":"https://cosmix-files.openbrewai.com/public/packs/car-kit/0.2.0/previews/debris-door-window.png","license":"CC0-1.0"},{"type":"asset","packId":"car-kit","assetId":"car-kit.debris-door","title":"Debris Door","summary":"Detached red car door with an empty window frame.","category":"3d","tags":["debris","part","wreckage","door","low-poly"],"thumbnail":"https://cosmix-files.openbrewai.com/public/packs/car-kit/0.2.0/previews/debris-door.png","license":"CC0-1.0"},{"type":"asset","packId":"car-kit","assetId":"car-kit.debris-drivetrain-axle","title":"Debris Drivetrain Axle","summary":"Detached single axle.","category":"3d","tags":["debris","part","wreckage","drivetrain","axle","low-poly"],"thumbnail":"https://cosmix-files.openbrewai.com/public/packs/car-kit/0.2.0/previews/debris-drivetrain-axle.png","license":"CC0-1.0"},{"type":"asset","packId":"car-kit","assetId":"car-kit.debris-drivetrain","title":"Debris Drivetrain","summary":"Detached drivetrain with both axles.","category":"3d","tags":["debris","part","wreckage","drivetrain","low-poly"],"thumbnail":"https://cosmix-files.openbrewai.com/public/packs/car-kit/0.2.0/previews/debris-drivetrain.png","license":"CC0-1.0"},{"type":"asset","packId":"car-kit","assetId":"car-kit.debris-nut","title":"Debris Nut","summary":"Loose hex nut. Can be piled.","category":"3d","tags":["debris","part","wreckage","nut","low-poly"],"thumbnail":"https://cosmix-files.openbrewai.com/public/packs/car-kit/0.2.0/previews/debris-nut.png","license":"CC0-1.0","parametric":true},{"type":"asset","packId":"car-kit","assetId":"car-kit.debris-plate-a","title":"Debris Plate A","summary":"Loose red body panel with a crease down the middle.","category":"3d","tags":["debris","part","wreckage","plate","a","low-poly"],"thumbnail":"https://cosmix-files.openbrewai.com/public/packs/car-kit/0.2.0/previews/debris-plate-a.png","license":"CC0-1.0"},{"type":"asset","packId":"car-kit","assetId":"car-kit.debris-plate-b","title":"Debris Plate B","summary":"Loose red body panel, curved.","category":"3d","tags":["debris","part","wreckage","plate","b","low-poly"],"thumbnail":"https://cosmix-files.openbrewai.com/public/packs/car-kit/0.2.0/previews/debris-plate-b.png","license":"CC0-1.0"},{"type":"asset","packId":"car-kit","assetId":"car-kit.debris-plate-small-a","title":"Debris Plate Small A","summary":"Small loose dark grey panel.","category":"3d","tags":["debris","part","wreckage","plate","small","a","low-poly"],"thumbnail":"https://cosmix-files.openbrewai.com/public/packs/car-kit/0.2.0/previews/debris-plate-small-a.png","license":"CC0-1.0"},{"type":"asset","packId":"car-kit","assetId":"car-kit.debris-plate-small-b","title":"Debris Plate Small B","summary":"Small loose panel, second shape.","category":"3d","tags":["debris","part","wreckage","plate","small","b","low-poly"],"thumbnail":"https://cosmix-files.openbrewai.com/public/packs/car-kit/0.2.0/previews/debris-plate-small-b.png","license":"CC0-1.0"},{"type":"asset","packId":"car-kit","assetId":"car-kit.debris-spoiler-a","title":"Debris Spoiler A","summary":"Detached flat rear spoiler.","category":"3d","tags":["debris","part","wreckage","spoiler","a","low-poly"],"thumbnail":"https://cosmix-files.openbrewai.com/public/packs/car-kit/0.2.0/previews/debris-spoiler-a.png","license":"CC0-1.0"},{"type":"asset","packId":"car-kit","assetId":"car-kit.debris-spoiler-b","title":"Debris Spoiler B","summary":"Detached rear wing with endplates.","category":"3d","tags":["debris","part","wreckage","spoiler","b","low-poly"],"thumbnail":"https://cosmix-files.openbrewai.com/public/packs/car-kit/0.2.0/previews/debris-spoiler-b.png","license":"CC0-1.0"},{"type":"asset","packId":"car-kit","assetId":"car-kit.debris-tire","title":"Debris Tire","summary":"Bare tyre with no rim. Can be piled.","category":"3d","tags":["debris","part","wreckage","tire","low-poly"],"thumbnail":"https://cosmix-files.openbrewai.com/public/packs/car-kit/0.2.0/previews/debris-tire.png","license":"CC0-1.0","parametric":true},{"type":"asset","packId":"car-kit","assetId":"car-kit.delivery-flat","title":"Delivery Flat","summary":"Flatbed truck with a red cab and an empty load bed.","category":"3d","tags":["vehicle","car","delivery","flat","truck","cargo","flatbed","low-poly"],"thumbnail":"https://cosmix-files.openbrewai.com/public/packs/car-kit/0.2.0/previews/delivery-flat.png","license":"CC0-1.0","parametric":true},{"type":"asset","packId":"car-kit","assetId":"car-kit.delivery","title":"Delivery","summary":"Box truck with a white cab and a tall green cargo box.","category":"3d","tags":["vehicle","car","delivery","truck","cargo","box-truck","low-poly"],"thumbnail":"https://cosmix-files.openbrewai.com/public/packs/car-kit/0.2.0/previews/delivery.png","license":"CC0-1.0","parametric":true},{"type":"asset","packId":"car-kit","assetId":"car-kit.firetruck","title":"Firetruck","summary":"Long red fire engine with blue lights and a bull bar.","category":"3d","tags":["vehicle","car","firetruck","emergency","fire","truck","low-poly"],"thumbnail":"https://cosmix-files.openbrewai.com/public/packs/car-kit/0.2.0/previews/firetruck.png","license":"CC0-1.0","parametric":true},{"type":"asset","packId":"car-kit","assetId":"car-kit.garbage-truck","title":"Garbage Truck","summary":"Green garbage truck with a full bin and a front loading arm.","category":"3d","tags":["vehicle","car","garbage","truck","city","utility","waste","low-poly"],"thumbnail":"https://cosmix-files.openbrewai.com/public/packs/car-kit/0.2.0/previews/garbage-truck.png","license":"CC0-1.0","parametric":true},{"type":"asset","packId":"car-kit","assetId":"car-kit.hatchback-sports","title":"Hatchback Sports","summary":"Low green sports hatchback.","category":"3d","tags":["vehicle","car","hatchback","sports","low-poly"],"thumbnail":"https://cosmix-files.openbrewai.com/public/packs/car-kit/0.2.0/previews/hatchback-sports.png","license":"CC0-1.0","parametric":true},{"type":"asset","packId":"car-kit","assetId":"car-kit.kart-oobi","title":"Kart Oobi","summary":"Go-kart driven by a purple character in a white helmet.","category":"3d","tags":["kart","vehicle","character","racing","oobi","low-poly"],"thumbnail":"https://cosmix-files.openbrewai.com/public/packs/car-kit/0.2.0/previews/kart-oobi.png","license":"CC0-1.0","parametric":true},{"type":"asset","packId":"car-kit","assetId":"car-kit.kart-oodi","title":"Kart Oodi","summary":"Go-kart driven by a pink character in a white helmet.","category":"3d","tags":["kart","vehicle","character","racing","oodi","low-poly"],"thumbnail":"https://cosmix-files.openbrewai.com/public/packs/car-kit/0.2.0/previews/kart-oodi.png","license":"CC0-1.0","parametric":true},{"type":"asset","packId":"car-kit","assetId":"car-kit.kart-ooli","title":"Kart Ooli","summary":"Go-kart driven by a yellow character in a white helmet.","category":"3d","tags":["kart","vehicle","character","racing","ooli","low-poly"],"thumbnail":"https://cosmix-files.openbrewai.com/public/packs/car-kit/0.2.0/previews/kart-ooli.png","license":"CC0-1.0","parametric":true},{"type":"asset","packId":"car-kit","assetId":"car-kit.kart-oopi","title":"Kart Oopi","summary":"Go-kart driven by a teal character in a white helmet.","category":"3d","tags":["kart","vehicle","character","racing","oopi","low-poly"],"thumbnail":"https://cosmix-files.openbrewai.com/public/packs/car-kit/0.2.0/previews/kart-oopi.png","license":"CC0-1.0","parametric":true},{"type":"asset","packId":"car-kit","assetId":"car-kit.kart-oozi","title":"Kart Oozi","summary":"Go-kart driven by a tan character in a white helmet.","category":"3d","tags":["kart","vehicle","character","racing","oozi","low-poly"],"thumbnail":"https://cosmix-files.openbrewai.com/public/packs/car-kit/0.2.0/previews/kart-oozi.png","license":"CC0-1.0","parametric":true},{"type":"asset","packId":"car-kit","assetId":"car-kit.police","title":"Police","summary":"White police car with a roof light bar and a bull bar.","category":"3d","tags":["vehicle","car","police","emergency","law","sedan","low-poly"],"thumbnail":"https://cosmix-files.openbrewai.com/public/packs/car-kit/0.2.0/previews/police.png","license":"CC0-1.0","parametric":true},{"type":"asset","packId":"car-kit","assetId":"car-kit.race-future","title":"Race Future","summary":"Blue futuristic racing car with covered wheels.","category":"3d","tags":["vehicle","car","race","future","racing","formula","sci-fi","sports","low-poly"],"thumbnail":"https://cosmix-files.openbrewai.com/public/packs/car-kit/0.2.0/previews/race-future.png","license":"CC0-1.0","parametric":true},{"type":"asset","packId":"car-kit","assetId":"car-kit.race","title":"Race","summary":"Red open-wheel formula racing car with front and rear wings.","category":"3d","tags":["vehicle","car","race","racing","formula","sports","low-poly"],"thumbnail":"https://cosmix-files.openbrewai.com/public/packs/car-kit/0.2.0/previews/race.png","license":"CC0-1.0","parametric":true},{"type":"asset","packId":"car-kit","assetId":"car-kit.sedan-sports","title":"Sedan Sports","summary":"Red sports coupe with a rear spoiler.","category":"3d","tags":["vehicle","car","sedan","sports","coupe","low-poly"],"thumbnail":"https://cosmix-files.openbrewai.com/public/packs/car-kit/0.2.0/previews/sedan-sports.png","license":"CC0-1.0","parametric":true},{"type":"asset","packId":"car-kit","assetId":"car-kit.sedan","title":"Sedan","summary":"Red four-door family car.","category":"3d","tags":["vehicle","car","sedan","low-poly"],"thumbnail":"https://cosmix-files.openbrewai.com/public/packs/car-kit/0.2.0/previews/sedan.png","license":"CC0-1.0","parametric":true},{"type":"asset","packId":"car-kit","assetId":"car-kit.suv-luxury","title":"Suv Luxury","summary":"Large yellow luxury SUV with a sunroof.","category":"3d","tags":["vehicle","car","suv","luxury","offroad","4x4","low-poly"],"thumbnail":"https://cosmix-files.openbrewai.com/public/packs/car-kit/0.2.0/previews/suv-luxury.png","license":"CC0-1.0","parametric":true},{"type":"asset","packId":"car-kit","assetId":"car-kit.suv","title":"Suv","summary":"Boxy green off-roader with a grey roof and a spare wheel on the back.","category":"3d","tags":["vehicle","car","suv","offroad","4x4","low-poly"],"thumbnail":"https://cosmix-files.openbrewai.com/public/packs/car-kit/0.2.0/previews/suv.png","license":"CC0-1.0","parametric":true},{"type":"asset","packId":"car-kit","assetId":"car-kit.taxi","title":"Taxi","summary":"Yellow taxi cab with a roof sign.","category":"3d","tags":["vehicle","car","taxi","cab","city","sedan","low-poly"],"thumbnail":"https://cosmix-files.openbrewai.com/public/packs/car-kit/0.2.0/previews/taxi.png","license":"CC0-1.0","parametric":true},{"type":"asset","packId":"car-kit","assetId":"car-kit.tractor-police","title":"Tractor Police","summary":"Police tractor in white with roof lights and a bull bar.","category":"3d","tags":["vehicle","car","tractor","police","emergency","law","farm","low-poly"],"thumbnail":"https://cosmix-files.openbrewai.com/public/packs/car-kit/0.2.0/previews/tractor-police.png","license":"CC0-1.0","parametric":true},{"type":"asset","packId":"car-kit","assetId":"car-kit.tractor-shovel","title":"Tractor Shovel","summary":"Green tractor with a front loader shovel.","category":"3d","tags":["vehicle","car","tractor","shovel","farm","construction","bulldozer","loader","low-poly"],"thumbnail":"https://cosmix-files.openbrewai.com/public/packs/car-kit/0.2.0/previews/tractor-shovel.png","license":"CC0-1.0","parametric":true},{"type":"asset","packId":"car-kit","assetId":"car-kit.tractor","title":"Tractor","summary":"Grey farm tractor with a yellow bonnet and large rear wheels.","category":"3d","tags":["vehicle","car","tractor","farm","agriculture","low-poly"],"thumbnail":"https://cosmix-files.openbrewai.com/public/packs/car-kit/0.2.0/previews/tractor.png","license":"CC0-1.0","parametric":true},{"type":"asset","packId":"car-kit","assetId":"car-kit.truck-flat","title":"Truck Flat","summary":"White pickup truck with a flat load bed.","category":"3d","tags":["vehicle","car","truck","flat","pickup","flatbed","utility","low-poly"],"thumbnail":"https://cosmix-files.openbrewai.com/public/packs/car-kit/0.2.0/previews/truck-flat.png","license":"CC0-1.0","parametric":true},{"type":"asset","packId":"car-kit","assetId":"car-kit.truck","title":"Truck","summary":"Green pickup truck with an open bed.","category":"3d","tags":["vehicle","car","truck","pickup","utility","low-poly"],"thumbnail":"https://cosmix-files.openbrewai.com/public/packs/car-kit/0.2.0/previews/truck.png","license":"CC0-1.0","parametric":true},{"type":"asset","packId":"car-kit","assetId":"car-kit.van","title":"Van","summary":"Blue panel van.","category":"3d","tags":["vehicle","car","van","cargo","utility","low-poly"],"thumbnail":"https://cosmix-files.openbrewai.com/public/packs/car-kit/0.2.0/previews/van.png","license":"CC0-1.0","parametric":true},{"type":"asset","packId":"car-kit","assetId":"car-kit.vehicle","title":"Custom Vehicle","summary":"Build your own low-poly vehicle on any chassis in the kit.","category":"3d","tags":["vehicle","car","custom","builder","parametric","low-poly"],"thumbnail":"https://cosmix-files.openbrewai.com/public/packs/car-kit/0.2.0/previews/contact-sheet.png","license":"CC0-1.0","parametric":true},{"type":"asset","packId":"car-kit","assetId":"car-kit.wheel-dark","title":"Wheel Dark","summary":"Car wheel with a dark rim.","category":"3d","tags":["wheel","tire","part","dark","low-poly"],"thumbnail":"https://cosmix-files.openbrewai.com/public/packs/car-kit/0.2.0/previews/wheel-dark.png","license":"CC0-1.0"},{"type":"asset","packId":"car-kit","assetId":"car-kit.wheel-default","title":"Wheel Default","summary":"Standard car wheel with a light rim.","category":"3d","tags":["wheel","tire","part","default","low-poly"],"thumbnail":"https://cosmix-files.openbrewai.com/public/packs/car-kit/0.2.0/previews/wheel-default.png","license":"CC0-1.0"},{"type":"asset","packId":"car-kit","assetId":"car-kit.wheel-racing","title":"Wheel Racing","summary":"Racing wheel with an orange rim.","category":"3d","tags":["wheel","tire","part","racing","low-poly"],"thumbnail":"https://cosmix-files.openbrewai.com/public/packs/car-kit/0.2.0/previews/wheel-racing.png","license":"CC0-1.0"},{"type":"asset","packId":"car-kit","assetId":"car-kit.wheel-tractor-back","title":"Wheel Tractor Back","summary":"Large rear tractor wheel with an orange rim.","category":"3d","tags":["wheel","tire","part","tractor","back","low-poly"],"thumbnail":"https://cosmix-files.openbrewai.com/public/packs/car-kit/0.2.0/previews/wheel-tractor-back.png","license":"CC0-1.0"},{"type":"asset","packId":"car-kit","assetId":"car-kit.wheel-tractor-dark-back","title":"Wheel Tractor Dark Back","summary":"Large rear tractor wheel with a dark rim.","category":"3d","tags":["wheel","tire","part","tractor","dark","back","low-poly"],"thumbnail":"https://cosmix-files.openbrewai.com/public/packs/car-kit/0.2.0/previews/wheel-tractor-dark-back.png","license":"CC0-1.0"},{"type":"asset","packId":"car-kit","assetId":"car-kit.wheel-tractor-dark-front","title":"Wheel Tractor Dark Front","summary":"Small front tractor wheel with a dark rim.","category":"3d","tags":["wheel","tire","part","tractor","dark","front","low-poly"],"thumbnail":"https://cosmix-files.openbrewai.com/public/packs/car-kit/0.2.0/previews/wheel-tractor-dark-front.png","license":"CC0-1.0"},{"type":"asset","packId":"car-kit","assetId":"car-kit.wheel-tractor-front","title":"Wheel Tractor Front","summary":"Small front tractor wheel with an orange rim.","category":"3d","tags":["wheel","tire","part","tractor","front","low-poly"],"thumbnail":"https://cosmix-files.openbrewai.com/public/packs/car-kit/0.2.0/previews/wheel-tractor-front.png","license":"CC0-1.0"},{"type":"asset","packId":"car-kit","assetId":"car-kit.wheel-truck","title":"Wheel Truck","summary":"Truck wheel with a light rim.","category":"3d","tags":["wheel","tire","part","truck","low-poly"],"thumbnail":"https://cosmix-files.openbrewai.com/public/packs/car-kit/0.2.0/previews/wheel-truck.png","license":"CC0-1.0"}]}