# Video FPS Increaser

> Kinovi Video FPS Increaser API — boost the frame rate of MP4 clips up to 10 minutes long with motion-interpolated frames at $0.0301 / s.

Source: https://kinovi.ai/docs/models/video-fps-increaser

- Model ID: `video-fps-increaser`
- Type: Video
- Provider: Kinovi
- From: $0.0301 / s
- Model page: https://kinovi.ai/models/video-fps-increaser
- Playground: https://kinovi.ai/app/gallery?model=video-fps-increaser

## Quickstart

Two calls: submit a task with `createTask`, then poll `recordInfo` with the returned `taskId` until `status` is `success` or `fail`.

Every request carries `Authorization: Bearer <yourApiKey>`. Create and manage keys at [kinovi.ai/api-keys](https://kinovi.ai/api-keys); see the [API reference](https://kinovi.ai/docs/api) for rate limits and error codes.

### Submit a task

`POST https://kinovi.ai/api/v1/jobs/createTask`

```json
{
  "model": "video-fps-increaser",
  "inputs": {
    "videoUrls": [
      "https://static.kinovi.ai/videos/seedance_video_1775631198994_17cd129c.mp4"
    ],
    "duration": 10
  }
}
```

Response `200 OK` — the task is queued and credits are reserved. Use `taskId` to poll for the result.

```json
{
  "taskId": "task_01j9examplefpsinc001"
}
```

#### Error responses

| HTTP | Body | When |
|:--|:--|:--|
| `400` | `{ "message": "Invalid inputs for model", "errors": [ … ] }` | Missing `videoUrls`, more than 1 video, non-MP4 URL, or `duration` outside `1`–`600`. Nothing is charged. |
| `401` | `{ "message": "Invalid API Key" }` | Missing or wrong `Authorization` header. |
| `402` | `{ "message": "Insufficient credits", "required": 65, "available": 0 }` | Not enough credits for the precharged duration. |
| `429` | `{ "message": "Concurrency limit reached (…)", "limit": 5, "current": 5 }` | Too many tasks in progress; wait for one to finish. |

### Query the result

`GET https://kinovi.ai/api/v1/jobs/recordInfo?taskId=task_…`

Poll every few seconds until `status` is `success` or `fail`.

| `status` | Meaning |
|:--|:--|
| `waiting` | Queued, not started yet |
| `generating` | Running |
| `success` | Done — read `output[].url` |
| `fail` | Failed — see `error.code` / `error.message`; credits are refunded |

## Parameters

Send these inside the `createTask` body. `model` and `inputs.videoUrls` are required.

The source video URL can be any publicly reachable MP4 — host it yourself, or upload it to Kinovi first with `POST /api/v1/uploads` and pass the returned `url` (see [Uploading Assets](https://kinovi.ai/docs/uploads)).

| Field | Type | Default | Description |
|:--|:--|:--|:--|
| `model` | `string` | **required** | Must be `"video-fps-increaser"`. |
| `inputs.videoUrls` | `string[]` | **required** | **Exactly 1** source `.mp4` URL, between **1 and 600 seconds** long. `videoUrl` is accepted as an alias. Your own hosted URL or [Kinovi uploads](https://kinovi.ai/docs/uploads). |
| `inputs.duration` | `number` | `10` (precharge) | Optional duration hint in seconds (`1`–`600`) used for credit precharge. Final credits settle to the actual video length when the task completes. |
| `callBackUrl` | `string` | – | Optional webhook called when the task finishes. |

### Full request

```json
{
  "model": "video-fps-increaser",
  "inputs": {
    "videoUrls": [
      "https://static.kinovi.ai/videos/seedance_video_1775631198994_17cd129c.mp4"
    ],
    "duration": 10
  },
  "callBackUrl": "https://example.com/hooks/kinovi"
}
```

## Pricing

Flat per-second rate across all supported resolutions. Live prices: [kinovi.ai/models/video-fps-increaser](https://kinovi.ai/models/video-fps-increaser).

| | Default |
|:--|--:|
| **per second** | $0.0301 / s |

Credits are precharged using `inputs.duration` (or `10` s if omitted) and settled to the video's actual measured duration upon completion. Failed tasks are refunded in full.

## Response

### Result fields

**JSON**

```json
{
  "taskId": "task_01j9examplefpsinc001",
  "model": "video-fps-increaser",
  "status": "success",
  "creditsUsed": 64.9,
  "output": [
    {
      "url": "https://static.kinovi.ai/videos/fps_increased_example.mp4",
      "width": 1280,
      "height": 720,
      "mediaType": "video/mp4"
    }
  ],
  "error": null,
  "createTime": 1790090613532,
  "completeTime": 1790090710500
}
```

**Table**

| Field | Type | Description |
|:--|:--|:--|
| `taskId` | `string` | The task id returned by `createTask`. |
| `model` | `string` | `"video-fps-increaser"`. |
| `status` | `string` | `waiting` · `generating` · `success` · `fail`. Stop polling on `success` or `fail`. |
| `creditsUsed` | `number` | Credits actually charged after settlement. Refunded automatically when `status` is `fail`. |
| `output` | `object[]` | Frame-interpolated video; empty until `success`. Stored by Kinovi for 7 days after generation. |
| `output[0].url` | `string` | Download URL of the higher-FPS `.mp4` clip. |
| `output[0].width` | `integer` | Output pixel width. |
| `output[0].height` | `integer` | Output pixel height. |
| `output[0].mediaType` | `string` | `video/mp4`. |
| `error` | `object \| null` | `{ code, message }` when the task failed, otherwise `null`. |
| `createTime` | `number` | Unix epoch milliseconds when the task was accepted. |
| `completeTime` | `number \| null` | Unix epoch milliseconds when the task reached a terminal status. |

## Examples

### Smooth an MP4 clip

**cURL**

```bash
curl -sS -X POST "https://kinovi.ai/api/v1/jobs/createTask" \
  -H "Authorization: Bearer $KINOVI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "video-fps-increaser",
    "inputs": {
      "videoUrls": ["https://static.kinovi.ai/videos/seedance_video_1775631198994_17cd129c.mp4"],
      "duration": 10
    }
  }'
```

**Node.js**

```ts
const API_BASE = "https://kinovi.ai/api/v1";
const headers = {
  Authorization: `Bearer ${process.env.KINOVI_API_KEY}`,
  "Content-Type": "application/json",
};

const { taskId } = await fetch(`${API_BASE}/jobs/createTask`, {
  method: "POST",
  headers,
  body: JSON.stringify({
    model: "video-fps-increaser",
    inputs: {
      videoUrls: ["https://static.kinovi.ai/videos/seedance_video_1775631198994_17cd129c.mp4"],
      duration: 10,
    },
  }),
}).then((r) => r.json());

while (true) {
  const info = await fetch(`${API_BASE}/jobs/recordInfo?taskId=${encodeURIComponent(taskId)}`, { headers }).then((r) =>
    r.json(),
  );
  if (info.status === "success") {
    console.log(info.output[0].url);
    break;
  }
  if (info.status === "fail") throw new Error(JSON.stringify(info.error));
  await new Promise((r) => setTimeout(r, 3000));
}
```

**Python**

```python
import json, os, time, urllib.request

API_BASE = "https://kinovi.ai/api/v1"
HEADERS = {
    "Authorization": f"Bearer {os.environ['KINOVI_API_KEY']}",
    "Content-Type": "application/json",
}

payload = {
    "model": "video-fps-increaser",
    "inputs": {
        "videoUrls": ["https://static.kinovi.ai/videos/seedance_video_1775631198994_17cd129c.mp4"],
        "duration": 10,
    },
}

req = urllib.request.Request(f"{API_BASE}/jobs/createTask", data=json.dumps(payload).encode(), headers=HEADERS)
task_id = json.load(urllib.request.urlopen(req))["taskId"]

while True:
    info = json.load(urllib.request.urlopen(urllib.request.Request(f"{API_BASE}/jobs/recordInfo?taskId={task_id}", headers=HEADERS)))
    if info["status"] == "success":
        print(info["output"][0]["url"])
        break
    if info["status"] == "fail":
        raise RuntimeError(info["error"])
    time.sleep(3)
```

## FAQ

### Can I chain Video FPS Increaser with Video Upscale?

Yes — pass the output URL from `video-fps-increaser` directly into [`video-upscale`](https://kinovi.ai/docs/models/video-upscale) (or upscale first, then increase FPS).

### What happens if I omit `inputs.duration`?

Kinovi precharges 10 seconds at submit and settles to the actual measured length of the input clip on completion.

## Related models

- [Video Upscale](https://kinovi.ai/docs/models/video-upscale): Upscale MP4 videos to 720p, 1080p, 2K, or 4K.
- [Seedance 2.5 Flash](https://kinovi.ai/docs/models/seedance2-5-flash): Fast ByteDance video generation at 480p and 720p.
- [Kling 4.0](https://kinovi.ai/docs/models/kling-4.0): Kuaishou's Kling 4.0 text, keyframe, and reference-to-video.
