Leum chun t-susbaint

LTX Video-0.9.5

Amalaich

ID a’ mhodail ltx-video-v095
# 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-video-v095?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.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

An t-iarrtas seo: $0.04 40 creideasan API Ruith e air an duilleig seo

Faigh iuchair API
Lightricks Teacsa gu Bhidio suas ri 720p #video#text-video

LTX Video 0.9.5 teacsa-gu-bhidio aig 480p no 720p ann an 16:9 no 9:16, le leudachadh prompt

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

Stiùiridhean teacsa a bhios a’ stiùireadh gineadh.

resolution bun-roghainn 720p

Dùmhlachd-bhreacaidh bhidio an às-chuir, an dara cuid 480p no 720p.

aspect_ratio bun-roghainn 16:9

Co-mheas-taobhan a’ bhidio às-chuir, an dara cuid 16:9 no 9:16.

Adhartach negative_prompt · num_inference_steps · seed · expand_prompt · enable_safety_checker
bun-roghainn worst quality, incons...

Stiùiridhean teacsa àicheil airson gineadh.

bun-roghainn 40

Àireamh nan ceumannan co-dhùnaidh ri dhèanamh.

Sìol a bhios a’ cumail smachd air air thuaiream rè gineadh.

POST /run/ltx-video-v095?wait=20 tuairmse → $0.04
# 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-video-v095?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.com/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-0.9.5

Cruthaichidh e bhidio bho `prompt` teacsa a’ cleachdadh tionndadh 0.9.5. Tha `resolution` 480p no 720p agus tha `aspect_ratio` 16:9 no 9:16. Tha `num_inference_steps` a’ dol bho 2 gu 50 (bunaiteach 40). Tha `expand_prompt` air a ghnàth, agus tha `negative_prompt` agus `seed` a’ faighinn taic.

Paramadairean

AinmSeòrsa Bun-roghainnCeadaichte Tuairisgeul
promptriatanach
Seòrsastring
Stiùiridhean teacsa a bhios a’ stiùireadh gineadh.
negative_promptroghainneil
Seòrsastring
Bun-roghainnworst quality, inconsistent motion, blurry, jittery, distorted
Stiùiridhean teacsa àicheil airson gineadh.
resolutionroghainneil
Seòrsaenum
Bun-roghainn720p
480p720p
Dùmhlachd-bhreacaidh bhidio an às-chuir, an dara cuid 480p no 720p.
aspect_ratioroghainneil
Seòrsaenum
Bun-roghainn16:9
9:1616:9
Co-mheas-taobhan a’ bhidio às-chuir, an dara cuid 16:9 no 9:16.
seedroghainneil
Seòrsainteger | null
Sìol a bhios a’ cumail smachd air air thuaiream rè gineadh.
num_inference_stepsroghainneil
Seòrsainteger
Bun-roghainn40
2 – 50
Àireamh nan ceumannan co-dhùnaidh ri dhèanamh.
expand_promptroghainneil
Seòrsaboolean
Bun-roghainntrue
Leudachadh prompt a’ cleachdadh comasan togte a’ mhodail.
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-v095",
  "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": 40,
    "usd": "0.04",
    "charged": 40,
    "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.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/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}Faidhle bhidio a chaidh a chruthachadh le gineadh.
seed
integerLuach sìl a chaidh a chur an sàs rè gineadh.

Barrachd mhodalan: Teacsa gu Bhidio

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