# Documentation (https://hypit.ai/docs/)

> Clone any viral video with AI agents.

## Getting started [#getting-started]

* [Overview](/quickstart) — Install Hypit, compile a complete SVML video graph, and prepare a real Build.
* [Script](/quickstart/script) — The Script Surface — Segments, Role Cues, Dual Text, Selections, Moments and text projections.
* [SVS stylesheets](/quickstart/styles) — The SVS Recipe language — CSS-like stylesheets for film, caption, media, text and generation settings.
* [Media & generation](/quickstart/generation) — Declaring media assets and generating video with Seedance.
* [Timing & assembly](/quickstart/timing) — Speech Spine assembly and WhisperX alignment — connecting generated takes to a unified timeline.
* [Tracks](/quickstart/tracks) — Peer track components — captions, media, typography and authored audio.
* [Image operations](/quickstart/images) — Compose, correct and cut out images before they reach a generator or a Track.
* [Film & rendering](/quickstart/composition) — Composing tracks into a film and rendering to video.
* [Live preview](/quickstart/preview) — Read a Source as a timeline before anything has been generated.
* [Run source & builds](/quickstart/run) — Declaring build targets, reusing results and configuring the runtime.

## Develop [#develop]

* [Overview](/guide/develop) — Getting started with Hypit development.
* [Package architecture](/guide/packages) — The seven layers, dependency boundaries, package anatomy and facets.
* [Adding an author package](/guide/author-packages) — Step-by-step guide for adding a new author-level component.
* [Adding a provider](/guide/providers) — Step-by-step guide for adding a new Endpoint adapter.
* [Runtime](/guide/runtime) — The execution boundary outside Hypit source and Core.
* [Caption playground](/guide/caption-playground) — Edit a real Fine Caption SVS Recipe and exact font stack with live feedback.
* [Testing](/guide/testing) — Test runner, patterns and environment-gated tests.
* [Conventions](/guide/conventions) — Naming, module boundaries, TypeScript configuration and wire data.

## API reference [#api-reference]

* [Overview](/api-reference) — One OpenAI-shaped API in front of two dozen generative-media vendors, billed in credits.
* [Authentication](/api-reference/authentication) — Create an API key, send it as a bearer token, and read the four failure modes apart.
* [Models](/api-reference/models) — List what your key can route to, and read a model's credit rate before you spend anything.
* [Asynchronous jobs](/api-reference/jobs) — Submit, poll, collect, and what happens to your credits when a job fails.
* [Images](/api-reference/images) — Generate and edit images. Both endpoints are asynchronous and answer with a job.
* [Video](/api-reference/video) — Text to video and image to video. One asynchronous endpoint, priced per second.
* [Audio](/api-reference/audio) — Speech synthesis and transcription are synchronous; music generation is a job.
* [Chat completions](/api-reference/chat) — The drop-in OpenAI endpoint — synchronous, streaming, vision, tools, vendor passthrough.
* [Gemini native](/api-reference/gemini) — Google's own wire format, passed through unchanged.
* [Credits & billing](/api-reference/billing) — How a call is priced, what a job reserves, and when money comes back.
* [Errors & limits](/api-reference/errors) — One error envelope everywhere, what each status means, and the two rate limits that apply.