Skip to content

Ltx 2.3 Quality · Text to Audio

Integrate

Model id 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"

This request: ≈$0.682 682 API credits Run it on this page

Get API key
Lightricks · Audio

Your first result goes here

Build a request below and run it with your API key. Outputs are copied to our storage, kept forever or 7 days for free.

Build a request

Controls are generated from the model schema. The code and the price update as you change them.

•required

Prompt describing the audio to generate.

default 121

Audio duration specified as a count of LTX video frames; divide `num_frames` by `frames_per_second` to obtain its approximate length in seconds.

Advanced negative_prompt · frames_per_second · num_inference_steps · guidance_scale · seed · enable_prompt_expansion · enable_safety_checker
default pc game, console game...

Negative prompt specifying what generation should avoid.

default 24

Frame rate for calculating the output audio's duration.

default 15

Total inference step count.

default 1

Strength of classifier-free guidance.

Seed that makes generation reproducible. Setting it to None selects a seed randomly.

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

Run this request

Your key stays in this browser: it is sent only to the Doitong API and saved (localStorage) only if you tick Remember. Get an API key

About Ltx 2.3 Quality · Text to Audio

Creates an audio clip from a text `prompt`. Duration is approximately `num_frames` divided by `frames_per_second`, with `num_frames` from 9 to 481 and frame rate from 1 to 60. `num_inference_steps` runs from 8 to 30, and `guidance_scale` from 1 to 20. A `negative_prompt` and `seed` are supported.

Parameters

NameType DefaultAllowed Description
promptrequired
Typestring
Prompt describing the audio to generate.
num_framesoptional
Typeinteger
Default121
9 – 481
Audio duration specified as a count of LTX video frames; divide `num_frames` by `frames_per_second` to obtain its approximate length in seconds.
frames_per_secondoptional
Typenumber
Default24
1 – 60
Frame rate for calculating the output audio's duration.
num_inference_stepsoptional
Typeinteger
Default15
8 – 30
Total inference step count.
guidance_scaleoptional
Typenumber
Default1
1 – 20
Strength of classifier-free guidance.
negative_promptoptional
Typestring
Defaultpc game, console game, video game, cartoon, childish, ugly
Negative prompt specifying what generation should avoid.
seedoptional
Typeinteger | null
Seed that makes generation reproducible. Setting it to None selects a seed randomly.
enable_prompt_expansionoptional
Typeboolean
Defaultfalse
Controls whether prompt expansion is enabled.
enable_safety_checkeroptional
Typeboolean
Defaulttrue
Controls whether safety checking is enabled.
required

Output

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"
  }
}
Your files, your choiceEvery outputs[].url is a copy on our storage: kept forever (paid per GB-month) or 7 days for free, by your account setting or ?storage=.
Same shape on every modeltype, url, content_type, width, height and duration, for images, video and audio alike. output is the model’s own result object.
Fields of output
audio
object {url, content_type, file_name, file_size}Audio produced by the model.
seed
integerActual seed applied during generation.
prompt
stringGeneration prompt, including any expansion applied before use.

More models: Audio

For AI agents: this page as Markdown is at https://doitong.com/developers/models/ltx-2.3-quality/text-to-audio.md. All models and guides: https://doitong.com/developers/llms.txt