# Extract Video Frames for AI Datasets (1 per second)

**Use case:** 

Turn any video into a clean image dataset: one frame per second, with motion-blurred and near-duplicate frames removed automatically. Each frame comes with its timestamp and sharpness score, ready for Label Studio, CVAT, Roboflow or your training code. Paste your video links and run.

## Input

```json
{
  "videoUrls": [
    "https://upload.wikimedia.org/wikipedia/commons/0/06/Roncesvalles_Ave_crossing_at_Galley_Ave%2C_PXO_Type_A_lights_flashing%2C_July_2026.webm"
  ],
  "mode": "interval",
  "everySeconds": "1",
  "sceneThreshold": "0.35",
  "skipBlurry": true,
  "blurThreshold": 40,
  "skipDuplicates": true,
  "minChangePercent": "0.5",
  "outputFormat": "jpeg",
  "quality": 90,
  "createZip": false,
  "maxFramesPerVideo": 200,
  "maxDurationMinutes": 60
}
```

## Output

```json
{
  "imageUrl": {
    "label": "Frame",
    "format": "image"
  },
  "sourceUrl": {
    "label": "Video",
    "format": "link"
  },
  "videoIndex": {
    "label": "Video #",
    "format": "number"
  },
  "frameIndex": {
    "label": "Frame #",
    "format": "number"
  },
  "timestampSeconds": {
    "label": "Time (s)",
    "format": "number"
  },
  "width": {
    "label": "Width",
    "format": "number"
  },
  "height": {
    "label": "Height",
    "format": "number"
  },
  "sharpness": {
    "label": "Sharpness",
    "format": "number"
  },
  "error": {
    "label": "Error",
    "format": "text"
  }
}
```

## About this Actor

This example demonstrates how to use [Video Frame Extractor for AI — No Blur, No Duplicates](https://apify.com/adorable_partial/video-frame-extractor-ai.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/adorable_partial/video-frame-extractor-ai.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/adorable_partial/video-frame-extractor-ai.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
