bash
curl -sSf -X POST https://hub.oxen.ai/api/videos/generate \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $OXEN_API_KEY" \
-d '{
"model": "ltx-2-3-pro-retake",
"prompt": "A cat sitting on a chair",
"input_video": "https://hub.oxen.ai/api/repos/ox/Oxen-AI-Assets/file/main/videos/waterfall.mp4",
"task": "retake",
"retake_start_time": 0,
"retake_duration": 2,
"retake_mode": "replace_audio_and_video"
}'