> For the complete documentation index, see [llms.txt](https://developer.topazlabs.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.topazlabs.com/video-models/frame-interpolation/apollo-fast.md).

# Apollo Fast

Faster Apollo for simpler motion

### Model Overview

**Apollo Fast** is a faster version of Apollo for simpler motion, offering quicker turnaround for retiming workflows at a lower cost.

For non-linear or more complex motion, use Apollo.

### Best Use Cases

* **Simple motion.** Fast retiming of straightforward movement.
* **Quick turnaround.** Faster processing for tight deadlines.
* **High-volume retiming.** Lower cost for large batches.
* **Previews.** Test slow-motion settings before an Apollo pass.
* **Frame rate conversion.** Fast conversion for simple footage.

### Endpoint

`https://api.topazlabs.com/video/`

`https://api.topazlabs.com/video/express`

### Model Parameters

Model parameters go inside the filter object in `filters`.

| Parameter            | Type      | Required / Default | Accepted values  | Description                                                                                                                                                           |
| -------------------- | --------- | ------------------ | ---------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `model`              | `string`  | Required           | `"apf-2"`        | —                                                                                                                                                                     |
| `slowmo`             | `integer` | Optional           | `1` to `16`      | Slow-motion factor. 2 doubles the duration, 4 quadruples it, and so on.                                                                                               |
| `fps`                | `decimal` | Optional           | `15` to `240`    | <p>Target output frame rate. Required unless output.frameRate is set (POST /video/ always requires<br>output.frameRate). If both are set, the higher one is used.</p> |
| `duplicate`          | `boolean` | Optional           | —                | Detects and replaces duplicate frames in the source.                                                                                                                  |
| `duplicateThreshold` | `decimal` | Optional           | `0.001` to `0.1` | Sensitivity for duplicate-frame detection.                                                                                                                            |

For request parameters shared by every video model (source, output, destination, and notifications), see Request Parameters. The full schema is also available in our API Reference page.

### Model Pricing

Apollo Fast is priced at 1 credit per gigapixel (GP) of newly generated frames, plus a small data cost. With slow motion or an fps ratio above 2, it's 2 credits per GP of input frames.

{% hint style="info" %}
For a quote on a specific file, use our [Credit Calculator](https://developer.topazlabs.com/credit-calculator) or create the request with `POST /video/`, which returns an estimate before processing starts.
{% endhint %}

### Example Request

{% tabs %}
{% tab title="cURL" %}

```bash
curl -X POST "https://api.topazlabs.com/video/express" \
  -H "X-API-Key: $TOPAZ_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "source": { "container": "mp4" },
    "filters": [ { "model": "apf-2", "slowmo": 2 } ],
    "output": { "resolution": { "width": 1920, "height": 1080 }, "frameRate": 60 }
  }'
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const payload = {
  "source": {
    "container": "mp4"
  },
  "filters": [
    {
      "model": "apf-2",
      "slowmo": 2
    }
  ],
  "output": {
    "resolution": {
      "width": 1920,
      "height": 1080
    },
    "frameRate": 60
  }
};

const response = await fetch("https://api.topazlabs.com/video/express", {
  method: 'POST',
  headers: {
    'X-API-Key': process.env.TOPAZ_API_KEY,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify(payload),
});

if (!response.ok) {
  throw new Error(`Request failed: ${response.status} ${await response.text()}`);
}

console.log(await response.json());
```

{% endtab %}

{% tab title="Python" %}

```python
import os
import requests

payload = {'source': {'container': 'mp4'},
 'filters': [{'model': 'apf-2', 'slowmo': 2}],
 'output': {'resolution':{'width': 1920, 'height': 1080}, 'frameRate': 60}}

response = requests.post(
    "https://api.topazlabs.com/video/express",
    headers={"X-API-Key": os.environ["TOPAZ_API_KEY"]},
    json=payload,
)
response.raise_for_status()
print(response.json())
```

{% endtab %}
{% endtabs %}

### Limitations

Frame interpolation models don't upscale.

### Helpful Resources

<table data-view="cards"><thead><tr><th></th><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><i class="fa-play">:play:</i></td><td><h4>Video Quickstart</h4></td><td>Quickly get started with our Video API.</td><td><a href="https://developer.topazlabs.com/getting-started/video-quickstart.md">Video Quickstart</a></td></tr><tr><td><i class="fa-file-brackets-curly">:file-brackets-curly:</i></td><td><h4>API Reference</h4></td><td>View our API reference to view the entire schema.</td><td><a href="https://developer.topazlabs.com/reference/">Reference</a></td></tr><tr><td><i class="fa-square-root-variable">:square-root-variable:</i></td><td><h4>Model Pricing</h4></td><td>Learn how we price our models.</td><td><a href="https://developer.topazlabs.com/getting-started/model-pricing.md">Model Pricing</a></td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://developer.topazlabs.com/video-models/frame-interpolation/apollo-fast.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
