Neidio i'r cynnwys

Luma Ray 3.2 Text to Video

Integreiddio

ID y model 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"

Y cais hwn: $0.50 500 o gredydau API · ≈ ₽53.66 Ei redeg ar y dudalen hon

Cael allwedd API
Luma AI Testun i Fideo Cydamseru gwefusau5–10 shyd at 1080p #stylized#transform#lipsync

Ray 3.2 testun-i-fideo gyda chlipiau 5s neu 10s, chwe chymhareb agwedd, dolennu a HDR dewisol gydag allforio EXR

Luma AI · Fideo

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 88 / 6000

Disgrifiad testun o'r fideo i'w greu.

duration 5 s

Hyd y fideo sy'n cael ei gynhyrchu.

aspect_ratio rhagosodedig 16:9

Cymhareb agwedd y fideo sy'n deillio.

resolution rhagosodedig 540p

Cydraniad yr allbwn fideo.

Uwch loop · enable_safety_checker
POST /run/luma/agent/ray/v3.2/text-to-video?wait=20 dyfynbris → $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"

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 â Luma Ray 3.2 Text to Video

Cynhyrchu fideo o `prompt` hyd at 6000 nod. Mae `aspect_ratio` yn amrywio o 3:4 i 21:9, y cydraniad yw 540p, 720p neu 1080p, a `duration` yw 5s neu 10s. Mae `loop` yn gweithio dim ond ar gyfer clipiau safonol 5s, tra bo `hdr` angen 720p neu 1080p ac yn eithrio 10s a dolennu. Mae `exr_export` yn ychwanegu ffeil EXR pan fo HDR ymlaen.

Paramedrau

EnwMath RhagosodedigCaniateir Disgrifiad
promptgofynnol
Mathstring
≤ 6,000 nod
Disgrifiad testun o'r fideo i'w greu.
aspect_ratiodewisol
Mathenum
Rhagosodedig16:9
3:44:31:19:1616:921:9
Cymhareb agwedd y fideo sy'n deillio.
resolutiondewisol
Mathenum
Rhagosodedig540p
540p720p1080p
Cydraniad yr allbwn fideo.
durationdewisol
Mathenum
Rhagosodedig5s
5s10s
Hyd y fideo sy'n cael ei gynhyrchu.
loopdewisol
Mathboolean
Rhagosodedigfalse
Opsiwn dolen ddi-dor sy'n gofyn am bob un o'r canlynol: hyd 5s, ystod ddeinamig safonol, a dim ffrâm olaf.
hdrdewisol
Mathboolean
Rhagosodedigfalse
Amgodio HDR ar gyfer allbwn MP4 yn 720p neu 1080p, ar gael dim ond i gyfrifon â mynediad HDR. Ni ellir defnyddio HDR gyda hyd 10s na dolennu.
exr_exportdewisol
Mathboolean
Rhagosodedigfalse
Allforiad EXR ychwanegol sy'n cyd-fynd â'r MP4, ar gael dim ond gyda mynediad HDR a hdr=true.
enable_safety_checkerdewisol
Mathboolean
Rhagosodedigtrue
Gellir llacio'r sgrinio drwy osod false, ar yr amod bod y galwr wedi'i awdurdodi.
gofynnol

Allbwn

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"
  }
}
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
video
object {url, content_type, file_name, file_size}Fideo a gynhyrchwyd gan y model.
exr_file
object {url, content_type, file_name, file_size} | nullSidecar EXR ar ffurf allforion Luma: naill ai un ffeil EXR neu archif ZIP. Mae'n cael ei gynhyrchu pan fo exr_export yn true.

Mwy o fodelau: Testun i Fideo

Ar gyfer asiantau AI: mae'r dudalen hon fel Markdown ar gael yn https://doitong.com/cy/developers/models/luma/agent/ray/v3.2/text-to-video.md. Pob model a chanllaw: https://doitong.com/developers/llms.txt