LTX-2.5 Fast · Create a generation
Pass the model id, its unified input parameters and optionally a provider slug. The response returns immediately with the task id; image models on synchronous providers may already be succeeded.
/api/v1/generationsBearer API keyEndpoints for this model
/generationsCreate a generationGET/generations/{id}Get the resultPOST/generations/{id}/cancelCancel a taskPOST/quoteQuoteGET/models/{slug}Get one modelSelect a provider to see its effective parameter limits. Automatic routing chooses a provider that supports your input. Examples include defaults and required inputs; replace example media URLs with accessible files.
Request
curl 'https://01router.com/api/v1/generations' \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "ltx-2.5-fast",
"input": {
"prompt": "A cinematic landscape at sunrise.",
"duration": 6,
"resolution": "1080p",
"aspect_ratio": "16:9",
"generate_audio": true
}
}'Input parameters
JSON bodymodelstringRequiredModel slug from the catalog. Project keys may use a project-specific model slug.
Allowed values:"ltx-2.5-fast"inputobjectRequiredModel-specific input object. See the selected model reference for required fields, defaults and limits.
providerstringOptionalOptional provider slug. Omit for automatic routing; project settings may pin the provider.
projectstringOptionalOptional project ID. Use its published model catalog and routing configuration.
callback_urlstring<uri>OptionalPublic HTTPS URL, up to 1,000 characters. Receives the final generation object. Private network addresses are rejected.
input.promptstringRequiredinput.image_urlstring<uri>OptionalOptional start image (image-to-video)
input.end_image_urlstring<uri>Optionalinput.durationenumOptional- Default:
6Allowed values:68101214161820 input.resolutionenumOptional- Default:
"1080p"Allowed values:"720p""1080p""1440p""2160p" input.aspect_ratioenumOptional- Default:
"16:9"Allowed values:"16:9""9:16" input.generate_audiobooleanOptional- Default:
true
Response example
{
"id": "gen_example",
"object": "generation",
"model": "ltx-2.5-fast",
"type": "video",
"provider": "fal",
"status": "processing",
"input": {
"prompt": "A cinematic landscape at sunrise.",
"duration": 6,
"resolution": "1080p",
"aspect_ratio": "16:9",
"generate_audio": true
},
"outputs": [],
"error": null,
"credits": 100,
"price_usd": 1,
"created_at": "2026-10-25T08:00:00.000Z",
"completed_at": null
}Responses are illustrative. IDs, usage, prices and results depend on the actual request.
Response fields
idstringGeneration ID returned by the create request.
object"generation"generation
modelstringModel slug from the catalog. Project keys may use a project-specific model slug.
typevideo | image | audio | chatproviderstringOptional provider slug. Omit for automatic routing; project settings may pin the provider.
statusstringqueued / processing / succeeded / failed. Stop polling on succeeded or failed.
inputobjectModel-specific input object. See the selected model reference for required fields, defaults and limits.
outputsstring[]Result file URLs. Empty until available; download promptly because URLs may expire.
errorstring | nullError message on failure; null otherwise.
creditsnumberCredits charged for this generation; zero after a refund.
price_usdnumberPrice of this generation in USD; zero after a refund.
created_atstringCreation time in ISO 8601 format.
completed_atstring | nullCompletion time in ISO 8601 format, or null while running.
Usage notes
- Poll at intervals of at least 3 seconds. A 504 from the synchronous image endpoint means the task may still be running: poll its error.id instead of submitting it again.
Use with AI
Give your coding assistant the documentation index or the full API reference, including live model parameters.