> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nomiq.site/llms.txt
> Use this file to discover all available pages before exploring further.

# How the Nomiq AI Engine Generates Brand Identities

> Discover how the Nomiq AI Engine routes your prompt through four specialized sub-models and a Validation Layer to produce a complete brand kit.

The Nomiq AI Engine is a proprietary orchestration layer that translates natural language prompts into production-ready brand identities. Rather than relying on a single monolithic model, it acts as an intelligent router — decomposing your prompt into discrete generation tasks, dispatching each task to a specialized sub-model, and then running every output through a rigorous Validation Layer before assembling your final brand kit.

## Engine Architecture

When you submit a prompt, the Nomiq Router parses its semantic content and dispatches work to four specialized sub-models simultaneously. Each sub-model owns a distinct design domain, ensuring deep expertise rather than generic output.

| Sub-Model            | Responsibility                           | Output                                                |
| :------------------- | :--------------------------------------- | :---------------------------------------------------- |
| **Strategy Model**   | Brand voice, naming, and positioning     | Brand name, tagline, voice matrix                     |
| **Color Model**      | Palette generation with WCAG enforcement | Accessible hex palette (primary, secondary, neutrals) |
| **Typography Model** | Font pairing and typographic scale       | Heading + body font pair, size scale                  |
| **Vector Model**     | SVG symbol construction                  | Geometric, flat-color logo symbol                     |

### The Validation Layer

The Validation Layer is the most critical component of the pipeline. Before any asset reaches your screen, the engine runs every output through two categories of checks:

* **WCAG Accessibility Checks:** Contrast ratios between all foreground and background color combinations must meet WCAG AA standards (minimum 4.5:1 for normal text). Any pair that fails is automatically rejected and regenerated.
* **Design Rule Enforcement:** Typography scales must maintain a minimum ratio between heading and body sizes. Vector symbols must resolve to clean, closed SVG paths. Misaligned or incomplete outputs are discarded before assembly.

If any check fails, the Validation Layer flags the failing sub-model's output and requests a targeted regeneration — the other passing outputs are preserved.

<Frame>
  ```mermaid theme={null}
  flowchart TD
      A([User Prompt]) --> B{Nomiq Router}

      B --> C[Strategy Model]
      B --> D[Color Model]
      B --> E[Typography Model]
      B --> F[Vector Model]

      C --> G(Brand Voice & Naming)
      D --> H(WCAG Accessible Palette)
      E --> I(Paired Font Scale)
      F --> J(SVG Symbol)

      G --> K{Validation Layer}
      H --> K
      I --> K
      J --> K

      K --> L([Final Brand Kit])

      classDef default fill:#111,stroke:#333,stroke-width:1px,color:#fff;
      classDef engine fill:#6366f1,stroke:#4f46e5,stroke-width:1px,color:#fff;
      class B,K engine;
  ```
</Frame>

## Step-by-Step Generation Pipeline

Every generation follows the same deterministic four-step sequence. Understanding this sequence helps you write better prompts and interpret unexpected outputs.

<Steps>
  <Step title="Semantic Extraction">
    The Router parses your prompt and extracts three data points: **industry category**, **target audience**, and **emotional tone**. These three values act as the master signal for all downstream sub-models. A vague prompt produces weak signals; a detailed prompt produces strong, differentiated outputs.
  </Step>

  <Step title="Strategy Locking">
    The Strategy Model runs first and independently of the visual sub-models. It generates the brand name, tagline, and voice matrix. This output becomes the **semantic seed** — every visual decision made by the Color, Typography, and Vector models is weighted against the strategic identity established here. Do not skip reviewing this step before evaluating visuals.
  </Step>

  <Step title="Parallel Visual Generation">
    With the strategy seed locked, the Color, Typography, and Vector models execute in parallel. Each model receives the full strategy output alongside the original extracted emotional tone. The Color Model calculates accessible palettes, the Typography Model selects and scales font pairs, and the Vector Model constructs SVG symbols — all concurrently to minimize generation time.
  </Step>

  <Step title="Validation & Assembly">
    The Validation Layer checks every asset against accessibility and design rules. Assets that pass are assembled into a structured brand kit preview. Assets that fail are regenerated in isolation. Once all four outputs are valid, the engine returns the complete brand kit to the UI.
  </Step>
</Steps>

## Known Limitations

The Nomiq AI Engine is purpose-built for brand identity. It is intentionally constrained to what it does well. Keep the following hard limits in mind before you start generating.

### No Text Inside Vector Logos

The Vector Model cannot reliably render legible, correctly spelled words inside the logo symbol itself. To ensure typographic accuracy, Nomiq always structures logos as `[SVG Symbol] + [Brand Name Text]` — never as text embedded within the vector graphic. If your brief requires a wordmark or lettermark, use the **Logo Style** selector to choose a logotype layout before generating.

### No Photorealistic Generation

The engine exclusively generates flat-color, vector-based graphics. It cannot produce photorealistic images, 3D renders, raster illustrations, or photography. For photographic brand assets, export your brand kit and use the generated color palette and typography in a tool like Figma or Adobe Illustrator.

## Common Mistakes

| Mistake                                                 | Impact                                                                                                                                                                                | Fix                                                                                                                                  |
| :------------------------------------------------------ | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | :----------------------------------------------------------------------------------------------------------------------------------- |
| **Treating Nomiq like a general-purpose chatbot**       | Asking the engine to write a blog post or answer a research question falls entirely outside its scope and will return an error.                                                       | Use Nomiq for brand identity assets only. Combine it with a general-purpose LLM for content tasks.                                   |
| **Using vague or metaphorical prompts**                 | A prompt like "Make it feel like summer" forces the engine to guess. The Color Model may select an unexpected palette, and the Strategy Model may produce a misaligned voice.         | Translate metaphors into concrete design language: "Use warm yellow and orange tones with a friendly, approachable sans-serif font." |
| **Ignoring the Strategy output before judging visuals** | If the Strategy Model extracts the wrong emotional tone, every visual sub-model will compound that error. Judging the logo before reviewing the strategy leads to circular iteration. | Always review and lock the strategy output before evaluating colors, typography, or the logo symbol.                                 |
| **Rewriting the full prompt after a partial success**   | Discarding a prompt you partially like resets the semantic seed and restarts all four sub-models from scratch.                                                                        | Use the element-level **Regenerate** buttons to target only the failing component while preserving the rest.                         |

<CardGroup cols={2}>
  <Card title="Prompt Engineering" icon="terminal" href="/ai-engine/prompt-engineering">
    Learn how to construct prompts that give the Router strong semantic signals across all four sub-models.
  </Card>

  <Card title="Iterations & Editing" icon="rotate-right" href="/ai-engine/iterations-and-editing">
    Learn how to lock successful outputs and surgically regenerate only the elements that need work.
  </Card>
</CardGroup>
