Leum chun t-susbaint

LTX Video (preview)

Amalaich

ID a’ mhodail 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"

An t-iarrtas seo: $0.02 20 creideasan API · ≈ ₽2.11 Ruith e air an duilleig seo

Faigh iuchair API
Lightricks Teacsa gu Bhidio

Modail ro-sheallaidh tràth teacsa-gu-bhidio a nì criomagan bho prompt a-mhàin

Lightricks · Bhidio

Thèid a’ chiad toradh agad an-seo

Tog iarrtas gu h-ìosal agus ruith e leis an iuchair API agad. Tha na h-às-churan air an lethbhreacadh dhan stòradh againn, air an cumail gu bràth no 7 latha an-asgaidh.

Tog iarrtas

Tha na smachdan air an cruthachadh bho sgeama a’ mhodail. Bidh an còd agus a’ phrìs ag ùrachadh fhad ’s a dh’atharraicheas tu iad.

•riatanach

Prompt a chaidh a chleachdadh mar bhunait airson gineadh bhidio.

Adhartach negative_prompt · num_inference_steps · guidance_scale · seed · enable_safety_checker
bun-roghainn low quality, worst qu...

Prompt àicheil a thèid a chleachdadh rè gineadh bhidio.

bun-roghainn 30

Àireamh cheumannan inference ri choileanadh.

bun-roghainn 3

Suidheachadh sgèile an stiùiridh.

Luach sìl airson gineadair nan àireamhan air thuaiream.

POST /run/ltx-video?wait=20 tuairmse → $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"

Ruith an t-iarrtas seo

Fuirichidh an iuchair agad sa bhrobhsair seo: thèid a cur chun Doitong API a-mhàin agus a sàbhaladh (localStorage) a-mhàin ma chuireas tu comharra ri Cuimhnich. Faigh iuchair API

Mu LTX Video (preview)

Cruthaichidh e bhidio bho `prompt` teacsa, gun chur-a-steach ìomhaigh no bhidio. Is iad na smachdan `negative_prompt`, `seed`, `num_inference_steps` (1 gu 50, bunaiteach 30) agus `guidance_scale` (1 gu 10, bunaiteach 3). Tha e na roghainn bhunaiteach le glè bheag de pharamadairean airson prompt-gu-criomag luath.

Paramadairean

AinmSeòrsa Bun-roghainnCeadaichte Tuairisgeul
promptriatanach
Seòrsastring
Prompt a chaidh a chleachdadh mar bhunait airson gineadh bhidio.
negative_promptroghainneil
Seòrsastring
Bun-roghainnlow quality, worst quality, deformed, distorted, disfigured, motion smear, motion artifacts, fused fingers, bad anatomy, weird hand, ugly
Prompt àicheil a thèid a chleachdadh rè gineadh bhidio.
seedroghainneil
Seòrsainteger | null
Luach sìl airson gineadair nan àireamhan air thuaiream.
num_inference_stepsroghainneil
Seòrsainteger
Bun-roghainn30
1 – 50
Àireamh cheumannan inference ri choileanadh.
guidance_scaleroghainneil
Seòrsanumber
Bun-roghainn3
≤ 10> 1
Suidheachadh sgèile an stiùiridh.
enable_safety_checkerroghainneil
Seòrsaboolean
Bun-roghainntrue
Faodar sgrìonadh a shocrachadh le false, ma tha cead aig an neach-gairm.
riatanach

Toradh

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"
  }
}
Na faidhlichean agad, do roghainnTha gach outputs[].url na lethbhreac air an stòradh againn: air a chumail gu bràth (air a phàigheadh gach GB-mìos) no 7 latha an-asgaidh, a rèir suidheachadh a’ chunntais agad no ?storage=.
An aon chruth air gach modailtype, url, content_type, width, height agus duration, airson dealbhan, bhidio agus fuaim le chèile. ’S e output nì toraidh a’ mhodail fhèin.
Raointean toraidh
video
object {url, content_type, file_name, file_size}Bhidio a rinn am modail.
seed
integerLuach sìl a chleachdas gineadair nan àireamhan air thuaiream.

Barrachd mhodalan: Teacsa gu Bhidio

Do riochdairean AI: tha an duilleag seo mar Markdown aig https://doitong.com/gd/developers/models/ltx-video.md. Na modailean agus na treòraichean uile: https://doitong.com/developers/llms.txt