Dža ko lil

Luma Ray 3.2 Text to Video

Integriruj

Modelosko id luma/agent/ray/v3.2/text-to-video
# 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/luma/agent/ray/v3.2/text-to-video?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"

Kava mangipen: $0.50 500 API krediti · ≈ ₽53.79 Phir les kate

Lel API klidin
Luma AI Teksto ko Video Lipsync5–10 sdži 1080p #stylized#transform

Ray 3.2 tekst-te-video e 5s vaj 10s klipurenca, šov aspect ratio-enca, looping-esa thaj opcionale HDR e EXR exportosa

Luma AI · Video

Tiro prvo rezultato si kate

Ker tele jekh mangipen thaj phir les tire API klidinosa. E rezultatur si kopirime amare arakhipneste, vično vaj 7 dives bilačhes.

Ker jekh mangipen

O kontrolura kerde si katar e schemaske. O kodo thaj e cena menjinen sar tu len menjines.

•trubul 88 / 6000

Tekstosko opisipen la videovosko vaj te kerel.

duration 5 s

Length la videovoski savi si ande keripe.

aspect_ratio standardno 16:9

Aspect ratio e rezultato videoqo.

resolution standardno 540p

Rezolucija e rezultato-videoski.

Lučhe loop · enable_safety_checker
POST /run/luma/agent/ray/v3.2/text-to-video?wait=20 hesab → $0.50
# 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/luma/agent/ray/v3.2/text-to-video?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"

Phandel kava mangipen

Tiro kluč ačhel kadale browsereste: bičhalel pes numa ko Doitong API thaj šuvav pes (localStorage) numa te tiknes Remember. Le jekh API ključ

Palal Luma Ray 3.2 Text to Video

Generirinel video andar `prompt` dži 6000 karakterurendar. `aspect_ratio` džal 3:4 te 21:9, rezolucija si 540p, 720p vaj 1080p, thaj `duration` si 5s vaj 10s. `loop` kerel numa e 5s standard-range klipurenca, `hdr` trubul 720p vaj 1080p thaj na džal e 10s thaj loop-esa. `exr_export` del EXR fajlo kana HDR si on.

Parametra

NavTip standardnoMuklo Vakeripe
prompttrubul
Tipstring
≤ 6,000 simbolura
Tekstosko opisipen la videovosko vaj te kerel.
aspect_ratioopcionalno
Tipenum
standardno16:9
3:44:31:19:1616:921:9
Aspect ratio e rezultato videoqo.
resolutionopcionalno
Tipenum
standardno540p
540p720p1080p
Rezolucija e rezultato-videoski.
durationopcionalno
Tipenum
standardno5s
5s10s
Length la videovoski savi si ande keripe.
loopopcionalno
Tipboolean
standardnofalse
Opcija vaś bišovengo ciklo, savi mangel sa akala: trajipe 5s, standardno dinamično dijapazono thaj bi agorutne kadrosko.
hdropcionalno
Tipboolean
standardnofalse
HDR kodiripe vaś MP4 rezultato ande 720p vaj 1080p, dispozicijako numa le kontonenđe save si len HDR pristupo. HDR našti te koristinel pes ni e trajipnasa 10s ni e ciklosa.
exr_exportopcionalno
Tipboolean
standardnofalse
Additional EXR export khetane MP4, dostupno numa khetane HDR pristuposa thaj hdr=true.
enable_safety_checkeropcionalno
Tipboolean
standardnotrue
Screening šaj te avel relaksirime te postavil pes false, numa kana o manglo si autorizuime.
trubul

Rezultato

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "luma/agent/ray/v3.2/text-to-video",
  "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": 500,
    "usd": "0.50",
    "charged": 500,
    "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
    },
    "exr_file": {
      "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
    }
  },
  "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"
  }
}
Tire fajlura, tiro alosaripenSako outputs[].url si kopija amare arakhipneste: vično (čargeime per GB-mase) vaj 7 dives bilačhes, tiro kontoskere regulaciatar vaj ?storage=.
Sa jekh forma sako modeloθartype, url, content_type, width, height thaj duration, varesave imajinake, video thaj audio-ke. output si o modelosko korkoro resultosko objekto.
Outputoske fieldura
video
object {url, content_type, file_name, file_size}Video kerdo le modelostar.
exr_file
object {url, content_type, file_name, file_size} | nullEXR sidecar ande forma savi Luma exports: vaj jek EXR fajlo vaj ZIP archive. Kerdo si kana exr_export si true.

Bute modeli: Teksto ko Video

AI agentenge: kadija rig sar Markdown si kate https://doitong.com/rom/developers/models/luma/agent/ray/v3.2/text-to-video.md. Sa e modelura thaj e gidura: https://doitong.com/developers/llms.txt