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

# Generative sliders

> Use the Krea 2 API intensity, complexity, and movement sliders to steer style, composition density, and motion without rewriting your prompt.

Generative sliders are three numeric controls — `intensity`, `complexity`, and `movement` — that shape Krea 2's creative direction *before* an image is generated, while keeping your prompt untouched. They're powered by LoRAs trained into Krea 2 and are exposed directly on the API.

<Tip>
  Keep your prompt steady and use the sliders to decide **how** the model interprets it: how stylized it feels, how dense the composition is, and how much motion the scene carries.
</Tip>

## The three sliders

All three sliders take an integer from **−100 to 100**, with **0 as neutral** (no LoRA applied).

| Slider       | Negative direction          | Positive direction              |
| ------------ | --------------------------- | ------------------------------- |
| `intensity`  | Bland, muted images         | Intensely stylized images       |
| `complexity` | Minimal, clean compositions | Chaotic, dense compositions     |
| `movement`   | Static images               | Strong pose and camera movement |

<AccordionGroup>
  <Accordion title="intensity — how stylized the image feels">
    Pushes the overall stylization of the output. Negative values pull toward muted, understated rendering; positive values push toward bold, expressive, heavily-stylized looks.
  </Accordion>

  <Accordion title="complexity — how dense the composition is">
    Controls how much visual information Krea 2 packs into the frame. Negative values favor clean, minimal compositions (good for icons, editorial illustration, product photography). Positive values produce richer, busier scenes with more detail.
  </Accordion>

  <Accordion title="movement — how much motion the scene carries">
    Controls pose energy and implied camera motion. Negative values keep subjects static and grounded; positive values introduce dynamic poses, motion blur, and stronger camera framing.
  </Accordion>
</AccordionGroup>

<Note>
  Generative sliders are **independent** of [`creativity`](/developers/krea-2/overview#creativity). `creativity` controls prompt expansion (how literally Krea 2 follows your text); the sliders shape the visual character of the output.
</Note>

## Request

Pass any combination of the three fields alongside your prompt. Omitting a field is the same as sending `0`.

<CodeGroup>
  ```bash cURL theme={null}
  curl -X POST https://api.krea.ai/generate/image/krea/krea-2/medium \
    -H "Authorization: Bearer $KREA_API_TOKEN" \
    -H "Content-Type: application/json" \
    -d '{
      "prompt": "illustrated cafe table with a croissant, coffee cup, and an oversized vase of wild flowers",
      "aspect_ratio": "1:1",
      "resolution": "1K",
      "intensity": 40,
      "complexity": -60,
      "movement": 0
    }'
  ```

  ```javascript Node.js theme={null}
  import { Krea } from "@krea-ai/sdk";

  const krea = new Krea({ apiKey: process.env.KREA_API_KEY });

  const result = await krea.subscribe("image/krea/krea-2/medium", {
    input: {
      prompt: "cute poodle, city street, colorful illustration, playful composition",
      aspect_ratio: "1:1",
      resolution: "1K",
      intensity: 60,
      complexity: 20,
      movement: 80,
    },
  });

  console.log(result.data?.urls[0]);
  ```

  ```python Python theme={null}
  import os, requests

  response = requests.post(
      "https://api.krea.ai/generate/image/krea/krea-2/medium",
      headers={
          "Authorization": f"Bearer {os.environ['KREA_API_TOKEN']}",
          "Content-Type": "application/json",
      },
      json={
          "prompt": "cinematic portrait of a samurai at dusk",
          "aspect_ratio": "4:5",
          "resolution": "1K",
          "intensity": 75,
          "complexity": 0,
          "movement": 30,
      },
  )
  response.raise_for_status()
  print(response.json()["job_id"])
  ```
</CodeGroup>

## Parameters

| Field        | Type    | Range       | Default | Notes                                                         |
| ------------ | ------- | ----------- | ------- | ------------------------------------------------------------- |
| `intensity`  | integer | −100 to 100 | `0`     | 0 = neutral. Negative = muted, positive = intensely stylized. |
| `complexity` | integer | −100 to 100 | `0`     | 0 = neutral. Negative = minimal, positive = chaotic / dense.  |
| `movement`   | integer | −100 to 100 | `0`     | 0 = neutral. Negative = static, positive = strong motion.     |

<Note>
  Sliders are supported on **all three Krea 2 variants** — `krea-2/medium`, `krea-2/large`, and `krea-2/medium-turbo`. They do not change the price of a generation — see [pricing](/developers/krea-2/overview#pricing).
</Note>

## Endpoints

| Variant          | Endpoint                                        |
| ---------------- | ----------------------------------------------- |
| **Medium**       | `POST /generate/image/krea/krea-2/medium`       |
| **Large**        | `POST /generate/image/krea/krea-2/large`        |
| **Medium Turbo** | `POST /generate/image/krea/krea-2/medium-turbo` |

## Choosing settings

A few starting points that tend to work well:

* **Clean design, icons, editorial illustration** — lower `complexity` (e.g. `-60`), keep `movement` near `0`.
* **Cinematic / fashion / character work** — raise `intensity` (e.g. `+60`), add a small amount of `movement` (e.g. `+30`).
* **Worlds and expressive scenes** — push both `intensity` and `complexity` positive; add `movement` if you want kinetic energy.
* **Exploring a prompt** — start with all three at `0`, then change one slider at a time so you can attribute the visual shift to a specific control.

<Tip>
  Generative sliders compose with [style transfer](/developers/krea-2/style-transfer) and [moodboards](/developers/krea-2/moodboards) — apply a moodboard for visual direction, then use the sliders to fine-tune how strongly that direction is expressed.
</Tip>
