Skip to main content

Custom Styles

Custom styles let you define and save a consistent visual aesthetic for your AI-generated content. Instead of describing the look you want in every prompt, you select a style preset and the AI applies that aesthetic automatically.

What Are Styles?

A style is a set of visual instructions that influence how the AI renders its output. Styles affect things like color palette, texture, lighting, and artistic treatment. XainFlow provides built-in presets and lets you create your own.

Built-in Style Presets

StyleDescription
AutoThe AI chooses the most appropriate style based on your prompt
RealisticPhotorealistic rendering with natural lighting and textures
ArtisticPainterly, illustrated look with expressive brushwork
AnimeJapanese animation-inspired aesthetic
3DThree-dimensional rendered appearance with depth and shading

User-Created Styles

In addition to the built-in presets, you can create your own styles to capture a specific brand look, artistic direction, or visual treatment that you want to reuse. Custom styles are scoped to your workspace (visible across all projects) or to a specific project.

Creating a Custom Style

  1. Navigate to the Styles section.
  2. Click Create Style.
  3. Upload one or more reference images that represent the visual aesthetic you want.
  4. Optionally add a text description to refine the style direction.
  5. Give the style a name.
  6. Click Save.
tip

The more reference images you provide, the better the AI understands the aesthetic you want. Aim for 3-5 images that share a consistent look.

AI Style Analysis

When you upload reference images, XainFlow's AI analyzes them and automatically extracts:

  • Style prompt — a text description of the visual aesthetic detected in the images
  • Quality score — a 0-100 rating of how well the images define a consistent style
  • Style aspects — specific visual properties broken down into categories:
AspectWhat It Captures
Color paletteDominant colors, saturation, and tonal range
LightingDirection, intensity, contrast, and mood of light
TextureSurface quality, grain, smoothness
CompositionFraming, balance, use of space
MoodOverall emotional tone and atmosphere

The AI also identifies content elements in your reference images:

ElementWhat It Captures
SubjectMain subject type and positioning
ClothingApparel styles, if present
EnvironmentSetting, background type
ObjectsKey props or items in the scene
PoseBody positioning, if applicable

This analysis helps the AI reproduce the same aesthetic consistently across different prompts and content types.

Applying Styles

You can apply styles at different levels:

  • Per node — select a style in any generation node's settings within Flow Studio.
  • Per workflow — set a default style for the entire workflow, which individual nodes can override.
  • With variables — combine styles with template variables to generate the same content across multiple aesthetics.

How Styles Are Applied

When a style is active during generation, XainFlow prepends style instructions to your prompt:

  • Styles with reference images — the AI receives your prompt plus [STYLE REFERENCE: ...] with the reference images attached, so it can match the visual aesthetic.
  • Styles with text description only — the AI receives your prompt plus [STYLE INSTRUCTION: ...] with the text description guiding the output.

This means styles work alongside your prompt, not in place of it. You still write what you want to generate — the style controls how it looks.

Project Preferences

On team workspaces, admins can configure per-project style preferences to control which styles are available and their default ordering. This ensures team members use approved brand styles without manually selecting them each time.