---
url: 'https://docs.flimra.ai/library/properties.md'
description: >-
  Give bins properties of your own that gens inside them read by name, so one
  change marks every affected gen out of date and remakes them together.
---

# Bins and properties

A bin is a folder of the library. What makes it more than a folder is its **properties**: words of your own, under any name you like, that the prompts of the gens inside it read. Build a world once, and when it changes, make everything that depends on it again in one go.

## How properties are read

A gen's prompt names a property in braces, `{outfit}`, and reads the nearest value up the tree: the gen's own first, then the bin it sits in, then the bin above that. An empty value says nothing, so the next one up is read.

Take *Characters › Ben › Ben sheet*. Put `outfit: a grey coat` on *Characters*, `age: 34` on *Ben*, and write the sheet's prompt as `{name}, {age}, wearing {outfit}`. `{name}` is the name of the bin the gen sits in. Every character in *Characters* reads the same outfit unless their own bin sets another.

A property belongs to the item it is set on. One set on *Ben* is not *Anna*'s beside him; what they share goes on the bin above them.

## Steps

1. **Make a bin.** **New bin…** from **New ▾**, the **+** at the top of the left column, or a right-click. Its name is ready to type.
2. **Add properties.** Select the bin and, in the properties drawer, click **＋ Property**, choose its type and give it a name. Types only change how it is edited:

   * **Text**: one line, the default.
   * **Text area**: several lines, for a description.
   * **Link**: another thing of the library (a gen, one version, a file, a bin or a text), picked with ＋ or dropped on the field. A prompt reading it sends what it links to.

   **Add pack ▾** adds a ready set at once: **Scene**, **Character**, **Place** or **Product**, or a pack you saved with **Save as pack…**.
3. **Make gens inside.** **New gen ▾** in the drawer makes an image or video gen whose prompt starts as `{name}: {description}`.
4. **Drag a property into a prompt.** Any property name in the drawer, its own or inherited, drags into a prompt as a pill. Nothing is copied: the prompt names the property, and the bin keeps the value.
5. **Change a property.** Every gen below that reads it is now **out of date**: an orange mark, and the drawer says what changed (*Changed: {outfit} was "a grey coat", now "a red coat"*).
6. **Make them again.** **Regenerate N…** in the bin's drawer makes one new version of each out-of-date gen, from the prompt and settings its pick was made with, with the properties as they are now. **Generate N…** draws the gens inside that have never run. The total price shows first.

## The properties drawer

With one thing selected, the drawer shows its own properties, then **Inherited**: each property it reads from the bins above, dimmed, with the bin it comes from (*from Ben*). A property it overrides is struck through, *overridden here*. Right-click an inherited row for **Edit on Ben** or **Override Here**.

The **Parent** tab shows the bin above the selection, so you can change a shared value without leaving what you are looking at. The **Project** tab holds the film's look; **Override ▾** there gives one gen or bin its own art style or visual style.

Several things selected show **Shared properties**, with *mixed* where they differ.

## Covers and default prompts

A bin's **cover** is the picture that stands for it, and what a prompt naming the bin (`{bin005}`) sends. Click **Cover** in the drawer to choose **None**, **Automatic**, or any picture or image gen inside; or right-click a picture → **Set as cover**.

To give every gen in a bin the same starting prompt, open a gen's prompt and choose ⋯ → **Save as default prompt for ▸** and the bin. Gens without a prompt of their own read it, and new ones start from it.

## In what order

**Draw all (N)…**, **Generate N…** and **Regenerate N…** make what others are made from first. A shot that names a character's sheet waits for the sheet; gens that depend on nothing start together. If one fails, the gens made from it are held back and the result says why.

::: tip
To try something new without losing what a gen is, right-click it → **Duplicate** (⌘D) to copy it with all its versions, or **New from this** to start a fresh gen with the same prompt and settings and no versions.
:::

## What can go wrong

* **Names nothing: {mood}** under a prompt: it names a property no bin above it has. Add the property, or take the pill out; Draw waits until it can be read.
* **A property name is refused**: names take letters, digits, spaces, `_` and `-`, so they can stand in a prompt.
* **Remove bin** takes the bin and everything in it to Removed; **Restore** brings it all back.

## From the chat

Ask "give Ben an age of 34", "add a weather property to Places" or "remake everything that is out of date in Characters". Tools: `new_bin`, `update_bin`, `update_gen`, `new_gen`, `show_properties`, `add_property_pack`, `set_default_prompt`, `run_gens`, `regenerate_out_of_date`, `draw_all`, `duplicate_items`, `new_gen_from`.

## Related

* [How Flimra thinks](/get-started/concepts)
* [The Library](/library/)
* [Writing prompts](/generate/prompts)
* [Texts](/library/texts)
