Peke ki ngā ihirangi

Ltx 2.3 Quality · Text to Audio

Whakauru

id tauira 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.com/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.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Tēnei tono: ≈$ 0.682 682 whiwhinga API Whakahaerehia ki tēnei whārangi

Tikina he kī API
Lightricks · Ororongo

Kei konei tō hua tuatahi

Hangaia he tono ki raro nei, ka whakahaere mā tō kī API. Ka tāruatia ngā putanga ki tō mātou rokiroki, ka puritia mō ake tonu atu, mō rānei 7 rā mō te kore utu.

Hangaia he tono

Ka hangaia ngā mana whakahaere mai i te aronuinga o te tauira. Ka whakahoungia te waehere me te utu ina whakarerekē koe.

•e hiahiatia ana

He tohutohu e whakaahua ana i te ororongo hei whakaputa.

taunoa 121

Te roanga ororongo kua tohua hei tatau o ngā anga ataata LTX; whakawehea `num_frames` ki `frames_per_second` kia whiwhi ai i tōna roanga tata i roto i ngā hēkona.

Arā atu negative_prompt · frames_per_second · num_inference_steps · guidance_scale · seed · enable_prompt_expansion · enable_safety_checker
taunoa pc game, console game...

Tohutohu tōraro e tohu ana i ngā mea me karo i te whakaputanga.

taunoa 24

Te tere anga mō te tātai i te roanga o te ororongo putanga.

taunoa 15

Te tatau katoa o ngā hipanga inference.

taunoa 1

Te kaha o te arataki kore-whakarōpū.

Te kākano e taea ai te tārua o te whakaputanga. Mā te tautuhi ki None e kōwhiri matapōkeretia ai he kākano.

POST /run/ltx-2.3-quality/text-to-audio?wait=20 utu → $ 0.682
# 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/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.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Whakahaerehia tēnei tono

Ka noho tō kī ki tēnei pūtirotiro: ka tukuna ki te Doitong API anake, ā, ka tiakina ki te localStorage anake ina tohua e koe te Mahara. Tikina he kī API

Mō Ltx 2.3 Quality · Text to Audio

Ka waihanga topenga oro mai i te `prompt` kuputuhi. Ko te roa tata ko `num_frames` kua whakawehea ki `frames_per_second`, ā, ko `num_frames` mai i te 9 ki te 481, ko te tere anga mai i te 1 ki te 60. Mai i te 8 ki te 30 te `num_inference_steps`, ā, mai i te 1 ki te 20 te `guidance_scale`. E tautokona ana te `negative_prompt` me te `seed`.

Ngā tawhā

IngoaMomo TaunoaE whakaaetia ana Whakamārama
prompte hiahiatia ana
Momostring
He tohutohu e whakaahua ana i te ororongo hei whakaputa.
num_frameskōwhiringa
Momointeger
Taunoa121
9 – 481
Te roanga ororongo kua tohua hei tatau o ngā anga ataata LTX; whakawehea `num_frames` ki `frames_per_second` kia whiwhi ai i tōna roanga tata i roto i ngā hēkona.
frames_per_secondkōwhiringa
Momonumber
Taunoa24
1 – 60
Te tere anga mō te tātai i te roanga o te ororongo putanga.
num_inference_stepskōwhiringa
Momointeger
Taunoa15
8 – 30
Te tatau katoa o ngā hipanga inference.
guidance_scalekōwhiringa
Momonumber
Taunoa1
1 – 20
Te kaha o te arataki kore-whakarōpū.
negative_promptkōwhiringa
Momostring
Taunoapc game, console game, video game, cartoon, childish, ugly
Tohutohu tōraro e tohu ana i ngā mea me karo i te whakaputanga.
seedkōwhiringa
Momointeger | null
Te kākano e taea ai te tārua o te whakaputanga. Mā te tautuhi ki None e kōwhiri matapōkeretia ai he kākano.
enable_prompt_expansionkōwhiringa
Momoboolean
Taunoafalse
Ka whakahaere mēnā kua whakahohea te whakawhānui tohutohu.
enable_safety_checkerkōwhiringa
Momoboolean
Taunoatrue
Ka whakahaere mēnā kua whakakāhia te tirotiro haumaru.
e hiahiatia ana

Putanga

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.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Ō kōnae, māu e whiriwhiriKo ia url o outputs[] he tārua kei tō mātou rokiroki: ka puritia mō ake tonu atu (ka utua ia GB-marama) mō rānei 7 rā mō te kore utu, e ai ki ngā tautuhinga o tō pūkete, ki te ?storage= rānei.
He ōrite te hanga ki ia tauiratype, url, content_type, width, height me duration, mō ngā pikitia, ataata me te oro. Ko output te ahanoa hua ake o te tauira.
Ngā āpure o te putanga
audio
object {url, content_type, file_name, file_size}Ororongo i whakaputaina e te tauira.
seed
integerSeed tūturu ka whakamahia i te whakaputanga.
prompt
stringTohutohu whakaputanga, tae atu ki ngā whakawhānuitanga i whakamahia i mua i te whakamahinga.

Ētahi atu tauira: Ororongo

Mō ngā āpiha AI: kei te wātea tēnei whārangi hei Markdown ki https://doitong.com/mi/developers/models/ltx-2.3-quality/text-to-audio.md. Ngā tauira me ngā aratohu katoa: https://doitong.com/developers/llms.txt