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

LTX Video (preview)

אינטעגרירן

מאָדעל־id ltx-video
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/v1/run/ltx-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "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.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

דער דאָזיקער ריקוועסט: ⁨$ 0.02⁩ 20 API־קרעדיטן · ≈ ⁨₽ 2.11⁩ לויפֿן עס אויף דער דאָזיקער בלאַט

באַקומען אַן API שליסל

פֿריִער פּריוויו־טעקסט־צו־ווידעא־מאָדעל, וואָס מאַכט קליפּס בלויז פֿון אַ `prompt`

Lightricks · ווידעא

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

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

בויען אַ בעטן

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

•פארלאנגט

פּראָמפּט גענוצט ווי באַזע פֿאַר ווידעא־גענערירונג.

פֿאָרגעשריטן negative_prompt · num_inference_steps · guidance_scale · seed · enable_safety_checker
סטאַנדאַרט low quality, worst qu...

נעגאַטיווער פּראָמפּט וואָס ווערט גענוצט בעת ווידעא־גענערירונג.

סטאַנדאַרט 30

צאָל inference־שטאַפּלען.

סטאַנדאַרט 3

Guidance־סקאַלע־באַשטעטיקונג.

Seed־ווערט פֿאַר דעם צופֿעליקן צאָל־גענעראַטאָר.

POST /run/ltx-video?wait=20 פּרײַז → ⁨$ 0.02⁩
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/v1/run/ltx-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "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.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

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

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

וועגן LTX Video (preview)

גענערירט אַ ווידעא פֿון אַ טעקסט־`prompt`, אָן בילד אָדער ווידעא־אײַנגאַבע. די קאָנטראָלן זענען `negative_prompt`, `seed`, `num_inference_steps` (1 ביז 50, סטאַנדאַרט 30) און `guidance_scale` (1 ביז 10, סטאַנדאַרט 3). דאָס איז אַן יסודותדיקע אָפּציע מיט מינימאַלע פּאַראַמעטערס פֿאַר שנעלע גענעראַציע פֿון אַ `prompt` צו אַ קליפּ.

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

נאָמעןטיפּ סטאַנדאַרטערלויבט באַשרײַבונג
promptפארלאנגט
טיפּstring
פּראָמפּט גענוצט ווי באַזע פֿאַר ווידעא־גענערירונג.
negative_promptאָפּציאָנעל
טיפּstring
סטאַנדאַרטlow quality, worst quality, deformed, distorted, disfigured, motion smear, motion artifacts, fused fingers, bad anatomy, weird hand, ugly
נעגאַטיווער פּראָמפּט וואָס ווערט גענוצט בעת ווידעא־גענערירונג.
seedאָפּציאָנעל
טיפּinteger | null
Seed־ווערט פֿאַר דעם צופֿעליקן צאָל־גענעראַטאָר.
num_inference_stepsאָפּציאָנעל
טיפּinteger
סטאַנדאַרט30
1 – 50
צאָל inference־שטאַפּלען.
guidance_scaleאָפּציאָנעל
טיפּnumber
סטאַנדאַרט3
≤ 10> 1
Guidance־סקאַלע־באַשטעטיקונג.
enable_safety_checkerאָפּציאָנעל
טיפּboolean
סטאַנדאַרטtrue
סקרינינג קען ווערן פאַרלייכטערט דורך שטעלן false, אויב דער רופער איז אָטעריזירט.
פארלאנגט

אויסגאַבע

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "ltx-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": 20,
    "usd": "0.02",
    "charged": 20,
    "refunded": 0
  },
  "input": {
    "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
    },
    "seed": 42
  },
  "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.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.ru/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}ווידעא געשאַפֿן דורכן מאָדעל.
seed
integerSeed־ווערט גענוצט דורכן צופֿעליקן צאָל־גענעראַטאָר.

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

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