Skip to content

initial-face

Exact style-specific options from the bundled definition. Use these alongside the shared avatar options and core API. Back to the style catalog and licenses.

local dicebear = require('love_dicebear')
local svg, settings = dicebear.generate('initial-face', {seed = 'player-42'})
local options = dicebear.describe('initial-face').options

Components

eyes

  • Variant option: eyesVariant. Accepts a name, allowed-name array, or weight map; {} hides it.
  • Visibility option: eyesProbability. Range 0–100; default 100.
Variant Tags
variant01 —
variant02 —
variant03 —
variant04 —
variant05 —
variant06 —
variant07 —
variant08 —

face

  • Variant option: faceVariant. Accepts a name, allowed-name array, or weight map; {} hides it.
  • Visibility option: faceProbability. Range 0–100; default 100.
Variant Tags
default —
  • Variant option: headVariant. Accepts a name, allowed-name array, or weight map; {} hides it.
  • Visibility option: headProbability. Range 0–100; default 100.
Variant Tags
alt —
default —

mouth

  • Variant option: mouthVariant. Accepts a name, allowed-name array, or weight map; {} hides it.
  • Visibility option: mouthProbability. Range 0–100; default 100.
Variant Tags
default —

Color palettes

Each option accepts a hex color or palette array. An empty table is transparent. Bundled contrast and exclusion rules can affect the seeded choice.

backgroundColor

#7fd4f5, #86eadf, #9cbeff, #a8f0b0, #cfbeff, #e2f299, #ffa3b5, #ffb382, #ffe08a

eyesColor

#000000, #ffffff

mouthColor

#000000, #ffffff

Animation

Enable all selected artwork timelines with animation = true, or control a named timeline:

Timeline Switch Speed Delay
blink blinkAnimation blinkAnimationSpeed blinkAnimationDelay

Some artwork variants may be static. See animation options and native playback.