> ## Documentation Index
> Fetch the complete documentation index at: https://lava.so/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# DiceBear

> Deterministic avatar generation API producing SVG and PNG profile pictures from a seed string across 30+ art styles.

Deterministic avatar generation API producing SVG and PNG profile pictures from a seed string across 30+ art styles. Best for generating consistent user avatars, placeholder images, and visual identifiers without storing image assets. Unlike Replicas (interactive AI personas) or Keyframe Labs (video avatars), DiceBear generates static profile images — lightweight and stateless.

1 example endpoint available through Lava's AI Gateway. See the [DiceBear API docs](https://www.dicebear.com/how-to-use/http-api/) for full documentation.

<Info>This provider is **managed** — no additional setup required.</Info>

<Info>This is a **catch-all provider** — any valid URL under `https://api.dicebear.com` is supported. Deterministic avatar generation. Construct URL as [https://api.dicebear.com/\&#123;version\&#125;/\&#123;style\&#125;/\&#123;format\&#125;?seed=\&#123;seed\&#125](https://api.dicebear.com/\&#123;version\&#125;/\&#123;style\&#125;/\&#123;format\&#125;?seed=\&#123;seed\&#125);. See [https://www.dicebear.com/how-to-use/http-api/](https://www.dicebear.com/how-to-use/http-api/) for styles and options. The endpoints below are curated examples.</Info>

## Endpoints

### Generate an avatar

**GET** `https://api.dicebear.com/7.x/avataaars/svg?seed=Felix` — Free

<Tabs>
  <Tab title="SDK">
    ```typescript theme={null}
    const data = await lava.gateway('https://api.dicebear.com/7.x/avataaars/svg?seed=Felix', { method: 'GET' });
    ```
  </Tab>

  <Tab title="cURL">
    ```bash theme={null}
    curl "https://api.lava.so/v1/forward?u=https%3A%2F%2Fapi.dicebear.com%2F7.x%2Favataaars%2Fsvg%3Fseed%3DFelix" \
      -H "Authorization: Bearer $LAVA_SECRET_KEY"
    ```
  </Tab>
</Tabs>

## Next Steps

<CardGroup cols={2}>
  <Card title="All Providers" icon="grid" href="/gateway/supported-providers">
    Browse all supported AI providers
  </Card>

  <Card title="Forward Proxy" icon="route" href="/gateway/forward-proxy">
    Learn how to construct proxy URLs and authenticate requests
  </Card>
</CardGroup>
