Dža ko lil

Luma Ray 3.2 Image to Video

Integriruj

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

Kava mangipen: $0.15 150 API krediti · ≈ ₽16.14 Phir les kate

Lel API klidin
Luma AI Kip ko Video Lipsync5–10 sdži 1080p #stylized#transform

Ray 3.2 slikari-te-video e palune freimosa vaj dži 64 keyframe-enca, looping-esa thaj opcionale HDR/EXR outputosa

Luma AI · Video

Tiro prvo rezultato si kate

Ker tele jekh mangipen thaj phir les tire API klidinosa. E rezultatur si kopirime amare arakhipneste, vično vaj 7 dives bilačhes.

Ker jekh mangipen

O kontrolura kerde si katar e schemaske. O kodo thaj e cena menjinen sar tu len menjines.

•trubul 88 / 6000

Tekstosko opisipen la scenaki vaj motionosko vaj te kerel.

duration 5 s

Kerdo-video duration. Jek image_url / end_image_url anchor našti sostinel 10s; kadava duration mangel but keyframes dine vaj keyframes / keyframe_indexes.

aspect_ratio standardno 16:9

Aspect ratio e rezultato videoqo.

resolution standardno 540p

Rezolucija e rezultato-videoski.

Lučhe image · end_image · loop · enable_safety_checker · keyframes · keyframe_indexes
image_url
Čhiv jekh fajl, vaj

First-frame kiposko URL dine vaj image_url, savo mukhel optionalno end_image_url companion. Kadava anchoring mode čhivel avri keyframes; alosar jek mode, na duj.

end_image_url
Čhiv jekh fajl, vaj

Optionalno last-frame kiposko URL savo kerel interpolation katar image_url ko end_image_url, sar alternativo la keyframes.

De 1–64 kipenge URL adresia sar kipo-ando-video vodičia but ključne kadrencar, khetane e keyframe_indexes listasa e sajekh lungimasa, savi mothovel lenge pozicije. O koristipe e ključne kadrenge mukhel HDR thaj 10s keripe, numa našavel image_url, end_image_url thaj loop.

Anchor positions phandle keyframesa: entry [i] lokalizinel keyframes[i] ando rezultato, thaj duj arrays trubun te avel jekhajekh lengtha. Positions trubun te aven aver thaj non-negative; duration × 24fps del ranges 0–120 vaj 5s thaj 0–240 vaj 10s.

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

Phandel kava mangipen

Tiro kluč ačhel kadale browsereste: bičhalel pes numa ko Doitong API thaj šuvav pes (localStorage) numa te tiknes Remember. Le jekh API ključ

Palal Luma Ray 3.2 Image to Video

Animacijas `image_url` sar angluno kadro, opcionalno `end_image_url`-esa, vaj tradel `keyframes` kethane le `keyframe_indexes` (1 to 64). E proporcije džan 3:4 dži 21:9, e rezolucija si 540p, 720p vaj 1080p, thaj `duration` si 5s vaj 10s, kaj 10s kampel keyframes. `loop`, `hdr` thaj `exr_export` si dostupne ande dino kondicije. O prompto si limitime 6000 karakterenca.

Parametra

Bičhalav vaj e kanonikano nav vaj e native nav, na duj. Kanonikane nava

NavTip standardnoMuklo Vakeripe
prompttrubul
Tipstring
≤ 6,000 simbolura
Tekstosko opisipen la scenaki vaj motionosko vaj te kerel.
image_urlopcionalno image
Tipurl · image
First-frame kiposko URL dine vaj image_url, savo mukhel optionalno end_image_url companion. Kadava anchoring mode čhivel avri keyframes; alosar jek mode, na duj.
end_image_urlopcionalno end_image
Tipurl · image
Optionalno last-frame kiposko URL savo kerel interpolation katar image_url ko end_image_url, sar alternativo la keyframes.
aspect_ratioopcionalno
Tipenum
standardno16:9
3:44:31:19:1616:921:9
Aspect ratio e rezultato videoqo.
resolutionopcionalno
Tipenum
standardno540p
540p720p1080p
Rezolucija e rezultato-videoski.
durationopcionalno
Tipenum
standardno5s
5s10s
Kerdo-video duration. Jek image_url / end_image_url anchor našti sostinel 10s; kadava duration mangel but keyframes dine vaj keyframes / keyframe_indexes.
loopopcionalno
Tipboolean
standardnofalse
Keripe bijo dikhlipnaskero phandipe ande petlja, mukhlo numa vaš rezultato standardne dinamikane rasponosa; te des jekh agorutno kadro vaj ključne kadra, akaja opcija naj disponibelno.
hdropcionalno
Tipboolean
standardnofalse
HDR kodiripe vaš MP4 rezultato, disponibelno ande 720p vaj 1080p e kontenge HDR pristuposa. O petljako repeticija trubul te ovel našavdi te šaj les koristis.
exr_exportopcionalno
Tipboolean
standardnofalse
Additional EXR export khetane MP4, dostupno numa khetane HDR pristuposa thaj hdr=true.
keyframesopcionalno
Tipstring[]
≤ 64 artiklura
De 1–64 kipenge URL adresia sar kipo-ando-video vodičia but ključne kadrencar, khetane e keyframe_indexes listasa e sajekh lungimasa, savi mothovel lenge pozicije. O koristipe e ključne kadrenge mukhel HDR thaj 10s keripe, numa našavel image_url, end_image_url thaj loop.
keyframe_indexesopcionalno
Tipinteger[]
≤ 64 artiklura
Anchor positions phandle keyframesa: entry [i] lokalizinel keyframes[i] ando rezultato, thaj duj arrays trubun te avel jekhajekh lengtha. Positions trubun te aven aver thaj non-negative; duration × 24fps del ranges 0–120 vaj 5s thaj 0–240 vaj 10s.
enable_safety_checkeropcionalno
Tipboolean
standardnotrue
Screening šaj te avel relaksirime te postavil pes false, numa kana o manglo si autorizuime.
trubul Kanonikano nav, vi akceptime

Fajloske parametra lel jekh publikano https:// URL, jekh data: URI dži 10 MB, vaj e file_url uploadoski. Fajlura

Rezultato

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"
  }
}
Tire fajlura, tiro alosaripenSako outputs[].url si kopija amare arakhipneste: vično (čargeime per GB-mase) vaj 7 dives bilačhes, tiro kontoskere regulaciatar vaj ?storage=.
Sa jekh forma sako modeloθartype, url, content_type, width, height thaj duration, varesave imajinake, video thaj audio-ke. output si o modelosko korkoro resultosko objekto.
Outputoske fieldura
video
object {url, content_type, file_name, file_size}Video kerdo le modelostar.
exr_file
object {url, content_type, file_name, file_size} | nullEXR sidecar ande forma savi Luma exports: vaj jek EXR fajlo vaj ZIP archive. Kerdo si kana exr_export si true.

Bute modeli: Kip ko Video

AI agentenge: kadija rig sar Markdown si kate https://doitong.com/rom/developers/models/luma/agent/ray/v3.2/image-to-video.md. Sa e modelura thaj e gidura: https://doitong.com/developers/llms.txt