Every model [`generate`](./tools/generate.md) runs, and the fields each takes. A request is `model` plus these fields; the API validates it and answers a field it cannot take with what to fix ([local models](#local) are checked by the app the same way). Models of a kind share one set of fields (every image model takes `prompt`, `images`, `aspectRatio`, …), and each model narrows them: the values it offers are in its row. Leave a field out for the model's default. Files are `{ "path": … }` (see [generate](./tools/generate.md#files)).
The aspect ratios listed work on every model in its row. Some models take more (`2:3`, `3:2`, `4:5`, `5:4`, `21:9`, `9:21`, `1:2`, `2:1`, `1:4`, `4:1`, `1:8`, `8:1`, `9:19.5`, `19.5:9`, `9:20`, `20:9`), and the API says when one does not.
## Video
| Field | Type | Description |
| --- | --- | --- |
| `prompt` | `string`, required | the shot: subject, action, camera, sound; up to 4,000 characters |
| `startFrame` | `{ path }` | an image the clip starts on |
| `endFrame` | `{ path }` | an image the clip ends on; only models with *end* in their row |
| `duration` | `integer` | seconds, from the model's row |
| `aspectRatio` | `string` | output width:height, from the model's row; a model without any takes its proportions from the start frame |
| `resolution` | `"480p" \| "720p" \| "1080p" \| "2K"` | from the model's row; higher costs more |
| Model | | Frames | Durations (s) | Aspect ratios | Resolutions |
| `prompt` | `string`, required | the text to speak; up to 10,000 characters (5,000 for ElevenLabs v3). ElevenLabs v3 takes audio tags in brackets (`[whispers]`, `[laughs]`); Gemini takes a style instruction before the text (`Say cheerfully: …`) |
| `bria-rmbg-2.0` | Bria RMBG 2.0 — background removal | `image`: `{ path }`, required | a PNG of the image with a transparent background |
| `seedvr-2` | SeedVR2 — image upscaling | `image`: `{ path }`, required | a PNG of the image upscaled 2× |
| `bytedance-upscaler` | ByteDance Upscaler — video upscaling | `video`: `{ path }`, required | an MP4 of the video upscaled to 2K at 30 fps |
| `universal-3.5-pro` | AssemblyAI Universal-3.5 Pro — transcription with speaker labels (Universal-2 for languages it lacks) | `audio`: `{ path }` (audio or video) or `{ scene }` (the scene's mix, see [Scenes](./tools/generate.md#scenes)), required; `languageCode`: e.g. `en`, `en_us`, `de` (detected when left out) | `transcript.json`: `[{ text, speaker?, words: [{ text, start, end }] }]`, times in seconds, speakers labelled `A`, `B`, … when told apart |
| `qwen3.8-omni-flash` | Qwen3.8 Omni Flash — describes or answers questions about audio: speech, speakers, music, sounds | `media`: `{ path }`, required: an audio file (wav, mp3, ogg, flac, aac, m4a or aiff) up to 20 MB; `prompt`: what to listen for, up to 10,000 characters (a general description when left out) | `analysis.md`, the answer as Markdown |
These run in the app, on this machine's GPU: no account, no credits. A job is shaped like the API's and polled the same way with [`job`](./tools/job.md), with two fields of its own — `progress` (0..1 through its current `phase`) and `details` (what the model found) — and lasts only as long as the app: a job id is gone once the app restarts. The first use of a model downloads it.
| `sam-2.1` | SAM 2.1 — segments an object in a video and tracks it through the footage; `size` tiny (default), small, base-plus or large | a mask file (`.mask`) for a [`<mask src>`](./jsx/styles.md#mask) | [segment.md](./tools/segment.md) |