Skip to content

Luma Ray 3.2 Text to Video

Integrate

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

This request: $0.50 500 API credits · ≈ ₽53.66 Run it on this page

Get API key
Luma AI Text to Video Lipsync5–10 sup to 1080p #stylized#transform

Ray 3.2 text-to-video with 5s or 10s clips, six aspect ratios, looping and optional HDR with EXR export

Luma AI · Video

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

Text description of the video to create.

duration 5 s

Length of the video being generated.

aspect_ratio default 16:9

Aspect ratio for the resulting video.

resolution default 540p

Resolution for the output video.

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

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

Generates video from a `prompt` of up to 6000 characters. `aspect_ratio` ranges from 3:4 to 21:9, resolution is 540p, 720p or 1080p, and `duration` is 5s or 10s. `loop` works only for 5s standard-range clips, while `hdr` needs 720p or 1080p and excludes 10s and loop. `exr_export` adds an EXR file when HDR is on.

Parameters

NameType DefaultAllowed Description
promptrequired
Typestring
≤ 6,000 characters
Text description of the video to create.
aspect_ratiooptional
Typeenum
Default16:9
3:44:31:19:1616:921:9
Aspect ratio for the resulting video.
resolutionoptional
Typeenum
Default540p
540p720p1080p
Resolution for the output video.
durationoptional
Typeenum
Default5s
5s10s
Length of the video being generated.
loopoptional
Typeboolean
Defaultfalse
Seamless-loop option requiring all of the following: 5s duration, standard dynamic range, and no end frame.
hdroptional
Typeboolean
Defaultfalse
HDR encoding for MP4 output at 720p or 1080p, available only to accounts with HDR access. HDR cannot be used with either 10s duration or looping.
exr_exportoptional
Typeboolean
Defaultfalse
Additional EXR export accompanying the MP4, available only with both HDR access and hdr=true.
enable_safety_checkeroptional
Typeboolean
Defaulttrue
Screening can be relaxed by setting false, provided the caller is authorized.
required

Output

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"
  }
}
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
video
object {url, content_type, file_name, file_size}Video produced by the model.
exr_file
object {url, content_type, file_name, file_size} | nullEXR sidecar in the form Luma exports: either one EXR file or a ZIP archive. It is generated when exr_export is true.

More models: Text to Video

For AI agents: this page as Markdown is at https://doitong.com/en-US/developers/models/luma/agent/ray/v3.2/text-to-video.md. All models and guides: https://doitong.com/developers/llms.txt