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

# Elements

> Characters, styles, locations and props built in Argil, reusable from the API.

**Elements** are the reusable building blocks of the Argil **Elements** page: characters, styles, locations and props, usually made by an Argil app. Each element has **plates**, images of the element such as front, profile or full body.

Elements keep a subject consistent: pass the same character to every generation and it looks the same on every shot, on any model.

## Find elements

```bash theme={null}
curl "https://api.argil.ai/v2/elements?kind=character" \
  -H "Authorization: Bearer $ARGIL_API_KEY"
```

| `kind` | What it is |
| - | - |
| `character` | A person or creature, with views from several angles. |
| `style` | A visual style. |
| `location` | A place. |
| `prop` | An object or a product. |
| `lore` | A world described in text, without images. |

You can use the elements of your workspace and Argil’s public elements. Another workspace’s element returns `reference_not_found`.

## Use an element

Wherever a file is accepted, pass `{ "type": "element", "id": "elm_…" }`:

* In `references`, without `plate`, every plate is an image reference (a character’s views, for consistency), counted against the mode’s image limit. With `"plate": "front"`, only that one.
* Where a single image is expected (a single media field), pass a `plate`, or Argil uses the element’s first plate.
* Plate labels are matched whatever their case; an unknown one is `reference_not_found`, with the element’s labels in `allowed_values`.
* `lore` elements have no image: generations reject them.

Elements never change: an edit in the app makes a new element. `GET /v2/elements` lists yours and Argil’s public ones (`visibility: "public"`), newest first; filter with `kind`.

See [Inputs and prompt tags](https://docs.argil.ai/v2/generate/inputs.md) for how elements combine with your files in a generation.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.