> For the complete documentation index, see [llms.txt](https://on-premises.docs.hyper3d.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://on-premises.docs.hyper3d.ai/texture-generation/rodin-texture.md).

# Rodin Texture

{% hint style="warning" %}
The request body should be wrapped in the **FormData** instead of plain JSON, while settings should be parsed to JSON.
{% endhint %}

> To generate from a previously uploaded image, the `texture_reference_file_name` is fetched from the [task detail API](/task/fetch-task-detail.md), 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`.&#x20;
>
> For settings, only parameters marked as `Texture Generation Only` need to be passed through.

{% openapi src="/files/gJlKKDx0bj3wUm8btUfT" path="/api/task/rodin\_texture" method="post" expanded="true" %}
[openapi3\_0 (5).json](https://4246159311-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJc2Olnfmy17B0BpCm82C%2Fuploads%2Fgit-blob-5050e1639ebc3dccc8449cfb5488b2a8e5510689%2Fopenapi3_0%20\(5\).json?alt=media)
{% endopenapi %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://on-premises.docs.hyper3d.ai/texture-generation/rodin-texture.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
