Neidio i'r cynnwys

Ltx 2.3 Quality · Text to Audio

Integreiddio

ID y model ltx-2.3-quality/text-to-audio
# 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-audio?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"

Y cais hwn: ≈$0.682 682 o gredydau API · ≈ ₽73.37 Ei redeg ar y dudalen hon

Cael allwedd API
Lightricks · Sain

Mae eich canlyniad cyntaf yn mynd yma

Adeiladwch gais isod a'i redeg gyda'ch allwedd API. Mae allbynnau'n cael eu copïo i'n storio, wedi'u cadw am byth neu am 7 diwrnod am ddim.

Adeiladu cais

Cynhyrchir rheolyddion o sgema'r model. Mae'r cod a'r pris yn diweddaru wrth i chi eu newid.

•gofynnol

Anogiad sy’n disgrifio’r sain i’w chynhyrchu.

rhagosodedig 121

Hyd sain wedi’i nodi fel cyfrif o fframiau fideo LTX; rhannwch `num_frames` â `frames_per_second` i gael ei hyd bras mewn eiliadau.

Uwch negative_prompt · frames_per_second · num_inference_steps · guidance_scale · seed · enable_prompt_expansion · enable_safety_checker
rhagosodedig pc game, console game...

Anogiad negyddol sy'n nodi'r hyn y dylai cynhyrchu ei osgoi.

rhagosodedig 24

Cyfradd ffrâm ar gyfer cyfrifo hyd y sain allbwn.

rhagosodedig 15

Cyfanswm y camau casglu.

rhagosodedig 1

Cryfder arweiniad heb ddosbarthwr.

Hadau sy'n gwneud cynhyrchu'n atgynhyrchadwy. Mae ei osod i None yn dewis hedyn ar hap.

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

Rhedeg y cais hwn

Mae'ch allwedd yn aros yn y porwr hwn: caiff ei hanfon at Doitong API yn unig a'i chadw (localStorage) dim ond os ticiwch Cofio. Cael allwedd API

Ynglŷn â Ltx 2.3 Quality · Text to Audio

Yn creu clip sain o `prompt` testun. Mae’r hyd tua `num_frames` wedi’i rannu â `frames_per_second`, gyda `num_frames` o 9 i 481 a chyfradd fframiau o 1 i 60. Mae `num_inference_steps` yn amrywio o 8 i 30, a `guidance_scale` o 1 i 20. Cefnogir `negative_prompt` a `seed`.

Paramedrau

EnwMath RhagosodedigCaniateir Disgrifiad
promptgofynnol
Mathstring
Anogiad sy’n disgrifio’r sain i’w chynhyrchu.
num_framesdewisol
Mathinteger
Rhagosodedig121
9 – 481
Hyd sain wedi’i nodi fel cyfrif o fframiau fideo LTX; rhannwch `num_frames` â `frames_per_second` i gael ei hyd bras mewn eiliadau.
frames_per_seconddewisol
Mathnumber
Rhagosodedig24
1 – 60
Cyfradd ffrâm ar gyfer cyfrifo hyd y sain allbwn.
num_inference_stepsdewisol
Mathinteger
Rhagosodedig15
8 – 30
Cyfanswm y camau casglu.
guidance_scaledewisol
Mathnumber
Rhagosodedig1
1 – 20
Cryfder arweiniad heb ddosbarthwr.
negative_promptdewisol
Mathstring
Rhagosodedigpc game, console game, video game, cartoon, childish, ugly
Anogiad negyddol sy'n nodi'r hyn y dylai cynhyrchu ei osgoi.
seeddewisol
Mathinteger | null
Hadau sy'n gwneud cynhyrchu'n atgynhyrchadwy. Mae ei osod i None yn dewis hedyn ar hap.
enable_prompt_expansiondewisol
Mathboolean
Rhagosodedigfalse
Yn rheoli a yw ehangu'r anogiad wedi'i alluogi.
enable_safety_checkerdewisol
Mathboolean
Rhagosodedigtrue
Rheoli a yw gwiriad diogelwch wedi'i alluogi.
gofynnol

Allbwn

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "ltx-2.3-quality/text-to-audio",
  "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": 682,
    "usd": "0.682",
    "charged": 682,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  },
  "output": {
    "audio": {
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp3",
      "content_type": "audio/mpeg",
      "file_name": "0-output.mp3",
      "file_size": 1843200
    },
    "seed": 42,
    "prompt": "string"
  },
  "outputs": [
    {
      "type": "audio",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp3",
      "content_type": "audio/mpeg",
      "file_size": 1843200,
      "duration": 12,
      "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"
  }
}
Eich ffeiliau, eich dewisMae pob outputs[].url yn gopi ar ein storio: wedi'i gadw am byth (telir fesul GB-mis) neu am 7 diwrnod am ddim, yn ôl gosodiad eich cyfrif neu ?storage=.
Yr un siâp ar bob modeltype, url, content_type, width, height a duration, ar gyfer delweddau, fideo a sain fel ei gilydd. Gwrthrych canlyniad y model ei hun yw output.
Meysydd yr allbwn
audio
object {url, content_type, file_name, file_size}Sain a gynhyrchwyd gan y model.
seed
integerYr had gwirioneddol a gymhwysir wrth gynhyrchu.
prompt
stringAnogiad cynhyrchu, gan gynnwys unrhyw ehangu a gymhwysir cyn ei ddefnyddio.

Mwy o fodelau: Sain

Ar gyfer asiantau AI: mae'r dudalen hon fel Markdown ar gael yn https://doitong.com/cy/developers/models/ltx-2.3-quality/text-to-audio.md. Pob model a chanllaw: https://doitong.com/developers/llms.txt