Skip to main content

Request encoded variants

POST 

/api/v1/materials/:material_id/variants

Queues server-side encodes (basisu) of the material's runtime textures. Send either a preset or a list of variants; textures the material has no source for are skipped. Requesting settings that already have a ready file encodes a new version, and the current one is served until it is ready. y_flip is the material's (change it with PATCH on the material). Answers 202 with the queued variants; poll GET until each status is ready or failed. Allowed for the material's editors.

Request​

Responses​

Encodes queued