> For the complete documentation index, see [llms.txt](https://enoch-app.gitbook.io/enoch/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://enoch-app.gitbook.io/enoch/api-references/enoch-rest-apis/get-2d-avatars.md).

# GET - 2D Avatars

#### Parameters, expected values, and examples

{% tabs %}
{% tab title="/avatarId.png" %}
ID of an avatar with .png file extension.

**Expected values (String)**

* `6185a4acfb622cf1cdc49348.png`

{% hint style="info" %}
It may take some time to render the image in the backend for the initial request. For subsequent requests, the images will be fetched from cache and delivered much faster.
{% endhint %}
{% endtab %}

{% tab title="Examples" %}
**Returned value**

You will receive a .png image[.](https://docs.fileformat.com/3d/glb/)&#x20;
{% endtab %}
{% endtabs %}

{% tabs %}
{% tab title="?Scene" %}

Name of the portrait type to render.

**Expected values (String)**

* `fullbody-portrait-v1` - Creates a portrait from a full-body avatar...
* `fullbody-portrait-v1-transparent`  - ... with transparent background (default).
* `halfbody-portrait-v1` - Creates a portrait from a half-body avatar...
* `halfbody-portrait-v1-transparent`  - ... with transparent background (default).
* `fullbody-posture-v1-transparent`  - Creates a portrait with a pose from a full-body avatar.
  {% endtab %}

{% tab title="Examples" %}
**Request avatar render with transparent fullbody posture**

```
https://models.enochavatarenochavatar.me/6185a4acfb622cf1cdc49348.png?scene=fullbody-posture-v1-transparent
```

{% endtab %}
{% endtabs %}

{% tabs %}
{% tab title="?BlendShape" %}

Map of 3D meshes to their blend shapes.

**Expected values (String)**\
`blendShapes[Wolf3D_Head][mouthSmile]=0.2 }`&#x20;

* &#x20;`Wolf3D_Head` is the affected node in the avatar.&#x20;
* `mouthSmile` is an example of a blend shape included in the avatar.

You can find all available blend shapes in [Full-body Avatars](broken://pages/1j39mdkQEG7YrPKZB0K8).

{% hint style="info" %}
You can combine multiple blend shapes by concatenating them with '&' as shown in the following example:

`?blendShapes[Wolf3D_Head][mouthSmile]=0.2`**`&`**`blendShapes[Wolf3D_Head][browInnerUp]=0.2`**Request a smiling avatar**

```
https://models.enochavatar.me/6185a4acfb622cf1cdc49348.png?blendShapes[Wolf3D_Head][mouthSmile]=0.8
```

**Returned value**

You will receive a .png image of a smiling avatar.
{% endhint %}
{% endtab %}

{% tab title="Examples" %}
**Request a smiling avatar**

```
https://models.enochavatar.me/6185a4acfb622cf1cdc49348.png?blendShapes[Wolf3D_Head][mouthSmile]=0.8
```

**Returned value**

You will receive a .png image of a smiling avatar.
{% endtab %}
{% endtabs %}
