Мазмұнға өту

LTX Video (preview)

Интеграциялау

Модель идентификаторы 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 кілтін алу

Тек промпт арқылы клип жасайтын ерте алдын ала қарау мәтіннен бейне моделі

Lightricks · Бейне

Алғашқы нәтижеңіз осында пайда болады

Төменде сұрау құрып, оны API кілтіңізбен іске қосыңыз. Шығыстар сақтау орнымызға көшіріліп, мәңгі немесе 7 күн тегін сақталады.

Сұрау жасау

Басқару элементтері модель схемасынан жасалады. Оларды өзгерткен сайын код пен баға жаңартылады.

•міндетті

Бейне генерациясының негізі ретінде қолданылатын нұсқау.

Қосымша negative_prompt · num_inference_steps · guidance_scale · seed · enable_safety_checker
әдепкі low quality, worst qu...

Бейне генерациясы кезінде қолданылатын теріс нұсқау.

әдепкі 30

Орындалатын inference қадамдарының саны.

әдепкі 3

Нұсқау масштабының параметрі.

Кездейсоқ сандар генераторының 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"

Осы сұрауды іске қосу

Кілтіңіз осы браузерде қалады: ол тек Doitong API-ге жіберіледі және Remember параметрін белгілеcеңіз ғана localStorage ішінде сақталады. API кілтін алу

LTX Video (preview) туралы

Мәтіндік `prompt` арқылы кескін не бейне кірісінсіз бейне жасайды. Басқару параметрлері: `negative_prompt`, `seed`, `num_inference_steps` (1-ден 50-ге дейін, әдепкі 30) және `guidance_scale` (1-ден 10-ға дейін, әдепкі 3). Бұл — промпттан клипті жылдам жасауға арналған қарапайым, параметрлері аз нұсқа.

Параметрлер

АтауыТүрі ӘдепкіРұқсат етілген Сипаттама
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
Нұсқау масштабының параметрі.
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-ай үшін ақылы) немесе аккаунт параметрі не ?storage= арқылы 7 күн тегін сақталады.
Әр модельдегі пішім бірдейtype, url, content_type, width, height және duration — кескіндерге, бейнеге және аудиоға ортақ. output — модельдің өз нәтижелер нысаны.
Шығыс өрістері
video
object {url, content_type, file_name, file_size}Модель жасаған бейне.
seed
integerКездейсоқ сандар генераторы пайдаланатын seed мәні.

Қосымша модельдер: Мәтіннен бейнеге

AI агенттеріне: бұл беттің Markdown нұсқасы мына жерде: https://doitong.com/kk/developers/models/ltx-video.md. Барлық модельдер мен нұсқаулықтар: https://doitong.com/developers/llms.txt