promptstringwymagane
The prompt to use for the generated video
lightricks/ltx-2.3-fast/text-to-videoLtx 2.3 Fast by Lightricks - generate cinematic videos from text descriptions with AI. Create high-quality video content with natural motion, camera control, and optional audio generation.
Wypróbuj model
Co chcesz zrobić dalej?
Wybierz przykład, aby wczytać jego dane wejściowe i wynik do playgroundu.
{
"prompt": "Drone descent through the open oculus of a derelict Soviet-era radio telescope dish, spiraling downward into the rusted parabolic bowl where a lone botanist catalogs wildflowers growing through cracked concrete, her red jacket the only color against oxidized metal and grey sky, 24mm on a caged FPV drone, the descent creating a vertigo spiral, Tarkovsky Stalker zones of alien beauty reclaiming technology, science swallowed by nature"
}Preferencje użytkowników
Oceny Elo na podstawie ślepych głosowań porównawczych, zestawione z innymi modelami obrazu i wideo.
Rankingi pochodzą z Artificial Analysis Arena
Arena tekst-na-wideo (bez dźwięku): użytkownicy wybierają lepszy z dwóch klipów wygenerowanych z tego samego promptu, bez znajomości nazw modeli; dźwięk nie jest oceniany.
LTX 2.3 Fast text to video: up to 20 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 / 12 / 14 / 16 / 18 / 20 | 6 | Output length in seconds. |
generate_audio | boolean | true | Native audio. |
You pay for output seconds: $0.06 at 1080p, $0.12 at 1440p, $0.24 at 2160p.
| Output | 1080p | 1440p | 2160p |
|---|---|---|---|
| 6s (default) | $0.36 | $0.72 | $1.44 |
| 10s | $0.60 | $1.20 | $2.40 |
| 20s | $1.20 | $2.40 | $4.80 |
Failed runs are not charged.
Other LTX 2.3 endpoints: lightricks/ltx-2.3-pro/text-to-video, lightricks/ltx-2.3-pro/image-to-video, lightricks/ltx-2.3-pro/audio-to-video, lightricks/ltx-2.3-pro/retake.
Zacznij tworzyć
Prześlij ten model przez 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-fast/text-to-video",
"prompt": "Drone descent through the open oculus of a derelict Soviet-era radio telescope dish, spiraling downward into the rusted parabolic bowl where a lone botanist catalogs wildflowers growing through cracked concrete, her red jacket the only color against oxidized metal and grey sky, 24mm on a caged FPV drone, the descent creating a vertigo spiral, Tarkovsky Stalker zones of alien beauty reclaiming technology, science swallowed by nature",
"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"Utwórz klucz API SandBase i ustaw go w środowisku serwera. Wszystkie żądania używają uwierzytelniania Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Przechowuj klucz na serwerze. Nie ujawniaj go w kodzie przeglądarkowym ani nie commituj do repozytorium.
Wyślij POST do /v1/run z tym identyfikatorem modelu i jego danymi wejściowymi. Powyższy przykład żądania obejmuje wysyłanie i odpytywanie statusu.
Użyj zwróconego ID uruchomienia, aby odpytywać status do momentu completion, failed lub timeout. Odczytaj wynik dopiero po completion.
curl "https://api.sandbase.ai/v1/run/$RUN_ID" \
-H "Authorization: Bearer $SANDBASE_API_KEY"Przekaż publicznie dostępny URL pliku w polu image, video lub audio modelu. Obsługiwane formaty i limity są pokazane obok każdego pola wejściowego w Playground.
Użyj kontrolki upload lub replace w obsługiwanych polach image w Playground. Pola URL wideo akceptują hostowany film źródłowy; nie oznacza to obsługi przesyłania wideo.
promptstringwymaganeThe prompt to use for the generated video
durationintegerThe duration of the generated video in seconds. The fast model supports 6-20 seconds. Note: Durations longer than 10 seconds (12, 14, 16, 18, 20) are only supported with 25 FPS and 1080p resolution.
Domyślnie: 6
Możliwe wartości: 6, 8, 10, 12, 14, 16, 18, 20
resolutionstringThe resolution of the generated video
Domyślnie: "1080p"
Możliwe wartości: "1080p", "1440p", "2160p"
aspect_ratiostringThe aspect ratio of the generated image.
Domyślnie: "16:9"
Możliwe wartości: "16:9", "9:16"
generate_audiobooleanWhether to generate audio for the generated video
Domyślnie: true
{
"model": "lightricks/ltx-2.3-fast/text-to-video",
"prompt": "Drone descent through the open oculus of a derelict Soviet-era radio telescope dish, spiraling downward into the rusted parabolic bowl where a lone botanist catalogs wildflowers growing through cracked concrete, her red jacket the only color against oxidized metal and grey sky, 24mm on a caged FPV drone, the descent creating a vertigo spiral, Tarkovsky Stalker zones of alien beauty reclaiming technology, science swallowed by nature",
"duration": 6,
"resolution": "1080p",
"aspect_ratio": "16:9",
"generate_audio": true
}Zakończone uruchomienie udostępnia swój wynik w output. Poniżej znajduje się zapisany przykład modelu, a nie nowa generacja.
[
{
"poster": "https://static.sandbase.ai/examples/posters/d85d133037bc66b4cbf7.jpg",
"source": "Lightricks/LTX schema mirror",
"source_url": "https://ltx.studio/",
"url": "https://static.sandbase.ai/examples/20ca6eae-1cb7-464e-9b85-168cb86d7d18/output/296401b2-83b4-4935-9d5e-7fa06a75532a.mp4"
}
]