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

# Quickstart

> Run your first FFmpeg API job in a few requests.

This quickstart uses a public media URL so you can run your first job without an upload step.

## 1. Create a job

```bash theme={null}
curl -X POST https://ffmpeg-api.cloud/v1/jobs \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "binary": "ffprobe",
    "input": [
      {
        "type": "url",
        "url": "https://example.com/input.mp4"
      }
    ],
    "ffmpegArgs": [
      "-v",
      "error",
      "-show_format",
      "-show_streams",
      "-of",
      "json",
      "input0"
    ]
  }'
```

The API returns a queued job immediately:

```json theme={null}
{
  "id": "JOB_ID",
  "binary": "ffprobe",
  "status": "queued",
  "mode": "raw"
}
```

## 2. Poll the job

```bash theme={null}
curl https://ffmpeg-api.cloud/v1/jobs/JOB_ID \
  -H "Authorization: Bearer YOUR_API_KEY"
```

Wait until `status` becomes `completed` or another terminal state.

## 3. Fetch the result

```bash theme={null}
curl https://ffmpeg-api.cloud/v1/jobs/JOB_ID/result \
  -H "Authorization: Bearer YOUR_API_KEY"
```

For FFprobe jobs, the result payload includes JSON output metadata.

## Next

> [card] [Examples](https://ffmpeg-api.cloud/docs/examples.md)
>
> See more request patterns.

> [card] [Webhooks](https://ffmpeg-api.cloud/docs/webhooks.md)
>
> Stop polling and receive callbacks instead.

> [card] [Files and outputs](https://ffmpeg-api.cloud/docs/files-and-outputs.md)
>
> Learn the upload and output model.

> [card] [API Reference](https://ffmpeg-api.cloud/docs/api-reference/overview.md)
>
> Browse endpoint fields and response schemas.


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