Peke ki ngā ihirangi

Luma Ray 3.2 Image to Video

Whakauru

id tauira 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"

Tēnei tono: $ 0.15 150 whiwhinga API · ≈ ₽ 16.14 Whakahaerehia ki tēnei whārangi

Tikina he kī API
Luma AI Atahanga ki te Ataata Tukutahi Ngutu5–10 stae atu ki 1080p #stylized#transform#lipsync

Ray 3.2 whakaahua-ki-te-ataata me te anga whakamutunga, tae atu ki te 64 anga matua, te koromeke me te putanga HDR/EXR kōwhiringa

Luma AI · Ataata

Kei konei tō hua tuatahi

Hangaia he tono ki raro nei, ka whakahaere mā tō kī API. Ka tāruatia ngā putanga ki tō mātou rokiroki, ka puritia mō ake tonu atu, mō rānei 7 rā mō te kore utu.

Hangaia he tono

Ka hangaia ngā mana whakahaere mai i te aronuinga o te tauira. Ka whakahoungia te waehere me te utu ina whakarerekē koe.

•e hiahiatia ana 88 / 6000

Whakaahuatanga kuputuhi o te scene, o te nekehanga rānei hei waihanga.

duration 5 s

Roanga o te ataata kua whakaputaina. Kāore e taea e tētahi here image_url / end_image_url kotahi te tautoko i te 10s; me whakamahi taua roanga i ngā keyframe maha mā keyframes / keyframe_indexes.

aspect_ratio taunoa 16:9

Te ōwehenga āhuatanga mō te ataata ka puta.

resolution taunoa 540p

Taumira mō te ataata putanga.

Arā atu image · end_image · loop · enable_safety_checker · keyframes · keyframe_indexes
image_url
Whakataka he kōnae,

URL atahanga anga-tuatahi kua tukuna mā image_url, ka āhei ai tētahi end_image_url kōwhiringa. Ka aukati tēnei aratau here i ngā keyframe; kōwhiria kotahi aratau, kaua e rua.

end_image_url
Whakataka he kōnae,

URL atahanga anga-whakamutunga kōwhiringa e whakahohe ana i te whakawhitinga mai i image_url ki end_image_url, hei kē atu i te whakamahi keyframe.

Tukuna 1–64 URL atahanga hei aratohu image-to-video keyframe-maha, me tētahi rārangi keyframe_indexes he rite te roa hei tohu i ō rātou tūnga. Mā te keyframe e whakahohe te HDR me te whakaputanga 10s, engari ka aukati i image_url, end_image_url me loop.

Tūnga here kua honoa ki ngā keyframe: mā te tūemi [i] e whakanoho te keyframes[i] ki te putanga, ā, me ōrite te roa o ngā rārangi e rua. Me rerekē, me kore-tōraro ngā tūnga; ko te duration × 24fps ngā awhe 0–120 mō te 5s me 0–240 mō te 10s.

POST /run/luma/agent/ray/v3.2/image-to-video?wait=20 utu → $ 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"

Whakahaerehia tēnei tono

Ka noho tō kī ki tēnei pūtirotiro: ka tukuna ki te Doitong API anake, ā, ka tiakina ki te localStorage anake ina tohua e koe te Mahara. Tikina he kī API

Mō Luma Ray 3.2 Image to Video

Ka hākoritanga i `image_url` hei anga tuatahi, me `end_image_url` hei kōwhiringa, ka whakamahi rānei i `keyframes` me `keyframe_indexes` (1 ki te 64). Ka haere ngā ōwehenga āhuatanga mai i te 3:4 ki te 21:9, ko te taumira 540p, 720p, 1080p rānei, ā, ko `duration` 5s, 10s rānei; me ngā anga matua mō 10s. Kei raro i ngā tikanga kua kīia a `loop`, `hdr` me `exr_export`. Ko te mōrahi tohutohu 6000 pūāhua.

Ngā tawhā

Tukuna te ingoa tōmua, te ingoa taketake rānei, kaua e rua. Ngā ingoa tōmua

