---
url: 'https://docs.flimra.ai/get-started/concepts.md'
description: >-
  The few building blocks behind every Flimra project (media, bins, gens,
  versions, runs, timelines, texts, blockings) and how prompts name them.
---

# How Flimra thinks

Flimra is built from a few open building blocks, the same everywhere in the app. Think of a shoot and an NLE: there is material, it sits in folders, and an edit uses it. In Flimra much of the material is generated, and every piece remembers how it was made.

## The building blocks

* **Media** is one file: a picture, clip, sound or document. Media never changes: a picture retouched in Photoshop comes back as a new version beside the old one.
* **A bin** is a folder, as in Finder or an NLE's media pool. Bins nest and hold other bins, gens, media, timelines and texts. A character, a place, a product, a football team and each of its players are all just bins. A bin has **properties** of your own: any name, any words (`age: 34`, `outfit: a green raincoat`).
* **A gen** (short for generation) is one generated asset: a prompt, the references it names, a model and its settings. Its first version decides for good whether it makes pictures or videos. A video of a picture is a second gen that names the first as its reference.
* **A version** is one result of a gen, numbered `v01`, `v02` and so on. Running a gen adds a version and never replaces one. One version is **the pick**: the one that stands for the gen everywhere, in the viewer, on timelines, in exports and in your NLE.
* **A run** is the receipt of one time a gen ran: the prompt exactly as sent, every reference as the exact file it was then, the model, the credits and the results. Runs never change, so any version can be explained and made again.
* **A timeline** is an edit of the library's material on free tracks, any shape (16:9, 9:16, 1:1). All timelines are equal; none is "the film". A gen can sit on any number of them.
* **A text** is words you keep in a bin: a brief, style notes, lyrics, the script.
* **A blocking** is a small 3D set of clay stand-ins and a moving camera, staged in the viewer and rendered on your Mac, which a video prompt can send as the clip a model follows for camera and staging.

## Properties flow down

A gen's prompt can name a property, and reads it from the nearest bin above it that has one. Put `age` and `outfit` on the bin *Ben*; his close-up, his full body and his character sheet are three gens inside it, each reading those words. Change `outfit` on *Ben* and every gen under him that reads it is marked **out of date**, and one click makes them all again. See [Bins and properties](/library/properties).

## Prompts name things, not files

A prompt in Flimra is a template. Its references show as pills and are resolved when the gen runs, and the run records what each one resolved to.

| In a prompt | What it sends |
|---|---|
| `{age}` | a property, read from the gen or the nearest bin above it |
| `{bin005}` | a bin's cover picture (and its name where the model wants one) |
| `{gen012}` | another gen's pick |
| `{gen012.v03}` | one exact version, whatever is picked |
| `{med019}` | a file of the library |
| `{txt012}` | a text's words, as they are when the gen runs |
| `{blk003}` | a blocking's render, as the reference clip for camera and staging |
| `{film.look}`, `{film.style}`, `{film.avoid}` | the film's visual style, art style and what to avoid |
| `{place}` | what lies under the gen on its timeline: the filmed clips and the narration there |
| `{tli012}` | one clip of a timeline |

You rarely type these: drag a bin, gen, file, text or property into a prompt and the pill is written for you. See [Writing prompts](/generate/prompts).

## The film, the story and the scenes

The film's **look** (visual style, art style and an Avoid list), its **format** and its length live once, in **Project settings** and the properties drawer's **Project** tab. A bin or gen can override a look field for what is under it, such as a flashback in another art style.

An imported script becomes the text **Script**, a narration's transcript **Transcript**, a plot a planner finds **Plot**. **Scenes** are bins inside the bin *Scenes*, in story order, their words (summary, lighting) as properties; a gen is in a scene when it sits in that scene's bin. Nothing else is pre-filled: a genre or an era is whatever you make it.

## Ids

Everything has a short id, which you see in prompts and which the chat and assistants use.

| Thing | Id |
|---|---|
| Bin | `bin005` |
| Gen, and one version of it | `gen012`, `gen012.v03` |
| Run | `run031` |
| Media (file) | `med019` |
| Timeline, and a clip on it | `tl001`, `tli012` |
| Scene | `scn004` |
| Text | `txt012` |
| Blocking | `blk003` |
| Prompt snippet | `snp002` |

## Two promises

* **Nothing generated is ever overwritten.** Versions, stills and clips are only added, each with a new file name. Undo never deletes what a run made.
* **Your edit stays yours.** Flimra reads your Resolve timeline or Premiere sequence and writes only onto its own tracks whose names start with "Flimra", above your edit. Your clips, tracks, bins and grades are never touched. Results arrive there named like `FL_gen012_v03` with a marker, so they can be found and replaced again.

## From the chat

Everything you can click, the chat can do through the same commands. Ask "what is in the library?" or "which gens are out of date?" to explore a project. Tools: `list_library`, `select_library_item`, `new_bin`, `update_bin`, `new_gen`, `run_gen`, `pick_version`, `regenerate_out_of_date`.

## Related

* [The Library](/library/)
* [Bins and properties](/library/properties)
* [Writing prompts](/generate/prompts)
* [Glossary](/reference/glossary)
