Léim chuig an ábhar

Ltx 2.3 Quality · Text to Video

Comhtháthú

Aitheantas na samhla ltx-2.3-quality/text-to-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-2.3-quality/text-to-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"

Comhaid cosúil leis an sampla: $0.27 270 gcreidmheas API · ≈ ₽29.05 déantar do chuid comhad a thomhas roimh an rith Rith ar an leathanach seo

Faigh eochair API
Lightricks · Físeán

Beidh do chéad toradh anseo

Tóg iarratas thíos agus rith é le d’eochair API. Cóipeáiltear na haschuir chuig ár stóráil, coinnithe go deo nó ar feadh 7 lá saor in aisce.

Tóg iarratas

Gintear na rialtáin ó scéim na samhla. Nuashonraítear an cód agus an praghas de réir mar a athraíonn tú iad.

•riachtanach

Leid a úsáidtear mar bhonn do ghiniúint físeáin.

resolution réamhshocrú landscape_16_9

Toisí an fhíseáin ghinte.

réamhshocrú 121

Líon na bhfrámaí don aschur ginte.

Ardleibhéal negative_prompt · video_quality · video_write_mode · frames_per_second · num_inference_steps · guidance_scale · seed · enable_prompt_expansion · enable_safety_checker
réamhshocrú color distortion, ove...

Leid dhiúltach a shonraíonn cad ba cheart don ghiniúint a sheachaint.

video_quality réamhshocrú high

Réamhshocrú cáilíochta a chuirtear i bhfeidhm ar an bhfíseán aschuir.

video_write_mode réamhshocrú balanced

Mód scríofa an fhíseáin a bheidh mar thoradh air.

réamhshocrú 24

Ráta fráma físeáin aschuir, tomhaiste ina fhrámaí sa soicind.

réamhshocrú 15

Socraigh cé mhéad céim tátail atá le rith, suas le 30; má fhágtar gan athrú é, úsáidtear 15.

réamhshocrú 1

Coigeartaigh treoir saor ó aicmitheoir ag úsáid an scála seo; díríonn a thiúnadh réamhshocraithe ar ardchaighdeán agus giniúint thapa araon.

Síol a fhágann giniúint in-atáirgthe. Má shocraítear é go None, roghnaítear síol go randamach.

POST /run/ltx-2.3-quality/text-to-video?wait=20 luachan → $0.27
# 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-2.3-quality/text-to-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"

Rith an t-iarratas seo

Fanann d'eochair sa bhrabhsálaí seo: seoltar chuig Doitong API amháin í agus sábháiltear (localStorage) í ach amháin má chuireann tú tic le Meabhraigh. Faigh eochair API

Maidir le Ltx 2.3 Quality · Text to Video

Gineann sé gearrthóg físe ó `prompt` téacs. Réimsíonn `num_frames` ó 9 go 481 agus `frames_per_second` ó 1 go 60. Roghnaítear méid an aschuir ó réamhshocruithe amhail `square_hd`, `portrait_16_9` agus `landscape_16_9`. Is féidir `generate_audio` a mhúchadh chun MP4 ciúin a fháil, agus is féidir `num_inference_steps` a ardú ó 15 go dtí 30.

Paraiméadair

AinmCineál RéamhshocrúCeadaithe Cur síos
promptriachtanach
Cineálstring
Leid a úsáidtear mar bhonn do ghiniúint físeáin.
num_framesroghnach
Cineálinteger
Réamhshocrú121
9 – 481
Líon na bhfrámaí don aschur ginte.
resolutionroghnach
Cineálobject
Réamhshocrúlandscape_16_9
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9
Toisí an fhíseáin ghinte.
frames_per_secondroghnach
Cineálnumber
Réamhshocrú24
1 – 60
Ráta fráma físeáin aschuir, tomhaiste ina fhrámaí sa soicind.
num_inference_stepsroghnach
Cineálinteger
Réamhshocrú15
8 – 30
Socraigh cé mhéad céim tátail atá le rith, suas le 30; má fhágtar gan athrú é, úsáidtear 15.
guidance_scaleroghnach
Cineálnumber
Réamhshocrú1
1 – 20
Coigeartaigh treoir saor ó aicmitheoir ag úsáid an scála seo; díríonn a thiúnadh réamhshocraithe ar ardchaighdeán agus giniúint thapa araon.
generate_audioroghnach
Cineálboolean
Réamhshocrútrue
Scorán riain fuaime don MP4 a chuirtear ar ais: cruthaíonn as comhad físeáin amháin, agus cuireann air fuaim san áireamh.
negative_promptroghnach
Cineálstring
Réamhshocrúcolor distortion, overexposure, static, blurry details, subtitles, style, artwork, painting, frame, still, dim overall tone, worst quality, low quality, JPEG compression artifacts, ugly, mutilated, extra fingers, poorly drawn hands, poorly drawn face, deformed, disfigured, malformed limbs, fused fingers, motionless frame, cluttered background, three legs, crowded background, walking backwards
Leid dhiúltach a shonraíonn cad ba cheart don ghiniúint a sheachaint.
seedroghnach
Cineálinteger | null
Síol a fhágann giniúint in-atáirgthe. Má shocraítear é go None, roghnaítear síol go randamach.
enable_prompt_expansionroghnach
Cineálboolean
Réamhshocrútrue
Rialaíonn sé an bhfuil leathnú na leide cumasaithe.
enable_safety_checkerroghnach
Cineálboolean
Réamhshocrútrue
Rialaíonn sé an bhfuil seiceáil sábháilteachta cumasaithe.
video_qualityroghnach
Cineálenum
Réamhshocrúhigh
lowmediumhighmaximum
Réamhshocrú cáilíochta a chuirtear i bhfeidhm ar an bhfíseán aschuir.
video_write_moderoghnach
Cineálenum
Réamhshocrúbalanced
fastbalancedsmall
Mód scríofa an fhíseáin a bheidh mar thoradh air.
riachtanach

Aschur

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "ltx-2.3-quality/text-to-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": 270,
    "usd": "0.27",
    "charged": 270,
    "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,
    "prompt": "string"
  },
  "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"
  }
}
Do chuid comhad, do roghaIs cóip ar ár stóráil é gach outputs[].url: coinnithe go deo (íoctha in aghaidh GB-mhí) nó ar feadh 7 lá saor in aisce, de réir shocrú do chuntais nó ?storage=.
An cruth céanna ar gach samhailtype, url, content_type, width, height agus duration, d'íomhánna, d'fhíseáin agus d'fhuaim araon. Is é output réad toraidh na samhla féin.
Réimsí aschuir
video
object {url, content_type, file_name, file_size}An físeán a tháirg an tsamhail.
seed
integerAn síol iarbhír a chuirtear i bhfeidhm le linn giniúna.
prompt
stringLeid giniúna, lena n-áirítear aon leathnú a cuireadh i bhfeidhm roimh úsáid.

Tuilleadh samhlacha: Téacs go Físeán

Do ghníomhairí AI: tá an leathanach seo mar Markdown ag https://doitong.com/ga/developers/models/ltx-2.3-quality/text-to-video.md. Gach samhail agus treoir: https://doitong.com/developers/llms.txt