styles

Update a user style (RD Pro template fields only)

Updates a user-owned style created via /styles. Accepts only RD Pro editable fields. style_id can be either internal id or prompt_style.

patch/styles/{style_id}

Request

  • Base URL: https://api.retrodiffusion.ai/v2
  • URL: https://api.retrodiffusion.ai/v2/styles/{style_id}
  • Auth: none declared. Required headers: X-RD-Token

Path parameters

style_idstring required

Internal style id or prompt_style/public_id.

Headers

X-RD-Tokenstring required

Request body

namestring
descriptionstring
style_iconstring
reference_imagesstring[]

Replace the style reference with exactly one base64-encoded image. Omit or use null to keep the current reference.

reference_captionstring
apply_prompt_fixerboolean
llm_instructionsstring
expanded_llm_instructionsstring
user_prompt_templatestring
force_paletteboolean
force_bg_removalboolean
min_widthinteger
min_heightinteger

Response

Successful Response

idstring required
prompt_stylestring required
namestring required
descriptionstring required
type'system' | 'user' | 'template' | 'experimental' required

Types of Neo Art Styles for differentiation and filtering

created_atstring date-time
updated_atstring date-time

Changes

No recorded changes to this operation across all 1 revision of this API.