Skip to content

How can I attach an AI swap result to the right cut when two video API jobs have the same prompt?

Attach results by your own cut revision and the returned job ID. Prompt text, request time and a shared scene name are insufficient to distinguish similar jobs.

SHIP A RELIABLE INTEGRATIONAISwapLab team · Editorial methodPublished 2 min read
Open API documentationExplore 67 Image SkillsPrivate keys · Explicit credit approval

Record an association before dispatch

Store a project cut ID, source asset ID and intended review version with the job ID. Keep that mapping separate from private file URLs.

Validate the retrieval

Poll each known job URL and write the retrieved asset against the same local cut row. If the second job completes first, it still belongs to the second cut.

Name the saved media independently

Include the scene and revision in the file's display name, then verify a unique source cue before handing it back to the editor.

Pass condition

Receiving two files out of order cannot change which source cut gets either result.

Sources

One task. A recoverable workflow.

Check the contract, approve the quote and retain the job.

Open API documentation