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

# Generations and outputs

> A generation is one request to a model. It makes one or more outputs.

When you choose **Generate**, ZeroGen sends one **generation** to the model you
picked: your prompt, references and settings. The API calls this a **run**.

A generation makes one or more **outputs**: up to four on models that can make
several at once. Each finished output is saved as an asset in the project's
Library.

## What happens to a generation

Each output shows where it's up to:

| Status | Means |
| - | - |
| **Preparing references** | ZeroGen is getting your references ready for the model. |
| **Queued** | Waiting for the model to start. |
| **Generating** | The model is working. |
| **Finalizing** | ZeroGen is saving the output to your Library. |
| **Failed** | The output wasn't made. The card says why. |
| **Cancelled** | Someone stopped it before it finished. |

When an output finishes, the card shows it in place of the status.

To stop one of your generations while it's running, choose **Cancel** on its
card. Owners and Admins can also cancel other people's.

## What you're charged

Starting a generation holds its estimated cost from your organization's
balance. When it finishes, you're charged for what the model actually used.
Each generation's details show whether its amount is held, charged or
released. For what failed and cancelled generations cost, see
[Credits and billing](https://docs.zerogen.com/foundations/credits-and-billing.md#how-a-generation-is-charged).

## Generations that start others

Some generations lead to new ones:

* **Upscale**: upscaling a Seedance draft starts a new generation, charged on
  its own. See [Draft, then upscale](https://docs.zerogen.com/generate/draft-then-upscale.md).
* **Resubmitted**: when Seedance finds a real person in a reference you didn't
  mark as one, ZeroGen marks it and tries again. The new generation replaces
  the failed one. See [Frames and references](https://docs.zerogen.com/generate/frames-and-references.md).

## Where to find generations

* **Generate**: **Generations** lists the project's generations, starting
  with your own. Choose **Created by › Anyone** to see your team's. See
  [Your generations](https://docs.zerogen.com/generate/your-generations.md).
* **Library**: every output, filed with the project's other assets.
* **API**: through the ZeroGen API. See the
  [Developers](https://docs.zerogen.com/developers/introduction.md) docs.


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