cameo¶
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('cameo', {seed = 'player-42'})
local options = dicebear.describe('cameo').options
Components¶
hair¶
- Variant option:
hairVariant. Accepts a name, allowed-name array, or weight map;{}hides it. - Visibility option:
hairProbability. Range 0–100; default 100.
| Variant | Tags |
|---|---|
bangs |
hairLength:short |
bowl |
hairLength:medium |
cap |
hairLength:short |
curls |
hairLength:medium |
frame |
hairLength:long |
part |
hairLength:short |
side |
hairLength:medium |
wave |
hairLength:medium |
knot¶
- Variant option:
knotVariant. Accepts a name, allowed-name array, or weight map;{}hides it. - Visibility option:
knotProbability. Range 0–100; default 45.
| Variant | Tags |
|---|---|
bun |
— |
buns |
— |
tail |
— |
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 |
|---|---|
beam |
mood:positive |
calm |
mood:positive |
grin |
mood:positive |
smile |
mood:positive |
smirk |
mood:positive |
shape¶
- Variant option:
shapeVariant. Accepts a name, allowed-name array, or weight map;{}hides it. - Visibility option:
shapeProbability. Range 0–100; default 100.
| Variant | Tags |
|---|---|
jaw |
— |
oval |
— |
round |
— |
squircle |
— |
taper |
— |
wide |
— |
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¶
No bundled palette; omitted values resolve to transparency.
bodyColor¶
#58aae1, #5ab0bf, #5ab4a4, #5ab972, #889ee4, #98ac53, #ae8fe4, #ba9f52, #d68f51, #e667de, #e68171, #e7799e
shadeColor¶
#00000057, #ffffff8f