Generate videos from a text prompt with configurable aspect ratio, duration, resolution, frame rate, and optional synchronized audio. Submit asynchronously, then query the returned task ID for status and results.
Developer API pricing
Provider: Replicate
USD estimate: $0.0037 / credit · Estimated equivalent, not an additional charge.
720p: 9 credits/sec (≈ $0.034/sec)
1080p: 17 credits/sec (≈ $0.064/sec)
2k: 34 credits/sec (≈ $0.13/sec)
4k: 68 credits/sec (≈ $0.25/sec)
After submitting a task, use the unified query endpoint to check progress and retrieve results:
Manage the secret used to verify generation webhook signatures. Callback URLs are supplied when you create each generation.
Callback URL per generation.
/v1/generationsA unique key for this generation request. Reuse the same value only when retrying the identical request body.
order-20260818-001The public model ID documented on this page. Use ltx-2-5-fast for this Endpoint.
ltx-2-5-fastltx-2-5-fastltx-2-5-fastThe public Endpoint ID for the selected model. Use the Endpoint whose input schema matches this request.
text-to-videotext-to-videotext-to-videoOptional public Provider ID. Omit this field to use the Endpoint's default Provider.
replicatereplicatereplicateProvider-specific input object. Its accepted fields and validation rules depend on the selected provider.
Provider parameters
replicateDefault ProviderDescribe the content to generate, including the subject, scene, action, visual style, camera behavior, and other important details.
A cinematic city at nightSelect the width-to-height ratio of the generated output.
16:99:1616:9Requested output duration in seconds. Choose a value supported by this Provider and Endpoint.
234568101214161820min: 2max: 206Select the requested output resolution. Higher resolutions may increase processing time and credit usage.
720p1080p2k4k1080pRequested output frame rate in frames per second.
2425485025Whether to generate synchronized audio for the output video.
trueOptional absolute HTTPS URL that receives terminal generation updates. If omitted, query the task-details endpoint with the returned generation ID.
https://client.example.com/webhooks/seeapitask_xxxltx-2-5-fasttext-to-videoreplicatereplicate: ReplicatereplicateprocessingprocessingEstimated public credits. Values can include up to three decimal places.
102Consumed public credits, with up to three decimal places.
0Refunded public credits, with up to three decimal places.
02026-08-18T10:00:00Z2026-08-18T10:00:00ZWhether this response is an idempotent replay of an earlier request.
falsetask_xxxltx-2-5-fasttext-to-videoreplicatereplicate: ReplicatereplicateprocessingprocessingEstimated public credits. Values can include up to three decimal places.
102Consumed public credits, with up to three decimal places.
0Refunded public credits, with up to three decimal places.
02026-08-18T10:00:00Z2026-08-18T10:00:00ZWhether this response is an idempotent replay of an earlier request.
falseInvalid JSON, parameters, Schema, or API Policy
Invalid API Key or authentication failed
Insufficient credits
The current request is not allowed
Model, Endpoint, or task not found
Idempotency conflict or the same request is still being created
Request body is too large
Too many requests
Service temporarily unavailable
const response = await fetch("https://api.seeapi.com/v1/generations", {
method: "POST",
headers: {
"Authorization": "Bearer YOUR_API_KEY",
"Idempotency-Key": "order-20260818-001",
"Content-Type": "application/json"
},
body: JSON.stringify({
"model": "ltx-2-5-fast",
"endpoint": "text-to-video",
"provider": "replicate",
"input": {
"prompt": "A cinematic city at night",
"aspect_ratio": "16:9",
"duration_seconds": 6,
"resolution": "1080p",
"frame_rate": 25,
"generate_audio": true
},
"callback_url": "https://client.example.com/webhooks/seeapi"
})
});
const result = await response.json();{
"generation": {
"id": "task_xxx",
"model": "ltx-2-5-fast",
"endpoint": "text-to-video",
"provider": "replicate",
"status": "processing",
"estimated_credits": 102,
"consumed_credits": 0,
"refunded_credits": 0,
"created_at": "2026-08-18T10:00:00Z",
"updated_at": "2026-08-18T10:00:00Z"
},
"idempotent": false
}