Recraft · Schema

Recraft Style

A custom Recraft style created from one to five reference images. Custom styles are compatible with V3 models and can be passed via `style_id` on generation requests.

AIArtificial IntelligenceImage GenerationGenerative AIVector GraphicsBrand DesignDesign ToolsFoundation ModelsMCP

Properties

Name Type Description
id string Style identifier. Use as `style_id` in generation requests.
base_style string Base style group the custom style was registered under (e.g. `digital_illustration`).
model string Recraft model the style is bound to.
credits integer API units charged for style creation (40 units / $0.04 at time of writing).
reference_images array Reference image identifiers uploaded to mint the style.
created integer Unix epoch timestamp when the style was created.
View JSON Schema on GitHub

JSON Schema

recraft-style-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/recraft-ai/refs/heads/main/json-schema/recraft-style-schema.json",
  "title": "Recraft Style",
  "description": "A custom Recraft style created from one to five reference images. Custom styles are compatible with V3 models and can be passed via `style_id` on generation requests.",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid",
      "description": "Style identifier. Use as `style_id` in generation requests."
    },
    "base_style": {
      "type": "string",
      "description": "Base style group the custom style was registered under (e.g. `digital_illustration`).",
      "examples": [
        "realistic_image",
        "digital_illustration",
        "vector_illustration",
        "icon",
        "logo_raster"
      ]
    },
    "model": {
      "type": "string",
      "description": "Recraft model the style is bound to.",
      "examples": ["recraftv3"]
    },
    "credits": {
      "type": "integer",
      "minimum": 0,
      "description": "API units charged for style creation (40 units / $0.04 at time of writing)."
    },
    "reference_images": {
      "type": "array",
      "description": "Reference image identifiers uploaded to mint the style.",
      "minItems": 1,
      "maxItems": 5,
      "items": {
        "type": "string"
      }
    },
    "created": {
      "type": "integer",
      "format": "int64",
      "description": "Unix epoch timestamp when the style was created."
    }
  },
  "required": ["id", "base_style"]
}