ltx/ltx-2-5-fast, served by Comfy Router from LTX.
Quick start
Create a key in your Comfy workspace and export it asCOMFY_API_KEY. The Python and TypeScript snippets use the Comfy SDKs (pip install comfy-sdk, npm install @comfyorg/sdk); the cURL snippet is the same call over raw HTTP.
Model ID: ltx/ltx-2-5-fast
Endpoint: POST https://api.comfy.org/v2/models/ltx/ltx-2-5-fast
Schema
Input
integer
required
Video duration in seconds (maximum depends on resolution and frame rate)Possible values:
2, 3, 4, 5, 6, 8, 10, 12, 14, 16, 18, 20integer
default:"25"
Frame rate in frames per secondPossible values:
24, 25, 48, 50boolean
default:"true"
Generate audio for the video
string
Model to use for generation. On the Comfy Router route
POST /v2/models/ltx/{model} this field is supplied from the path and may be omitted. The spellings LTX serves on this operation — the set Comfy Router addresses as ltx/<model> — are ltx-2-5-fast and ltx-2-5-pro; they are written out here rather than constrained to an enum for the reason the comment above gives. Which resolutions each one admits is the x-comfy-model-resolutions matrix on the resolution property below.string
required
Text prompt describing the desired video content
string
required
Output video resolution. The enum is the union over all models; the supported set is per model. Supported pairs: ltx-2-5-fast: 1280x720, 720x1280, 1920x1080, 1080x1920, 2560x1440, 1440x2560, 3840x2160, 2160x3840; ltx-2-5-pro: 1280x720, 720x1280, 1920x1080, 1080x1920. Other (model, resolution) pairs are not supported; the v2 routes reject them with 400. The same matrix is published machine-readably in this property’s x-comfy-model-resolutions extension.Possible values:
1280x720, 720x1280, 1920x1080, 1080x1920, 2560x1440, 1440x2560, 3840x2160, 2160x3840GET /v2/models/ltx/ltx-2-5-fast/openapi.json, the same document it validates a call against before the request reaches the provider.
Output
string
Job completion timestamp (ISO 8601)
string
Job creation timestamp (ISO 8601)
object
Present when status is failed
string
string
string
Unique job identifier
object
Present when status is completed; output URLs expire 24 hours after completion
string
URL of the generated video
string
Job status (pending, processing, completed, failed)
Examples
Input
Output
Before you ship
The SDKs create anIdempotency-Key and reuse it for automatic retries. For manual retries, reuse the original key. Router can hold the connection for up to 10 minutes.
When a request fails, Router sends an X-Comfy-Error-Type response header explaining why. A 422 means Router rejected the input before calling the provider. Download generated assets promptly because result URLs can expire.
Headers
Authentication, idempotency, request IDs, error buckets, retry pacing, spend limits.
Using the Router API
Model discovery, validation errors, retries, and billing.
Limitations
What Router does not do today, and what to use instead.