imagestringbắt buộc
The URL of the start image to use for the generated video.
lightricks/ltx-2.3-pro/image-to-videoLtx 2.3 Pro by Lightricks - animate still images into dynamic videos with AI. Transform photos into cinematic clips with natural motion, camera movement, and optional audio generation.
Thử model
PNG, JPEG, WebP hoặc GIF · tối đa 20 MiB
PNG, JPEG, WebP hoặc GIF · tối đa 20 MiB
Bạn muốn làm gì tiếp theo?
Chọn một ví dụ để nạp đầu vào và kết quả của nó vào playground.
{
"image": "https://static.sandbase.ai/examples/c7d8f59e-6180-41d0-88b2-298746c79af5/input/823e934f-9302-48ed-8c09-73ade1f07336.png",
"prompt": "Periscope-level shot from behind tall grass of two Maasai warriors mid-leap during an adumu jumping dance, bodies fully airborne against a golden savanna sunset, red shuka robes frozen in motion, dust kicked up from the earth catching backlight, 85mm f/1.4 isolating the pair from a blurred circle of onlookers, Steve McCurry meets Emmanuel Lubezki"
}Sở thích con người
Điểm Elo từ các lượt bình chọn ẩn, so sánh với các mô hình hình ảnh và video khác.
Xếp hạng lấy từ Artificial Analysis Arena
Arena hình ảnh sang video (không âm thanh): người dùng chọn clip tốt hơn trong hai clip được chuyển động từ cùng một hình, không thấy tên model; âm thanh không được đánh giá.
LTX 2.3 Pro image to video: 6–10 second clips with native audio at 1080p, 1440p, or 4K (2160p). image is the first frame; end_image optionally the last.
| Field | Type | Default | Notes |
|---|---|---|---|
prompt | string, required | — | Up to 5,000 characters. |
image | image URL, required | — | First frame. JPEG, PNG, or WebP URL. |
end_image | image URL | — | Optional last frame. |
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. |
aspect_ratio | 16:9 / 9:16 | — | Output frame shape. |
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/text-to-video, lightricks/ltx-2.3-pro/audio-to-video, lightricks/ltx-2.3-pro/retake, lightricks/ltx-2.3-pro/video-extend.
Bắt đầu xây dựng
Gửi model này qua 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/image-to-video",
"image": "https://static.sandbase.ai/examples/lightricks/ltx-2.3-pro/image-to-video/input_image_0.png",
"prompt": "Periscope-level shot from behind tall grass of two Maasai warriors mid-leap during an adumu jumping dance, bodies fully airborne against a golden savanna sunset, red shuka robes frozen in motion, dust kicked up from the earth catching backlight, 85mm f/1.4 isolating the pair from a blurred circle of onlookers, Steve McCurry meets Emmanuel Lubezki",
"duration": 6,
"resolution": "1080p",
"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"Tạo một SandBase API key và đặt nó trong môi trường máy chủ của bạn. Tất cả request sử dụng xác thực Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Giữ key trên máy chủ. Không hiển thị trong mã trình duyệt hoặc commit vào repository.
POST tới /v1/run với model ID này và các đầu vào của nó. Ví dụ request ở trên bao gồm cả bước gửi và polling.
Dùng run ID được trả về để poll cho đến khi trạng thái là completed, failed hoặc timeout. Chỉ đọc đầu ra sau khi completed.
curl "https://api.sandbase.ai/v1/run/$RUN_ID" \
-H "Authorization: Bearer $SANDBASE_API_KEY"Cung cấp một URL tệp có thể truy cập công khai trong trường image, video hoặc audio của model. Các định dạng và giới hạn được hỗ trợ hiển thị bên cạnh từng input trong Playground.
Dùng điều khiển upload hoặc replace trên các trường image được hỗ trợ trong Playground. Trường URL video chấp nhận một video driving được host; điều này không đồng nghĩa hỗ trợ tải lên video.
imagestringbắt buộcThe URL of the start image to use for the generated video.
promptstringbắt buộcThe prompt to use for the generated video
durationintegerThe duration of the generated video in seconds
Mặc định: 6
Giá trị có thể dùng: 6, 8, 10
end_imagestringThe URL of the end image to use for the generated video. When provided, generates a transition video between start and end frames.
resolutionstringThe resolution of the generated video
Mặc định: "1080p"
Giá trị có thể dùng: "1080p", "1440p", "2160p"
aspect_ratiostringOutput aspect ratio. Omit to match the input image.
Giá trị có thể dùng: "16:9", "9:16"
generate_audiobooleanWhether to generate audio for the generated video
Mặc định: true
{
"model": "lightricks/ltx-2.3-pro/image-to-video",
"image": "https://static.sandbase.ai/examples/lightricks/ltx-2.3-pro/image-to-video/input_image_0.png",
"prompt": "Periscope-level shot from behind tall grass of two Maasai warriors mid-leap during an adumu jumping dance, bodies fully airborne against a golden savanna sunset, red shuka robes frozen in motion, dust kicked up from the earth catching backlight, 85mm f/1.4 isolating the pair from a blurred circle of onlookers, Steve McCurry meets Emmanuel Lubezki",
"duration": 6,
"resolution": "1080p",
"generate_audio": true
}Một run đã hoàn tất sẽ hiển thị kết quả trong output. Phần sau là ví dụ đã lưu của model, không phải một lần tạo mới.
[
{
"poster": "https://static.sandbase.ai/examples/posters/c9075ef090046045b5e9.jpg",
"source": "Lightricks/LTX schema mirror",
"source_url": "https://ltx.studio/",
"url": "https://static.sandbase.ai/examples/c7d8f59e-6180-41d0-88b2-298746c79af5/output/04aadb09-3d10-49fe-8d0c-b0f59bac6f64.mp4"
}
]