# Chunkify documentation

> Add video uploads, streaming, playback, and transcoding to your application.

<div class="not-prose mb-10 flex flex-wrap gap-3">
    <a href="/docs/integration/chunkify-skill" class="inline-flex items-center gap-2 rounded-md border border-primary bg-primary/10 px-4 py-2 text-sm !font-medium !text-primary !no-underline transition-colors hover:bg-primary/20">
        Build with your agent
        <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="size-4" aria-hidden="true"><path d="M5 12h14"></path><path d="m12 5 7 7-7 7"></path></svg>
    </a>
    <a href="/docs/video-streaming/quickstart" class="inline-flex items-center gap-2 rounded-md border border-border px-4 py-2 text-sm !font-medium !text-foreground !no-underline transition-colors hover:bg-hover">
        Quickstart
    </a>
    <a href="/docs/api-reference" class="inline-flex items-center gap-2 rounded-md border border-border px-4 py-2 text-sm !font-medium !text-foreground !no-underline transition-colors hover:bg-hover">
        API Reference
    </a>
</div>

## Build with your coding agent

Give your coding agent the Chunkify skill. It connects to Chunkify MCP, inspects your application, and adds uploads, streaming, playback, and analytics using your existing framework and UI.

<agentprompt title="Add video streaming to your app" prompt="Use the Chunkify skill at https://chunkify.dev/SKILL.md to add video streaming to my application.
Connect Chunkify MCP, then add:
- video uploads
- playback with the Chunkify Player
- webhooks that save the playback URL
Follow my app's existing framework and UI."></agentprompt>

<cardgroup cols="2">
    <card title="Chunkify skill" icon="<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z"/><path d="M20 3v4"/><path d="M22 5h-4"/><path d="M4 17v2"/><path d="M5 18H3"/></svg>" href="/docs/integration/chunkify-skill">
        Install the skill in Codex, Claude Code, or another agent and describe what you want to build.
    </card>
    <card title="Chunkify MCP" icon="<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 22v-5"/><path d="M9 8V2"/><path d="M15 8V2"/><path d="M18 8v5a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V8Z"/></svg>" href="/docs/integration/chunkify-skill#set-up-your-project">
        Connect your agent with OAuth and choose the Projects it can manage.
    </card>
</cardgroup>


## How it works

Chunkify turns a source video into a stream your application can play.

<steps>
    <step title="Add a Source">
        Point Chunkify at a hosted video URL or a file in your storage, or let viewers upload one with the [Chunkify Uploader](/docs/integration/video-upload).
    </step>
    <step title="Create a video asset">
        Chunkify prepares the HLS stream, a poster, and timeline previews.
    </step>
    <step title="Play it">
        Chunkify sends `asset.playback_ready` to your [webhook](/docs/integration/webhooks) with the playback URL. Pass it to your [player](/docs/integration/player).
    </step>
</steps>

Prefer to write the integration yourself? Follow the [quickstart](/docs/video-streaming/quickstart) to create your first video stream with an SDK.

## Start with your goal

<cardgroup cols="2">
    <card title="Stream video" icon="<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M10 7.75a.75.75 0 0 1 1.142-.638l3.664 2.249a.75.75 0 0 1 0 1.278l-3.664 2.25a.75.75 0 0 1-1.142-.64z"/><path d="M12 17v4"/><path d="M8 21h8"/><rect x="2" y="3" width="20" height="14" rx="2"/></svg>" href="/docs/video-streaming">
        Prepare videos for adaptive HLS playback, with a poster and timeline previews.
    </card>
    <card title="Transcode files" icon="<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect width="18" height="18" x="3" y="3" rx="2"/><path d="M7 3v18"/><path d="M3 7.5h4"/><path d="M3 12h18"/><path d="M3 16.5h4"/><path d="M17 3v18"/><path d="M17 7.5h4"/><path d="M17 16.5h4"/></svg>" href="/docs/transcoding">
        Convert videos into MP4, WebM, or M4A files with your own encoding settings.
    </card>
</cardgroup>

## Integrate

<cardgroup cols="3">
    <card title="SDK" icon="<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="16 18 22 12 16 6"/><polyline points="8 6 2 12 8 18"/></svg>" href="/docs/integration/sdk">
        Call the Chunkify API from your server in TypeScript, Python, PHP, or Go.
    </card>
    <card title="Uploader" icon="<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 13v8"/><path d="M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242"/><path d="m8 17 4-4 4 4"/></svg>" href="/docs/integration/video-upload">
        Add browser uploads with file selection, progress, and retries.
    </card>
    <card title="Player" icon="<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"/><polygon points="10 8 16 12 10 16 10 8"/></svg>" href="/docs/integration/player">
        Play HLS streams and MP4 files with customizable controls.
    </card>
    <card title="Analytics" icon="<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M3 3v16a2 2 0 0 0 2 2h16"/><path d="m19 9-5 5-4-4-3 3"/></svg>" href="/docs/integration/analytics">
        Add playback tracking to your player and see how viewers watch.
    </card>
    <card title="Webhooks" icon="<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M18 16.98h-5.99c-1.1 0-1.95.94-2.48 1.9A4 4 0 0 1 2 17c.01-.7.2-1.4.57-2"/><path d="m6 17 3.13-5.78c.53-.97.1-2.18-.5-3.1a4 4 0 1 1 6.89-4.06"/><path d="m12 6 3.13 5.73C15.66 12.7 16.9 13 18 13a4 4 0 0 1 0 8"/></svg>" href="/docs/integration/webhooks">
        Receive event notifications in your application and verify their signatures.
    </card>
    <card title="Storage and CDN" icon="<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><ellipse cx="12" cy="5" rx="9" ry="3"/><path d="M3 5V19A9 3 0 0 0 21 19V5"/><path d="M3 12A9 3 0 0 0 21 12"/></svg>" href="/docs/storage">
        Choose where Chunkify stores sources and outputs, and deliver them through your CDN.
    </card>
</cardgroup>

## Reference

- [API Reference](/docs/api-reference): endpoints, fields, and request examples.
- [CLI](/docs/cli): transcode videos from your terminal.
- [Events](/docs/integration/events): supported events, payloads, and delivery history.
- [Pricing](/docs/video-streaming/pricing): streaming preparation and [transcoding](/docs/transcoding/pricing) rates.

Need help? [Contact support](/support).
