Skip to content
View as Markdown

Pick your integration ​

DiceBear runs as an HTTP API, as a library in seven languages, as a CLI, as a browser-based editor, and as a plugin for Figma. All of them render the same avatar for the same seed, so you can switch later without your avatars changing.

Can you point an <img> tag at a URL? Then the HTTP API is the shortest path. It's free for non-commercial use, needs no installation, and works from any language and platform. If you're unsure, start here.

Do you want avatars generated on your own infrastructure? Use a library. Your user data stays on your systems and there's no external request per avatar. Pick your language below.

Do you need image files rather than running code? The CLI exports batches to SVG, PNG, JPEG, and more. For a single avatar, say a default profile picture for your app, the Editor is the no-code way.

Designing before you build? DiceBear Studio, our plugin for Figma, fills the placeholders in your mockups and tells the developer which seed and URL render the same avatar in the app.

The libraries ​

LanguagePackage(s)Guide
JavaScript@dicebear/core + @dicebear/stylesJS library
PHPdicebear/core + dicebear/stylesPHP library
Pythondicebear-core + dicebear-stylesPython library
Rustdicebear-core + dicebear-stylesRust library
Godicebear/dicebear-go + dicebear/stylesGo library
Dartdicebear_core + dicebear_stylesDart library
C#DiceBear.Core + DiceBear.StylesC# library

Frameworks build on these: guides exist for React, React Native, Vue, Svelte, Angular, Next.js, Nuxt, Flutter, Unity, and Godot.