Skip to main content

Update Brand

Update an existing brand identity for the authenticated workspace. Only the fields provided in the request will be updated; omitted fields remain unchanged.

Endpoint

POST brand/update

Authentication

Include your Enterprise API credentials in the request headers:

sivi-api-key: YOUR_API_KEY

Request Body Example

{
"bId": "b_s87vFxpfM0R",
"brandName": "Sivi AI",
"brandDescription": "AI-powered design generation platform",
"brandUrl": "https://sivi.ai",
"brandColors": ["#5662EC", "#EF9AB2", "#FF6B6B"],
"brandPersona": {
"emotions": ["excited", "innovative"],
"industry": "technology",
"audience": ["designers", "marketers"],
"designTags": ["modern", "bold"]
},
"imageGenPreference": {
"model": "flux-1.1-pro"
},
"textGenPreference": {
"model": "gpt-4o"
},
"genModePreference": {
"compose": {
"type": "design",
"model": "auto",
"sizeType": "instagram-post"
}
}
}

Request Parameters

ParameterTypeRequiredDescription
bIdStringYesBrand ID to update
brandNameStringNoUpdated brand name
brandDescriptionStringNoUpdated brand description
brandUrlStringNoUpdated website URL
brandLogoStringNoUpdated logo URL
brandColorsArrayNoUpdated list of brand colors in hex format
brandFontsArrayNoUpdated list of brand fonts
brandPersonaObjectNoUpdated brand persona details
brandPersona.emotionsArrayNoList of brand emotions
brandPersona.industryStringNoBrand industry
brandPersona.audienceArrayNoList of target audience
brandPersona.designTagsArrayNoList of design tags
imageGenPreferenceObjectNoImage generation model preferences
imageGenPreference.modelStringNoImage generation model. See Supported Models for allowed values
textGenPreferenceObjectNoText generation model preferences
textGenPreference.modelStringNoText generation model. See Supported Models for allowed values
genModePreferenceObjectNoGeneration mode preferences per mode
genModePreference.composeObject/ArrayNoCompose mode preferences
genModePreference.decomposeObject/ArrayNoDecompose mode preferences
genModePreference.imagineObject/ArrayNoImagine mode preferences

Note:: See all available options for each parameter in the Brand Persona Details section.

Gen Mode Preference Items

Each gen mode preference item supports:

ParameterTypeRequiredDescription
typeStringNoDesign type (e.g., design)
modelStringNoModel to use. See Supported Models for allowed values
sizeTypeStringNoNamed size type (e.g., instagram-post). Resolves to a dimension automatically
dimensionObjectNoManual dimension override { width, height }
mediumStringNoMedium override (used with dimension)
sizeModeStringNoSize mode (default: manual)

Response

Success Response (200 OK)

{
"status": 200,
"body": {
"message": "Brand updated successfully",
"bId": "b_s87vFxpfM0R"
}
}

Error Responses

Brand Not Found (404 Not Found)

{
"status": 404,
"body": {
"message": "Brand not found in workspace"
}
}

Authentication Error (401 Unauthorized)

{
"status": 401,
"body": {
"message": "Failed to authenticate request. Please add sivi-api-key header in request"
}
}

Invalid Input (422 Unprocessable Entity)

{
"status": 422,
"body": {
"message": "bId is required"
}
}

Invalid Model (422 Unprocessable Entity)

{
"status": 422,
"body": {
"message": "imageGenPreference model 'invalid-model' is not supported. Allowed: flux-1.1-pro, ..."
}
}

Server Error (500 Internal Server Error)

{
"status": 500,
"body": {
"message": "Server internal error"
}
}

Usage Notes

  • The brand must belong to the authenticated workspace
  • Only provided fields will be updated; omit fields you don't want to change
  • brandPersona is internally mapped to contentMetaInfo — the API handles this transformation automatically
  • When specifying genModePreference, you can provide either a single preference object or an array of preferences per mode
  • Use sizeType for named sizes (e.g., instagram-post) instead of manual dimension when possible