# Gaia

### Model Overview

**Gaia** is designed to upscale and refine high quality CGI and animation sources. It assumes the input footage is already clean and well rendered, focusing on subtle refinement rather than heavy artifact removal.

Gaia is not intended for heavily compressed or damaged footage and is best used as a final step to increase resolution while preserving the original source characteristics.

### Key Capabilities

* Optimized for high fidelity CGI and animation content
* **Gaia High Quality (HQ)** improves fine detail and aliased edges in already clean sources
* **Gaia Computer Generated (CG)** is well suited for animation, linework, and stylized imagery

### Pricing

| Duration | 720p | 1080p | 4K  |
| -------- | ---- | ----- | --- |
| **1s**   | 1    | 1     | 1   |
| **5s**   | 1    | 1     | 3   |
| **10s**  | 1    | 2     | 6   |
| **1m**   | 4    | 8     | 31  |
| **5m**   | 17   | 38    | 151 |
| **10m**  | 34   | 76    | 302 |

{% hint style="info" %}
The above credit costs are all estimates calculated at 30fps. For more accurate pricing, we recommend checking out our [Credit Calculator](https://developer.topazlabs.com/credit-calculator).
{% endhint %}

### Getting Started

**Endpoint**

* <https://api.topazlabs.com/video/>
  * `model` —&#x20;
    * `"gcg-5"` (Gaia CG)
    * `"ghq-5"` (Gaia HQ)

**Model-Specific Parameters**

* `video_type` — `"Progressive"`, `"Interlaced"`, or `"ProgressiveInterlaced"`
* `auto` — `"Auto"`, `"Manual"`, or `"Relative"`
* `field_order` — `"TopFirst"`, `"BottomFirst"`, or `"Auto"`
* `focus_fix_level` — `"None"`, `"Normal"`, or `"Strong"`
* `compression` — decimal between -1 and 1
* `details` — decimal between -1 and 1
* `prenoise` — decimal between 0 and 0.1
* `noise` — decimal between -1 and 1
* `halo` — decimal between -1 and 1
* `preblur` — decimal between -1 and 1
* `blur` — decimal between -1 and 1
* `grain` — decimal between 0 and 0.1
* `grain_sigma` — decimal between 0 and 1
* `grain_size` — decimal between 0 and 5
* `grain_type` — `"silver_rich"`, `"gaussian"`, or `"grey"`
* `recover_original_detail_value` — decimal between 0 and 1

### Examples

<table data-card-size="large" data-view="cards"><thead><tr><th align="center"></th><th data-hidden data-card-cover data-type="image">Cover image</th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td align="center">Click to view<br><code>Gaia CG</code></td><td><a href="https://4007072434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJkSwaYgAsTQke14gpXAF%2Fuploads%2Fdh6OI5FxzOxToFN9X1nm%2FGaia_CG_slider.jpg?alt=media&#x26;token=c454114c-ead3-41c3-88ef-23bec379ab6c">Gaia_CG_slider.jpg</a></td><td><a href="https://compare.topazlabs.com/share/video?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2F259801_Activity-Sport-Girl-Gymnast_By_Serafima_Serafimova_Artlist_HD_1.mp4&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2F259801_Activity-Sport-Girl-Gymnast_By_Serafima_Serafimova_Artlist_HD_1_gcg5.mp4&#x26;src2label=After&#x26;zoom=1">https://compare.topazlabs.com/share/video?src1=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2F259801_Activity-Sport-Girl-Gymnast_By_Serafima_Serafimova_Artlist_HD_1.mp4&#x26;src1label=Before&#x26;src2=https%3A%2F%2Fdownloads.topazlabs.com%2Fweb-assets%2Fmodel-examples%2F259801_Activity-Sport-Girl-Gymnast_By_Serafima_Serafimova_Artlist_HD_1_gcg5.mp4&#x26;src2label=After&#x26;zoom=1</a></td></tr><tr><td align="center">Click to view<br><code>Gaia HQ</code></td><td></td><td></td></tr></tbody></table>
