Dža ko lil

Luma Ray 3.2 Reframe

Integriruj

Modelosko id luma/agent/ray/v3.2/reframe
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/luma/agent/ray/v3.2/reframe?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",
    "video": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4",
    "aspect_ratio": "3:4"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Fajlo sar o misalo: $0.60 600 API krediti tire fajlo si merime angl-o phiripen Phir les kate

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

Kerel neve kadro katar jekh video dži 10 sekunda, lungarindoj o palutno canvas upral jekh prompto

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

Content instrukcie vaj te pherel extra canvas savo sikavdo si paruvipnaha target aspect ratio ande reframing.

•trubul video_url
Čhiv jekh fajl, vaj

Reframing source URL, limitime videoske save na si maj lungo sar 10 sekunda.

duration

Paruvipe e trajanjašće e nevekadrime rezultatoske: alosar 5s vaj 10s, vaj ma de les te arakhes e izvornone videoski lungima.

aspect_ratio •trubul

Aspect ratio vaj te ovel reframed rezultato.

resolution standardno 540p

Rezolucija la outputoski palal reframing.

Lučhe enable_safety_checker · source_position

Opcionalno than e izvornone videoske ande rezultatosko platno, mothovdo normalizime pravougaonikosa.

POST /run/luma/agent/ray/v3.2/reframe?wait=20 hesab → $0.60
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/luma/agent/ray/v3.2/reframe?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",
    "video": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4",
    "aspect_ratio": "3:4"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/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 Reframe

Lel jekh `video_url` (10 sekunda vaj cikneder), jekh target `aspect_ratio` thaj jekh `prompt` savo phenel so te kerel ando neve sikavdo than. E proporcije džan 3:4 dži 21:9, thaj `resolution` si 540p, 720p vaj 1080p. `duration` standardno lel o lungipe e originalosko thaj šaj te avel 5s vaj 10s. `source_position` thovel e originalo-footage ando neve canvas.

Parametra

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

NavTip standardnoMuklo Vakeripe
prompttrubul
Tipstring
≤ 6,000 simbolura
Content instrukcie vaj te pherel extra canvas savo sikavdo si paruvipnaha target aspect ratio ande reframing.
video_urltrubul video
Tipurl · video
Reframing source URL, limitime videoske save na si maj lungo sar 10 sekunda.
aspect_ratiotrubul
Tipenum
3:44:31:19:1616:921:9
Aspect ratio vaj te ovel reframed rezultato.
resolutionopcionalno
Tipenum
standardno540p
540p720p1080p
Rezolucija la outputoski palal reframing.
durationopcionalno
Tipenum
5s10s
Paruvipe e trajanjašće e nevekadrime rezultatoske: alosar 5s vaj 10s, vaj ma de les te arakhes e izvornone videoski lungima.
source_positionopcionalno
Tipobject
Opcionalno than e izvornone videoske ande rezultatosko platno, mothovdo normalizime pravougaonikosa.
source_position.x_normtrubul
Tipnumber
-2 – 2
Horizontalno koordinata e izvornone pravougaonikoski, rachunime sar leskere levo rigake pozicijako ulavipe e rezultatoske buxljarasa.
source_position.y_normtrubul
Tipnumber
-2 – 2
Vertikalno koordinata e izvornone pravougaonikoski, rachunime sar leskere oprune rigake pozicijako ulavipe e rezultatoske učipnasa.
source_position.w_normtrubul
Tipnumber
≤ 2, > 0
O buxlipe le pravougolnikosko le źutresko, sikavdo sar proporcija le rezultatoske buxlipnaske.
source_position.h_normtrubul
Tipnumber
≤ 2, > 0
O učipe le pravougolnikosko le źutresko, sikavdo sar proporcija le rezultatoske učipnaske.
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/reframe",
  "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": 600,
    "usd": "0.60",
    "charged": 600,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "video_url": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4",
    "aspect_ratio": "3:4"
  },
  "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.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/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: Video ko Video

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