imagestringจำเป็น
URL of the image to generate the video from. Must be publicly accessible or base64 data URI. Supports PNG, JPEG, WebP, AVIF, and HEIF formats.
lightricks/ltx-2.3-fast/image-to-videoLtx 2.3 Fast is Lightricks's image-to-video AI model. Bring static images to life with fluid animation, consistent character motion, and professional-grade video output.
ลองใช้โมเดล
PNG, JPEG, WebP หรือ GIF · สูงสุด 20 MiB
PNG, JPEG, WebP หรือ GIF · สูงสุด 20 MiB
ต้องการทำอะไรต่อ
เลือกตัวอย่างเพื่อโหลดอินพุตและผลลัพธ์ลงใน playground
{
"image": "https://static.sandbase.ai/examples/78072a01-7219-4993-a8f3-089836e6ad15/input/cc432447-c109-463d-a28b-0e4b21c66923.png",
"prompt": "Snorkel lens ground-scraping tracking shot following a barefoot Ethiopian long-distance runner training on a dirt road at dawn, camera inches from the ground racing alongside, her feet kicking up red dust in slow motion at 240fps, Rift Valley landscape blurred in the background, the texture of earth and callused skin in hyper-detail, 40mm snorkel lens at ground height, Nike Running documentary meets Lubezki natural light, the poetry of human endurance"
}ความชอบของมนุษย์
คะแนน Elo จากการโหวตแบบจับคู่ทีละสองแบบโดยไม่เห็นชื่อรุ่น เปรียบเทียบกับโมเดลภาพและวิดีโออื่น ๆ
อันดับอ้างอิงจาก Artificial Analysis Arena
Arena แปลงภาพเป็นวิดีโอ (ไม่มีเสียง): ผู้ใช้เลือกคลิปที่ดีกว่าจากคลิปสองชิ้นที่แอนิเมตจากภาพเดียวกัน โดยไม่เห็นชื่อโมเดล; ไม่พิจารณาเสียง
LTX 2.3 Fast image to video: up to 20 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 / 12 / 14 / 16 / 18 / 20 | 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.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.
เริ่มสร้าง
ส่งโมเดลนี้ผ่าน 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/image-to-video",
"image": "https://static.sandbase.ai/examples/lightricks/ltx-2.3-fast/image-to-video/input_image_0.png",
"prompt": "Snorkel lens ground-scraping tracking shot following a barefoot Ethiopian long-distance runner training on a dirt road at dawn, camera inches from the ground racing alongside, her feet kicking up red dust in slow motion at 240fps, Rift Valley landscape blurred in the background, the texture of earth and callused skin in hyper-detail, 40mm snorkel lens at ground height, Nike Running documentary meets Lubezki natural light, the poetry of human endurance",
"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"สร้าง SandBase API key และตั้งค่าไว้ในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอทั้งหมดใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์หรือคอมมิตลง repository
POST ไปที่ /v1/run ด้วย model ID นี้และอินพุตของมัน ตัวอย่างคำขอด้านบนมีทั้งการส่งและการ polling
ใช้ run ID ที่ส่งกลับมาเพื่อ polling จนกว่าสถานะจะเป็น completed, failed หรือ timeout ให้อ่าน output หลังจาก completed เท่านั้น
curl "https://api.sandbase.ai/v1/run/$RUN_ID" \
-H "Authorization: Bearer $SANDBASE_API_KEY"ส่ง URL ไฟล์ที่เข้าถึงได้สาธารณะในช่อง image, video หรือ audio ของโมเดล รูปแบบและข้อจำกัดที่รองรับแสดงอยู่ข้างแต่ละอินพุตใน Playground
ใช้ตัวควบคุม upload หรือ replace ในช่องรูปภาพที่รองรับใน Playground ช่อง URL ของวิดีโอรองรับวิดีโอ driving ที่โฮสต์ไว้; ไม่ได้หมายความว่าสามารถอัปโหลดวิดีโอได้
imagestringจำเป็นURL of the image to generate the video from. Must be publicly accessible or base64 data URI. Supports PNG, JPEG, WebP, AVIF, and HEIF formats.
promptstringจำเป็นThe prompt to generate the video from
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.
ค่าเริ่มต้น: 6
ค่าที่เป็นไปได้: 6, 8, 10, 12, 14, 16, 18, 20
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
ค่าเริ่มต้น: "1080p"
ค่าที่เป็นไปได้: "1080p", "1440p", "2160p"
aspect_ratiostringOutput aspect ratio. Omit to match the input image.
ค่าที่เป็นไปได้: "16:9", "9:16"
generate_audiobooleanWhether to generate audio for the generated video
ค่าเริ่มต้น: true
{
"model": "lightricks/ltx-2.3-fast/image-to-video",
"image": "https://static.sandbase.ai/examples/lightricks/ltx-2.3-fast/image-to-video/input_image_0.png",
"prompt": "Snorkel lens ground-scraping tracking shot following a barefoot Ethiopian long-distance runner training on a dirt road at dawn, camera inches from the ground racing alongside, her feet kicking up red dust in slow motion at 240fps, Rift Valley landscape blurred in the background, the texture of earth and callused skin in hyper-detail, 40mm snorkel lens at ground height, Nike Running documentary meets Lubezki natural light, the poetry of human endurance",
"duration": 6,
"resolution": "1080p",
"generate_audio": true
}run ที่เสร็จสมบูรณ์จะแสดงผลลัพธ์ใน output ต่อไปนี้เป็นตัวอย่างที่บันทึกไว้ของโมเดล ไม่ใช่การสร้างใหม่
[
{
"poster": "https://static.sandbase.ai/examples/posters/751eba32b385e955d0a9.jpg",
"source": "Lightricks/LTX schema mirror",
"source_url": "https://ltx.studio/",
"url": "https://static.sandbase.ai/examples/78072a01-7219-4993-a8f3-089836e6ad15/output/abec3b97-53f7-487e-a14c-e60845ffb0a8.mp4"
}
]