styles

Create a user style from the RD Pro template

Creates a user-owned style using the RD Pro template defaults. Only RD Pro editable fields are accepted in this endpoint. Exactly one reference image is required. Use the returned prompt_style value in /inferences.

post/styles

Request

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

Headers

X-RD-Tokenstring required

Request body

namestring required
descriptionstring
style_iconstring
reference_imagesstring[] required

Exactly one base64-encoded reference image is required.

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.