Op den Inhalt sprangen

LTX 2.3 Video Fast · Text to Video

Integréieren

Modell-ID ltx-2.3/text-to-video/fast
# 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/text-to-video/fast?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"

Dës Ufro: 0,36 $ 360 API-Kreditter · ≈ 38,73 ₽ Op dëser Säit ausféieren

API-Schlëssel kréien
Lightricks Text zu Video Native Audio4K-OutputLipsyncSchnell6–20 sbis zu 2160p #stylized#transform

Séier Text-zu-Video-Variant mat Clips bis 20 Sekonnen; méi laang Dauerer si op 25 fps an 1080p limitéiert

Lightricks · Video

Äin éischt Resultat kënnt hei hin

Baut hei drënner eng Ufro a féiert se mat Ärem API-Schlëssel aus. Output gëtt an eis Späicherung kopéiert, fir ëmmer oder 7 Deeg gratis gespäichert.

Eng Ufro erstellen

D'Kontrolle ginn aus dem Modellschema generéiert. De Code an de Präis aktualiséiere sech, wann s du se ännerst.

•obligatoresch 88 / 5000

Prompt, deen d'Videogeneratioun steiert.

duration 6 s

Längt vum Output-Clips a Sekonnen; méi wéi 10 Sekonnen (12, 14, 16, 18, 20) erfuerdert 1080p-Opléisung zesumme mat 25 FPS. De schnelle Modell akzeptéiert Dauer vu 6 bis 20 Sekonnen.

resolution Standard 1080p

Opléisung vum Output-Video.

aspect_ratio Standard 16:9

Bildformat vum Output-Video.

Erweidert fps · enable_safety_checker
fps Standard 25

Frame-Rate vum Output-Video, gemooss a Frames pro Sekonn.

POST /run/ltx-2.3/text-to-video/fast?wait=20 Präis → 0,36 $
# 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/text-to-video/fast?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"

Dës Ufro ausféieren

Äre Schlëssel bleift an dësem Browser: e gëtt nëmmen un d'Doitong API geschéckt an nëmme gespäichert (localStorage), wann s du „Erënneren“ aktivéiers. En API-Schlëssel kréien

Iwwer LTX 2.3 Video Fast · Text to Video

Generéiert Video aus engem Text-`prompt` mat bis zu 5000 Zeechen. `duration` geet vu 6 bis 20 Sekonnen; iwwer 8 Sekonne gëtt a Schrëtt vun 2 Sekonnen erhéicht, an alles iwwer 10 Sekonne verlaangt 25 fps an 1080p. Bitt och 1440p an 2160p, 16:9 oder 9:16, `fps` vun 24, 25, 48 oder 50 an optional Audio-Generatioun.

Parameteren

NummTyp StandardErlaabt Beschreiwung
promptobligatoresch
Typstring
≤ 5.000 Zeechen
Prompt, deen d'Videogeneratioun steiert.
durationoptional
Typenum
Standard6
68101214161820
Längt vum Output-Clips a Sekonnen; méi wéi 10 Sekonnen (12, 14, 16, 18, 20) erfuerdert 1080p-Opléisung zesumme mat 25 FPS. De schnelle Modell akzeptéiert Dauer vu 6 bis 20 Sekonnen.
resolutionoptional
Typenum
Standard1080p
1080p1440p2160p
Opléisung vum Output-Video.
aspect_ratiooptional
Typenum
Standard16:9
16:99:16
Bildformat vum Output-Video.
fpsoptional
Typenum
Standard25
24254850
Frame-Rate vum Output-Video, gemooss a Frames pro Sekonn.
generate_audiooptional
Typboolean
Standardtrue
Schalter fir d'Audio-Generatioun am Output-Video.
enable_safety_checkeroptional
Typboolean
Standardtrue
D'Kontroll kann duerch false gelackert ginn, wann den Uruffer autoriséiert ass.
obligatoresch

Output

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "ltx-2.3/text-to-video/fast",
  "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": 360,
    "usd": "0.36",
    "charged": 360,
    "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,
      "width": 1024,
      "height": 768,
      "fps": 1.0,
      "duration": 5,
      "num_frames": 1
    }
  },
  "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"
  }
}
Är Fichieren, Är WielAll outputs[].url ass eng Kopie an eiser Späicherung: fir ëmmer gespäichert (bezuelbar pro GB-Mount) oder 7 Deeg gratis, jee no Ärer Kontastellung oder ?storage=.
D'selwecht Struktur bei all Modelltype, url, content_type, width, height an duration, fir Biller, Video an Audio gläichermoossen. output ass dem Modell säin eegent Resultatobjet.
Output-Felder
video
object {url, content_type, file_name, file_size, width, height, fps, duration, num_frames}Resultéierend Video-Datei.

Méi Modeller: Text zu Video

Fir AI-Agenten: dës Säit als Markdown ass ënner https://doitong.com/lb/developers/models/ltx-2.3/text-to-video/fast.md. All Modeller a Guiden: https://doitong.com/developers/llms.txt