> For the complete documentation index, see [llms.txt](https://docs.flowkit.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.flowkit.app/glb-2-png/image-settings.md).

# Image settings

To customize image settings, insert them between `/r/` and `/u/` in the URL, as shown below:

> <https://www.flowkit.app/s/\\>\<API\_KEY>/r/\<IMAGE\_SETTINGS>/u/\<URL\_TO\_YOUR\_FILE>

For example:

> <https://www.flowkit.app/s/demo/r/rv:15,rh:-45/u/https:/raw.githubusercontent.com/KhronosGroup/glTF-Sample-Models/master/2.0/MaterialsVariantsShoe/glTF/MaterialsVariantsShoe.gltf>

All image settings can be set as a comma (,) separated key-value list in the following format:

> \<KEY>:\<VALUE>

You can find a list of all possible image settings below

## Image Params

### rv - rotation vertical - default: 0

Controls how far the camera is rotated up or down.

Examples:

* rv:45 means the camera is rotated 45 degrees up
* rv:-70 means the camera is rotated -70 degrees down, showing the object from below

### rh - rotation horizontal - default: 0

Controls how far the camera is rotated to the left or right.

Examples:

* rh:45 means the camera is rotated 45 degrees to the right
* rh:-70 means the camera is rotated -70 degrees to the left

### s - size - default: 1024

Set the resolution of the returned image. Images are always square.

Examples:

* s:256 means the returned image has a resolution of 256x256 pixels

### v - variant

Set the variant name that should be rendered.

[About glTF Material Variants](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Khronos/KHR_materials_variants/README.md)

Examples:

* v:street means the returned image will be off the glTF/glb with variant name 'street'

## Additional information

The returned image has by default the type **png**.&#x20;


---

# 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, and the optional `goal` query parameter:

```
GET https://docs.flowkit.app/glb-2-png/image-settings.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
