Skip to content

Luma Ray 3.2 Image to Video

Integrate

Model id luma/agent/ray/v3.2/image-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/image-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.15 150 API credits · ≈ ₽16.12 Run it on this page

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

Ray 3.2 image-to-video with end frame or up to 64 keyframes, looping and optional HDR/EXR output

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 scene or motion to create.

duration 5 s

Generated-video duration. A single image_url / end_image_url anchor cannot support 10s; that duration requires multiple keyframes supplied through keyframes / keyframe_indexes.

aspect_ratio default 16:9

Aspect ratio for the resulting video.

resolution default 540p

Resolution for the output video.

Advanced image · end_image · loop · enable_safety_checker · keyframes · keyframe_indexes
image_url
Drop a file, or

First-frame image URL supplied through image_url, which allows an optional end_image_url companion. This anchoring mode excludes keyframes; choose one mode, not both.

end_image_url
Drop a file, or

Optional last-frame image URL that enables interpolation from image_url to end_image_url, as an alternative to using keyframes.

Supply 1–64 image URLs as multi-keyframe image-to-video guides, paired with an equally long keyframe_indexes list that specifies their positions. Using keyframes enables HDR and 10s generation, but rules out image_url, end_image_url, and loop.

Anchor positions paired with keyframes: entry [i] locates keyframes[i] in the output, and both arrays must have equal lengths. Positions must be distinct and non-negative; duration × 24fps gives ranges of 0–120 for 5s and 0–240 for 10s.

POST /run/luma/agent/ray/v3.2/image-to-video?wait=20 quote → $0.15
# 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/image-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 Image to Video

Animates `image_url` as the first frame, optionally with `end_image_url`, or uses `keyframes` with `keyframe_indexes` (1 to 64) instead. Aspect ratios run from 3:4 to 21:9, resolution is 540p, 720p or 1080p, and `duration` is 5s or 10s, with 10s requiring keyframes. `loop`, `hdr` and `exr_export` are available under stated conditions. Prompt limit is 6000 characters.

Parameters

Send either the canonical name or the native name, not both. Canonical names

NameType DefaultAllowed Description
promptrequired
Typestring
≤ 6,000 characters
Text description of the scene or motion to create.
image_urloptional image
Typeurl · image
First-frame image URL supplied through image_url, which allows an optional end_image_url companion. This anchoring mode excludes keyframes; choose one mode, not both.
end_image_urloptional end_image
Typeurl · image
Optional last-frame image URL that enables interpolation from image_url to end_image_url, as an alternative to using keyframes.
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
Generated-video duration. A single image_url / end_image_url anchor cannot support 10s; that duration requires multiple keyframes supplied through keyframes / keyframe_indexes.
loopoptional
Typeboolean
Defaultfalse
Seamless-loop generation, restricted to standard-dynamic-range output; specifying either an end frame or keyframes makes this option unavailable.
hdroptional
Typeboolean
Defaultfalse
HDR encoding for MP4 output, available at 720p or 1080p to accounts with HDR access. Looping must be disabled to use it.
exr_exportoptional
Typeboolean
Defaultfalse
Additional EXR export accompanying the MP4, available only with both HDR access and hdr=true.
keyframesoptional
Typestring[]
≤ 64 items
Supply 1–64 image URLs as multi-keyframe image-to-video guides, paired with an equally long keyframe_indexes list that specifies their positions. Using keyframes enables HDR and 10s generation, but rules out image_url, end_image_url, and loop.
keyframe_indexesoptional
Typeinteger[]
≤ 64 items
Anchor positions paired with keyframes: entry [i] locates keyframes[i] in the output, and both arrays must have equal lengths. Positions must be distinct and non-negative; duration × 24fps gives ranges of 0–120 for 5s and 0–240 for 10s.
enable_safety_checkeroptional
Typeboolean
Defaulttrue
Screening can be relaxed by setting false, provided the caller is authorized.
required Canonical name, also accepted

File parameters take a public https:// URL, a data: URI up to 10 MB, or the file_url of an upload. Files

Output

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "luma/agent/ray/v3.2/image-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": 150,
    "usd": "0.15",
    "charged": 150,
    "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: Image to Video

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