IngoaMomo TaunoaE whakaaetia ana Whakamārama
prompte hiahiatia ana
Momostring
≤ 6,000 pūāhua
Whakaahuatanga kuputuhi o te scene, o te nekehanga rānei hei waihanga.
image_urlkōwhiringa image
Momourl · image
URL atahanga anga-tuatahi kua tukuna mā image_url, ka āhei ai tētahi end_image_url kōwhiringa. Ka aukati tēnei aratau here i ngā keyframe; kōwhiria kotahi aratau, kaua e rua.
end_image_urlkōwhiringa end_image
Momourl · image
URL atahanga anga-whakamutunga kōwhiringa e whakahohe ana i te whakawhitinga mai i image_url ki end_image_url, hei kē atu i te whakamahi keyframe.
aspect_ratiokōwhiringa
Momoenum
Taunoa16:9
3:44:31:19:1616:921:9
Te ōwehenga āhuatanga mō te ataata ka puta.
resolutionkōwhiringa
Momoenum
Taunoa540p
540p720p1080p
Taumira mō te ataata putanga.
durationkōwhiringa
Momoenum
Taunoa5s
5s10s
Roanga o te ataata kua whakaputaina. Kāore e taea e tētahi here image_url / end_image_url kotahi te tautoko i te 10s; me whakamahi taua roanga i ngā keyframe maha mā keyframes / keyframe_indexes.
loopkōwhiringa
Momoboolean
Taunoafalse
Whakaputanga porowhita-kore, ka herea ki te putanga dynamic-range paerewa; mā te tautuhi i tētahi anga mutunga, i ngā keyframe rānei, ka kore tēnei kōwhiringa e wātea.
hdrkōwhiringa
Momoboolean
Taunoafalse
Whakawaehere HDR mō te putanga MP4, e wātea ana ki te 720p, ki te 1080p rānei mō ngā pūkete whai urunga HDR. Me mono te looping hei whakamahi.
exr_exportkōwhiringa
Momoboolean
Taunoafalse
Kaweake EXR tāpiri ki te MP4, e wātea ana anake ina whai urunga HDR me hdr=true.
keyframeskōwhiringa
Momostring[]
≤ 64 tūemi
Tukuna 1–64 URL atahanga hei aratohu image-to-video keyframe-maha, me tētahi rārangi keyframe_indexes he rite te roa hei tohu i ō rātou tūnga. Mā te keyframe e whakahohe te HDR me te whakaputanga 10s, engari ka aukati i image_url, end_image_url me loop.
keyframe_indexeskōwhiringa
Momointeger[]
≤ 64 tūemi
Tūnga here kua honoa ki ngā keyframe: mā te tūemi [i] e whakanoho te keyframes[i] ki te putanga, ā, me ōrite te roa o ngā rārangi e rua. Me rerekē, me kore-tōraro ngā tūnga; ko te duration × 24fps ngā awhe 0–120 mō te 5s me 0–240 mō te 10s.
enable_safety_checkerkōwhiringa
Momoboolean
Taunoatrue
Ka taea te whakangāwari i te tātari mā te tautuhi false, mēnā he mana tō te kaiwhakatuwhera.
e hiahiatia ana Ingoa tōmua, e whakaaetia ana hoki

Mō ngā tawhā kōnae, whakamahia he URL tūmatanui https://, he URI data: tae atu ki te 10 MB, he file_url rānei o tētahi tukuake. Ngā kōnae

Putanga

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"
  }
}
Ō kōnae, māu e whiriwhiriKo ia url o outputs[] he tārua kei tō mātou rokiroki: ka puritia mō ake tonu atu (ka utua ia GB-marama) mō rānei 7 rā mō te kore utu, e ai ki ngā tautuhinga o tō pūkete, ki te ?storage= rānei.
He ōrite te hanga ki ia tauiratype, url, content_type, width, height me duration, mō ngā pikitia, ataata me te oro. Ko output te ahanoa hua ake o te tauira.
Ngā āpure o te putanga
video
object {url, content_type, file_name, file_size}Ataata i whakaputaina e te tauira.
exr_file
object {url, content_type, file_name, file_size} | nullEXR sidecar i te hōputu kaweake a Luma: he kōnae EXR kotahi, he pūranga ZIP rānei. Ka whakaputaina ina true te exr_export.

Ētahi atu tauira: Atahanga ki te Ataata

Mō ngā āpiha AI: kei te wātea tēnei whārangi hei Markdown ki https://doitong.com/mi/developers/models/luma/agent/ray/v3.2/image-to-video.md. Ngā tauira me ngā aratohu katoa: https://doitong.com/developers/llms.txt