Léim chuig an ábhar

Ltx 2.3 Quality · HDR

Comhtháthú

Aitheantas na samhla ltx-2.3-quality/hdr
# 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-2.3-quality/hdr?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",
    "video": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4"
  }'

# 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"

Comhaid cosúil leis an sampla: $0.29 290 gcreidmheas API déantar do chuid comhad a thomhas roimh an rith Rith ar an leathanach seo

Faigh eochair API
Lightricks · Sonraí (JSON)

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 chun giniúint a threorú.

•riachtanach video_url
Scaoil comhad, nó

Físeán foinse SDR le tiontú go HDR trí riochtú físeáin.

resolution réamhshocrú auto

Toisí físeáin iarrtha; laghdaítear iarratais rómhóra go comhréireach chun a gcóimheas gné a choinneáil. Sroicheann giniúint thart ar 720p ar a mhéad, le teorainn 704px ar an taobh is giorra.

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/hdr?wait=20 luachan → $0.29
# 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-2.3-quality/hdr?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",
    "video": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4"
  }'

# 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"

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 · HDR

Tiontaíonn sé físeán raoin dhinimiciúil chaighdeánaigh ó `video_url` go HDR, faoi threoir `prompt` riachtanach. Tagann na torthaí mar ZIP de fhrámaí EXR 16-giotán (`exr_frames_url`) agus `preview_video` MP4 le seiceáil thapa. Ritheann an ghiniúint suas le thart ar 720p, agus teorannaítear an taobh is giorra go 704 px. Réimsíonn `num_frames` ó 9 go 481.

Paraiméadair

Seol an t-ainm canónach nó an t-ainm dúchasach, ní an dá cheann. Ainmneacha canónacha

AinmCineál RéamhshocrúCeadaithe Cur síos
promptriachtanach
Cineálstring
Leid a úsáidtear chun giniúint a threorú.
video_urlriachtanach video
Cineálurl · video
Físeán foinse SDR le tiontú go HDR trí riochtú 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úauto
autosquare_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9
Toisí físeáin iarrtha; laghdaítear iarratais rómhóra go comhréireach chun a gcóimheas gné a choinneáil. Sroicheann giniúint thart ar 720p ar a mhéad, le teorainn 704px ar an taobh is giorra.
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 Ainm canónach, glactar leis freisin

Glacann paraiméadair chomhaid le URL poiblí https://, URI data: suas le 10 MB, nó file_url uaslódála. Comhaid

Aschur

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "ltx-2.3-quality/hdr",
  "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": 290,
    "usd": "0.29",
    "charged": 290,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "video_url": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4"
  },
  "output": {
    "preview_video": {
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
      "content_type": "image/jpeg",
      "file_name": "0-output.jpeg",
      "file_size": 1843200,
      "width": 1024,
      "height": 768,
      "fps": 1.0,
      "duration": 5,
      "num_frames": 1
    },
    "exr_frames_url": {
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
      "content_type": "image/jpeg",
      "file_name": "0-output.jpeg",
      "file_size": 1843200
    },
    "seed": 42,
    "prompt": "string"
  },
  "outputs": [
    {
      "type": "file",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
      "content_type": "image/jpeg",
      "file_size": 1843200,
      "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"
  }
}
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
preview_video
object {url, content_type, file_name, file_size, width, height, fps, duration, num_frames}Leagan MP4 chun an t-aschur HDR a athbhreithniú go tapa.
exr_frames_url
object {url, content_type, file_name, file_size}Comhad ZIP le híomhá EXR 16-giotán ar leith do gach fráma ginte.
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: Físeán 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/hdr.md. Gach samhail agus treoir: https://doitong.com/developers/llms.txt