Save and reuse predefined compression settings for faster, consistent workflows.
Compression presets let you store a named set of compression options—like texture quality, Draco level, and mesh transforms—so you can apply them to any upload with a single click or API call.
Whenever you upload files (single or batch), you’ll see a Presetdropdown. Pick any of your saved presets and the advanced options panel will update instantly. The chosen preset ID is included with your upload so the server applies those settings.
Send the header x-preset-id: <preset_uuid> alongside your file in /api/1/files/upload/sync or/api/1/files/upload/async requests. The backend merges the preset options with any ad-hoc overrides you include in x-compression-options.
curl -X POST \ -H "Authorization: Bearer <your_token>" \ -H "x-preset-id: 123e4567-e89b-12d3-a456-426614174000" \ -F "[email protected]" \ https://compress-glb.com/api/1/files/upload/sync| Name | Focus | Key Settings |
|---|---|---|
| High-fidelity Web | Quality | Texture quality 90 %, Draco level 5 |
| Ultra-small AR/VR | File size | Texture resize 512, quality 70 %, Draco level 10 |
| No-texture Optimisation | Geometry-only | texture.enabled false, mesh transforms on |