सामग्री पर जाएँ

Luma Ray 3.2 Image to Video

इंटीग्रेट करें

मॉडल 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"

यह अनुरोध: $0.15 150 API क्रेडिट · ≈ ₽16.10 इसे इस पेज पर चलाएँ

API कुंजी प्राप्त करें
Luma AI इमेज से वीडियो लिपसिंक5–10 s1080p तक #stylized#transform#lipsync

Ray 3.2 इमेज-टू-वीडियो, जिसमें अंतिम फ़्रेम या अधिकतम 64 कीफ़्रेम, लूपिंग और वैकल्पिक HDR/EXR आउटपुट है

Luma AI · वीडियो

आपका पहला परिणाम यहाँ आएगा

नीचे एक अनुरोध बनाएँ और उसे अपनी API कुंजी से चलाएँ। आउटपुट हमारे स्टोरेज में कॉपी किए जाते हैं और हमेशा के लिए या 7 दिन तक मुफ़्त में रखे जाते हैं।

अनुरोध बनाएँ

कंट्रोल मॉडल स्कीमा से जनरेट होते हैं। इन्हें बदलने पर कोड और कीमत अपडेट होती है।

•आवश्यक 88 / 6000

बनाए जाने वाले scene या motion का text description।

duration 5 s

Generated-video duration। एकल image_url / end_image_url anchor 10s का समर्थन नहीं कर सकता; इस duration के लिए keyframes / keyframe_indexes के माध्यम से दिए गए कई keyframes आवश्यक हैं।

aspect_ratio डिफ़ॉल्ट 16:9

परिणामी वीडियो का आस्पेक्ट रेशियो।

resolution डिफ़ॉल्ट 540p

आउटपुट वीडियो का रिज़ॉल्यूशन।

उन्नत image · end_image · loop · enable_safety_checker · keyframes · keyframe_indexes
image_url
फ़ाइल ड्रॉप करें, या

image_url के माध्यम से दिया गया first-frame इमेज URL, जिसके साथ वैकल्पिक end_image_url जोड़ा जा सकता है। यह anchoring mode keyframes को बाहर रखता है; दोनों के बजाय एक mode चुनें।

end_image_url
फ़ाइल ड्रॉप करें, या

वैकल्पिक last-frame इमेज URL, जो keyframes के विकल्प के रूप में image_url से end_image_url तक interpolation सक्षम करता है।

multi-keyframe image-to-video guides के रूप में 1–64 इमेज URLs दें, और उनके positions निर्दिष्ट करने वाली समान लंबाई की keyframe_indexes list के साथ जोड़ें। keyframes का उपयोग HDR और 10s निर्माण सक्षम करता है, लेकिन image_url, end_image_url और loop का उपयोग रोकता है।

keyframes के साथ जुड़े anchor positions: entry [i] आउटपुट में keyframes[i] का स्थान बताती है, और दोनों arrays की लंबाई समान होनी चाहिए। Positions अलग-अलग और non-negative होने चाहिए; duration × 24fps से 5s के लिए 0–120 और 10s के लिए 0–240 ranges मिलती हैं।

POST /run/luma/agent/ray/v3.2/image-to-video?wait=20 कोटेशन → $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"

यह अनुरोध चलाएँ

आपकी key इसी ब्राउज़र में रहती है: इसे केवल Doitong API को भेजा जाता है और केवल तभी (localStorage) में सेव किया जाता है जब आप Remember चुनते हैं। API कुंजी प्राप्त करें

Luma Ray 3.2 Image to Video के बारे में

`image_url` को पहले फ़्रेम के रूप में एनिमेट करता है, वैकल्पिक रूप से `end_image_url` के साथ, या इसके बजाय `keyframes` को `keyframe_indexes` (1 से 64) के साथ उपयोग करता है। आस्पेक्ट रेशियो 3:4 से 21:9 तक होते हैं, रिज़ॉल्यूशन 540p, 720p या 1080p होता है और `duration` 5s या 10s हो सकता है; 10s के लिए कीफ़्रेम आवश्यक हैं। बताई गई शर्तों के तहत `loop`, `hdr` और `exr_export` उपलब्ध हैं। प्रॉम्प्ट की सीमा 6000 अक्षर है।

पैरामीटर

कैनोनिकल नाम या नेटिव नाम में से कोई एक भेजें, दोनों नहीं। कैनोनिकल नाम

