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
- 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.
- 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.
- 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 intent | New contract | Proof |
|---|---|---|
| New shot | video | Prompt/keyframes serve intended generation |
| Existing clip edit | video_edit plus source | Recognisable source action retained as required |
| Reframe | video_reframe | Target framing qualified separately |
| Async completion | Poll then download | Actual 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.
