Skip to main content

settings

Settings will allow users to pass the preferences for the design generation request. Based on the mode of settings sivi will take the preferences and generate the design.

mode

Mode parameter helps to choose preferences for the design. In auto mode sivi will take the preferences and generate the design. In brand mode sivi will take the brand persona preferences and generate the design. In custom mode sivi will take the custom preferences and generate the design.

IDDisplay Name
autoAuto
brandBrand
customCustom
note

Only in mode custom, sivi will take preferences from the settings. Others modes will take preferences from the brand or auto based on the mode.

currentbId

currentbId parameter helps to identify the brand's preferences. It is required only in mode brand.

colors

Preferred color hex codes. It is required only in mode custom.

fontGroups

Preferred font groups. It is required only in mode custom.

theme

Preferred theme. It is required only in mode custom.

IDDisplay Name
lightLight
darkDark
colorfulColorful

frameStyle

Preferred frame style. It is required only in mode custom.

IDDisplay Name
Plain FillPlain Fill
Inset FrameInset Frame
Inset OutlineInset Outline
Patterned BoundaryPatterned Boundary
Stroked OutlineStroked Outline
Corner AccentCorner Accent
Bar AccentBar Accent

backdropStyle

Preferred backdrop style. It is required only in mode custom.

IDDisplay Name
minimalistMinimalist
imageryImagery
artisticArtistic

focus

Preferred focus. It is required only in mode custom.

IDDisplay Name
textText
imageImage
neutralNeutral

imageStyle

Preferred image style. It is required only in mode custom.

IDDisplay Name
coverCover
cover-with-linear-gradientCover With Linear Gradient
cover-with-overlayCover With Overlay
containerContainer
sectionSection
section-with-containerSection with Container
maskMask
cutoutCutout
cutout-with-vectorsCutout with vectors
content-free-formContent Free Form

Example Usage

Here's a comprehensive example showing how to use the brand persona parameters:

{
"mode": "custom",
"colors": ["#5662EC", "#EF9AB2"],
"theme": ["light"],
"frameStyle": ["Plain Fill"],
"backdropStyle": ["minimalist"],
"focus": ["text"],
"imageStyle": ["cover"]
}

Usage Notes

  • When using the API, you should specify at least mode.
  • Pass colors, theme, frameStyle, backdropStyle, focus, imageStyle only in mode custom.