नामप्रकार डिफ़ॉल्टअनुमत विवरण
promptआवश्यक
प्रकारstring
≤ 6,000 अक्षर
बनाए जाने वाले scene या motion का text description।
image_urlवैकल्पिक image
प्रकारurl · image
image_url के माध्यम से दिया गया first-frame इमेज URL, जिसके साथ वैकल्पिक end_image_url जोड़ा जा सकता है। यह anchoring mode keyframes को बाहर रखता है; दोनों के बजाय एक mode चुनें।
end_image_urlवैकल्पिक end_image
प्रकारurl · image
वैकल्पिक last-frame इमेज URL, जो keyframes के विकल्प के रूप में image_url से end_image_url तक interpolation सक्षम करता है।
aspect_ratioवैकल्पिक
प्रकारenum
डिफ़ॉल्ट16:9
3:44:31:19:1616:921:9
परिणामी वीडियो का आस्पेक्ट रेशियो।
resolutionवैकल्पिक
प्रकारenum
डिफ़ॉल्ट540p
540p720p1080p
आउटपुट वीडियो का रिज़ॉल्यूशन।
durationवैकल्पिक
प्रकारenum
डिफ़ॉल्ट5s
5s10s
Generated-video duration। एकल image_url / end_image_url anchor 10s का समर्थन नहीं कर सकता; इस duration के लिए keyframes / keyframe_indexes के माध्यम से दिए गए कई keyframes आवश्यक हैं।
loopवैकल्पिक
प्रकारboolean
डिफ़ॉल्टfalse
Seamless-loop निर्माण, जो standard-dynamic-range आउटपुट तक सीमित है; end फ़्रेम या keyframes में से किसी एक को निर्दिष्ट करने पर यह विकल्प उपलब्ध नहीं रहता।
hdrवैकल्पिक
प्रकारboolean
डिफ़ॉल्टfalse
MP4 आउटपुट के लिए HDR encoding, जो HDR पहुँच वाले accounts के लिए 720p या 1080p पर उपलब्ध है। इसका उपयोग करने के लिए looping अक्षम होना चाहिए।
exr_exportवैकल्पिक
प्रकारboolean
डिफ़ॉल्टfalse
MP4 के साथ अतिरिक्त EXR export, जो केवल HDR पहुँच और hdr=true दोनों के साथ उपलब्ध है।
keyframesवैकल्पिक
प्रकारstring[]
≤ 64 आइटम
multi-keyframe image-to-video guides के रूप में 1–64 इमेज URLs दें, और उनके positions निर्दिष्ट करने वाली समान लंबाई की keyframe_indexes list के साथ जोड़ें। keyframes का उपयोग HDR और 10s निर्माण सक्षम करता है, लेकिन image_url, end_image_url और loop का उपयोग रोकता है।
keyframe_indexesवैकल्पिक
प्रकारinteger[]
≤ 64 आइटम
keyframes के साथ जुड़े anchor positions: entry [i] आउटपुट में keyframes[i] का स्थान बताती है, और दोनों arrays की लंबाई समान होनी चाहिए। Positions अलग-अलग और non-negative होने चाहिए; duration × 24fps से 5s के लिए 0–120 और 10s के लिए 0–240 ranges मिलती हैं।
enable_safety_checkerवैकल्पिक
प्रकारboolean
डिफ़ॉल्टtrue
यदि कॉलर अधिकृत है, तो false सेट करके स्क्रीनिंग में ढील दी जा सकती है।
आवश्यक कैनोनिकल नाम, यह भी स्वीकार्य है

फ़ाइल पैरामीटर में सार्वजनिक https:// URL, 10 MB तक का data: URI, या अपलोड का file_url लिया जाता है। फ़ाइलें

आउटपुट

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"
  }
}
आपकी फ़ाइलें, आपकी पसंदहर outputs[].url हमारे स्टोरेज में एक कॉपी है: हमेशा के लिए (प्रति GB-माह भुगतान) या 7 दिन तक मुफ़्त में, आपके अकाउंट की सेटिंग या ?storage= के अनुसार।
हर मॉडल पर एक जैसा आकारइमेज, वीडियो और ऑडियो सभी के लिए type, url, content_type, width, height और duration। output मॉडल का अपना परिणाम ऑब्जेक्ट है।
आउटपुट के फ़ील्ड
video
object {url, content_type, file_name, file_size}मॉडल द्वारा बनाया गया वीडियो।
exr_file
object {url, content_type, file_name, file_size} | nullLuma के exports के रूप में EXR sidecar: या तो एक EXR फ़ाइल या ZIP archive। यह exr_export के true होने पर बनाया जाता है।

और मॉडल: इमेज से वीडियो

AI एजेंट के लिए: इस पेज का Markdown यहाँ है https://doitong.com/hi/developers/models/luma/agent/ray/v3.2/image-to-video.md. सभी मॉडल और गाइड: https://doitong.com/developers/llms.txt