promptstringwajib
The prompt to use for the generated video
lightricks/ltx-2.3-pro/text-to-videoLtx 2.3 Pro is Lightricks's text-to-video AI model. Turn written scripts and prompts into professional-quality video clips with realistic motion, lighting, and scene composition.
Coba model ini
Apa yang ingin Anda lakukan selanjutnya?
Pilih contoh untuk memuat input dan hasilnya ke playground.
{
"prompt": "Through-the-veil shot of a bride's face during an Indian wedding ceremony, camera positioned behind the sheer red dupatta fabric, the embroidered pattern creating a textured overlay on her face, her eyes lined with kohl looking down at henna-covered hands, marigold garlands in soft background bokeh, 85mm f/1.2 focused through the fabric layer, warm tungsten and candlelight, Mira Nair Monsoon Wedding intimacy"
}Preferensi manusia
Peringkat Elo dari voting buta berdampingan, dibandingkan dengan model gambar dan video lainnya.
Peringkat bersumber dari Artificial Analysis Arena
Arena teks-ke-video (tanpa suara): pengguna memilih yang lebih baik dari dua klip dari prompt yang sama, tanpa melihat nama model; audio tidak dinilai.
LTX 2.3 Pro text to video: 6–10 second clips with native audio at 1080p, 1440p, or 4K (2160p).
| Field | Type | Default | Notes |
|---|---|---|---|
prompt | string, required | — | Up to 5,000 characters. |
aspect_ratio | 16:9 / 9:16 | 16:9 | Output frame shape. |
resolution | 1080p / 1440p / 2160p | 1080p | Sets the per-second rate. |
duration | 6 / 8 / 10 | 6 | Output length in seconds. |
generate_audio | boolean | true | Native audio. |
You pay for output seconds: $0.08 at 1080p, $0.16 at 1440p, $0.32 at 2160p.
| Output | 1080p | 1440p | 2160p |
|---|---|---|---|
| 6s (default) | $0.48 | $0.96 | $1.92 |
| 8s | $0.64 | $1.28 | $2.56 |
| 10s | $0.80 | $1.60 | $3.20 |
Failed runs are not charged.
Other LTX 2.3 endpoints: lightricks/ltx-2.3-pro/image-to-video, lightricks/ltx-2.3-pro/audio-to-video, lightricks/ltx-2.3-pro/retake, lightricks/ltx-2.3-pro/video-extend.
Mulai membangun
Kirim model ini melalui SandBase Unified Run API.
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
-X POST "https://api.sandbase.ai/v1/run" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'SANDBASE_JSON'
{
"model": "lightricks/ltx-2.3-pro/text-to-video",
"prompt": "Through-the-veil shot of a bride's face during an Indian wedding ceremony, camera positioned behind the sheer red dupatta fabric, the embroidered pattern creating a textured overlay on her face, her eyes lined with kohl looking down at henna-covered hands, marigold garlands in soft background bokeh, 85mm f/1.2 focused through the fabric layer, warm tungsten and candlelight, Mira Nair Monsoon Wedding intimacy",
"duration": 6,
"resolution": "1080p",
"aspect_ratio": "16:9",
"generate_audio": true
}
SANDBASE_JSON
)
run_id=$(printf '%s' "$result" | jq -r .id)
for attempt in $(seq 1 120); do
status=$(printf '%s' "$result" | jq -r .status)
case "$status" in completed|failed|timeout) break ;; esac
sleep 2
result=$(curl --fail-with-body --silent \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
"https://api.sandbase.ai/v1/run/$run_id")
done
status=$(printf '%s' "$result" | jq -r .status)
[ "$status" = completed ] || { echo "Generation ended: $status" >&2; exit 1; }
printf '%s\n' "$result"Buat SandBase API key dan atur di environment server Anda. Semua permintaan menggunakan autentikasi Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Simpan key di server. Jangan tampilkan di kode browser atau commit ke repository.
POST ke /v1/run dengan ID model ini dan inputnya. Contoh permintaan di atas mencakup pengiriman dan polling.
Gunakan run ID yang dikembalikan untuk polling sampai status completed, failed, atau timeout. Baca output hanya setelah completed.
curl "https://api.sandbase.ai/v1/run/$RUN_ID" \
-H "Authorization: Bearer $SANDBASE_API_KEY"Kirim URL file yang dapat diakses publik di field image, video, atau audio model. Format dan batas yang didukung ditampilkan di samping setiap input Playground.
Gunakan kontrol upload atau replace pada field gambar yang didukung di Playground. Field URL video menerima video driving yang di-host; ini tidak berarti dukungan upload video.
promptstringwajibThe prompt to use for the generated video
durationintegerThe duration of the generated video in seconds
Default: 6
Nilai yang mungkin: 6, 8, 10
resolutionstringThe resolution of the generated video
Default: "1080p"
Nilai yang mungkin: "1080p", "1440p", "2160p"
aspect_ratiostringThe aspect ratio of the generated image.
Default: "16:9"
Nilai yang mungkin: "16:9", "9:16"
generate_audiobooleanWhether to generate audio for the generated video
Default: true
{
"model": "lightricks/ltx-2.3-pro/text-to-video",
"prompt": "Through-the-veil shot of a bride's face during an Indian wedding ceremony, camera positioned behind the sheer red dupatta fabric, the embroidered pattern creating a textured overlay on her face, her eyes lined with kohl looking down at henna-covered hands, marigold garlands in soft background bokeh, 85mm f/1.2 focused through the fabric layer, warm tungsten and candlelight, Mira Nair Monsoon Wedding intimacy",
"duration": 6,
"resolution": "1080p",
"aspect_ratio": "16:9",
"generate_audio": true
}Run yang selesai menampilkan hasilnya di output. Berikut adalah contoh tersimpan model ini, bukan generasi baru.
[
{
"poster": "https://static.sandbase.ai/examples/posters/a8cbceec64320c3a0a92.jpg",
"source": "Lightricks/LTX schema mirror",
"source_url": "https://ltx.studio/",
"url": "https://static.sandbase.ai/examples/d4c6d611-4992-47c5-86ac-76033f80cc37/output/b085f6d3-4597-4bf5-af23-030dcf777999.mp4"
}
]