Skip to content

How do I migrate an existing-video Luma integration without turning edits into new generations?

Classify each existing Luma job by operation before changing its model identifier. The Agents migration guide uses ray-3.2 with a separate type for generation, editing and reframing. An existing-video transformation needs video_edit and a source reference; changing only an old model name can lose the intent and media relationship that made the job an edit.

NATIVE AI VIDEO EDIT CONTRACTSAISwapLab team · Editorial methodPublished 3 min read
See the recorded exampleExplore 67 Image SkillsIndependent finishing · Check the actual file
Editorial worksheet excerpt: New shot; Existing clip edit; Reframe; Async completion. See the complete table and sources below.
Editorial worksheet excerpt: New shot; Existing clip edit; Reframe; Async completion. See the complete table and sources below.

Migrate the operation, not just the model string

An integration may have several paths hidden behind one button: generate from words, animate a still, refine an existing clip and continue a completed result. They are not equivalent requests. A migration test should prove that the source clip remains the video being changed, rather than becoming an unrelated reference or disappearing from the payload. Keep an authorized short original with a recognisable action as a regression asset. The resulting comparison is a local integration qualification, not a benchmark claiming that the new model exactly reproduces earlier results. The official retirement notice governs the particular account's cutoff; do not invent one universal date from a general guide.

What to do next

  1. 01

    Inventory existing calls by actual media relationship

    List each production and fallback route, its old model, source location and expected output. Mark whether the job generates a new video, edits an existing source, extends a prior generation or changes framing. Include background workers that rarely run; a successful primary path does not prove that a forgotten fallback is migrated. Keep credentials outside the inventory and identify assets with permitted local references or project identifiers.

  2. 02

    Build a schema-correct edit request

    For the existing-video transformation, follow the current migration example using ray-3.2, type video_edit and source. The guide accepts several media-reference forms in appropriate positions, but not every form works everywhere. Move edit settings under video.edit and choose documented automatic controls or a justified adherence preset. Keep a fixture showing which old intent maps to which new fields. Do not copy unrelated image-generation keyframes into the source position merely because both fields contain media.

  3. 03

    Validate the asynchronous result and cutover evidence

    Submit a representative authorized edit, record the returned generation identifier and poll its state rather than assuming a successful submission is the completed file. On completion, download the returned output and inspect the recognisable source action, duration and requested transformation. Record failures with the documented diagnostic identifiers. Confirm renewed result links when needed and test your timeout behaviour. Compare the operation and receiving deliverable before directing all production traffic to the new path.

A concrete example

Illustrative migration: a service previously used a legacy Refiner call to restyle a short original rehearsal. Its first port changes the model string but omits the source relationship, so the team rejects that fixture before release. The revised request is an explicit existing-video edit. The acceptance record names the source action and output artifact instead of accepting any plausible video returned by the API.

Operation-preserving migration

Legacy intentNew contractProof
New shotvideoPrompt/keyframes serve intended generation
Existing clip editvideo_edit plus sourceRecognisable source action retained as required
Reframevideo_reframeTarget framing qualified separately
Async completionPoll then downloadActual delivered artifact inspected

Before you call it ready

  • Every route is classified by intended operation.
  • Existing-video edits retain an explicit supported source reference.
  • A completed downloaded artifact, not only an accepted request, is reviewed.

When to stop or choose another method

Stop the cutover if the operation, media reference or result handling is ambiguous. Follow the current Agents schema and account notice. This is a Luma integration example and does not imply AISwapLab uses Luma internally or accepts the same request fields.

Sources

Review the result in context.

Compare the recorded example and its documented limitations.

See the recorded example