Rodin Texture

The Rodin texture function is designed to create texture based on specific mesh and settings.

The request body should be wrapped in the FormData instead of plain JSON, while settings should be parsed to JSON.

To generate from a previously uploaded image, the texture_reference_file_name is fetched from the task detail API, corresponding to the images previously uploaded for the mesh generation stage.

For newly uploaded images, the texture_reference_file_index should always be set to 0, with each new image wrapped in FormData and each image binary appended under the field name images.

For settings, only parameters marked as Texture Generation Only need to be passed through.

Last updated