שפּרינגען צו אינהאַלט

LTX Video 2.3 Pro · Retake Video

אינטעגרירן

מאָדעל־id ltx-2.3/retake-video
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/ltx-2.3/retake-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "video": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4",
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

דער דאָזיקער ריקוועסט: ⁨$ 0.50⁩ 500 API־קרעדיטן לויפֿן עס אויף דער דאָזיקער בלאַט

באַקומען אַן API שליסל
Lightricks ווידעא צו ווידעא ליפּסינק2–20 s #stylized#transform#lipsync

גענערירט מחדש אַן אויסגעקליבענעם צײַט־פֿענצטער פֿון אַן עקזיסטירנדיקער ווידעא לויט אַ `prompt`, און ערזעצט איר אַודיאָ, ווידעא אָדער ביידע

Lightricks · ווידעא

דאָ קומט אײַער ערשטער רעזולטאַט

בויט אונטן אַ בקשה און לויפט זי מיט אײַער API שליסל. רעזולטאַטן ווערן קאַפּירט צו אונדזער סטאָרידזש, געהאַלטן אויף אייביק אָדער 7 טעג אומזיסט.

בויען אַ בעטן

קאָנטראָלן ווערן דזשענערירט פֿון דעם מאָדעל־סכעמע. דער קאָד און דער פּרײַז דערהײַנטיקן זיך ווען איר ענדערט זיי.

•פארלאנגט 88 / 5000

פּראָמפּט וואָס גיידט דעם ווידעא־retake.

•פארלאנגט video_url
לייגט אַרײַן אַ טעקע, אָדער

URL צו דער ווידעא פֿאַר retaking.

סטאַנדאַרט 5

לענג פֿון דעם ווידעא־אָפּשניט פֿאַר retake, געמאסטן אין סעקונדעס.

פֿאָרגעשריטן retake_mode · start_time · enable_safety_checker
סטאַנדאַרט replace_audio_and_video

מאָדוס פֿאַר דעם ווידעא־retake.

סטאַנדאַרט 0

אָנהייב־פּונקט פֿאַר דעם ווידעא־retake, געמאסטן אין סעקונדעס.

POST /run/ltx-2.3/retake-video?wait=20 פּרײַז → ⁨$ 0.50⁩
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/ltx-2.3/retake-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "video": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4",
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

לויפֿן דעם ריקוועסט

אײַער key בלײַבט אין דעם בלעטערער: זי ווערט געשיקט נאָר צום Doitong API און אָפּגעהיט (localStorage) נאָר אויב איר טיקט אָן געדענקען. באַקומען אַן API שליסל

וועגן LTX Video 2.3 Pro · Retake Video

נעמט אַ מקור־קליפּ (`video_url`) און אַ `prompt`, און מאַכט מחדש איין אָפּשניט פֿון אים. `start_time` (0 ביז 20 s) און `duration` (2 ביז 20 s) באַשטימען דאָס פֿענצטער. `retake_mode` קליבט צי אַודיאָ, ווידעא אָדער ביידע זאָלן ערזעצט ווערן, פּאַסיק פֿאַר פֿאַרריכטן איין מאָמענט אָן מחדש־מאַכן דעם גאַנצן קליפּ.

פּאַראַמעטערס

שיקט אָדער דעם קאַנאָנישן נאָמען אָדער דעם נאַטיוון נאָמען, נישט ביידע. קאַנאָנישע נעמען

נאָמעןטיפּ סטאַנדאַרטערלויבט באַשרײַבונג
video_urlפארלאנגט video
טיפּurl · video
URL צו דער ווידעא פֿאַר retaking.
promptפארלאנגט
טיפּstring
≤ 5,000 כאַראַקטערן
פּראָמפּט וואָס גיידט דעם ווידעא־retake.
start_timeאָפּציאָנעל
טיפּnumber
סטאַנדאַרט0
0 – 20
אָנהייב־פּונקט פֿאַר דעם ווידעא־retake, געמאסטן אין סעקונדעס.
durationאָפּציאָנעל
טיפּnumber
סטאַנדאַרט5
2 – 20
לענג פֿון דעם ווידעא־אָפּשניט פֿאַר retake, געמאסטן אין סעקונדעס.
retake_modeאָפּציאָנעל
טיפּenum
סטאַנדאַרטreplace_audio_and_video
replace_audioreplace_videoreplace_audio_and_video
מאָדוס פֿאַר דעם ווידעא־retake.
enable_safety_checkerאָפּציאָנעל
טיפּboolean
סטאַנדאַרטtrue
סקרינינג קען ווערן פאַרלייכטערט דורך שטעלן false, אויב דער רופער איז אָטעריזירט.
פארלאנגט קאַנאָנישער נאָמען, אויך אַקצעפּטירט

טעקע־פּאַראַמעטערס נעמען אַן עפֿנטלעכע https:// URL, אַ data: URI ביז 10 MB, אָדער דעם file_url פֿון אַן אַרויפֿלאָד. טעקעס

אויסגאַבע

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "ltx-2.3/retake-video",
  "status": "succeeded",
  "created_at": "2026-10-20T12:00:00Z",
  "started_at": "2026-10-20T12:00:02Z",
  "completed_at": "2026-10-20T12:00:09Z",
  "queue_position": null,
  "cost": {
    "credits": 500,
    "usd": "0.50",
    "charged": 500,
    "refunded": 0
  },
  "input": {
    "video_url": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4",
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  },
  "output": {
    "video": {
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp4",
      "content_type": "video/mp4",
      "file_name": "0-output.mp4",
      "file_size": 1843200,
      "width": 1024,
      "height": 768,
      "fps": 1.0,
      "duration": 5,
      "num_frames": 1
    }
  },
  "outputs": [
    {
      "type": "video",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp4",
      "content_type": "video/mp4",
      "file_size": 1843200,
      "width": 1280,
      "height": 720,
      "duration": 5,
      "stored": true
    }
  ],
  "error": null,
  "metrics": {
    "inference_seconds": 6.8
  },
  "urls": {
    "self": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
אייער טעקעס, אייער ברירהיעדער outputs[].url איז אַ קאַפּיע אין אונדזער סטאָרידזש: געהאַלטן אויף אייביק (באַצאָלט פּער GB־חודש) אָדער 7 טעג אומזיסט, לויט אײַער חשבון־באַשטעטיקונג אָדער ?storage=.
דער זעלבער פֿאָרעם בײַ יעדן מאָדעלtype, url, content_type, width, height און duration, סײַ פֿאַר בילדער, ווידעאָ און אַודיאָ. output איז דער אייגענער רעזולטאַט־אָביעקט פֿון מאָדעל.
פֿעלדער פֿון דער אויסגאַבע
video
object {url, content_type, file_name, file_size, width, height, fps, duration, num_frames}רעזולטירנדיקע ווידעא־פֿײַל.

מער מאָדעלן: ווידעא צו ווידעא

פֿאַר AI־אַגענטן: דער בלאַט ווי Markdown געפֿינט זיך בײַ https://doitong.com/yi/developers/models/ltx-2.3/retake-video.md. אַלע מאָדעלן און גוידעס: https://doitong.com/developers/llms.txt