Skip to content

Can I reject a video swap API file automatically if the requested crop lost my source overlay?

Separate deterministic file checks from visual confirmation. A job contract can check dimensions, duration and audio metadata. Those values do not establish whether a specific graphical overlay survived a generative edit.

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

Define the overlay test

Identify the exact region and time range where the relevant on-screen label must remain. Use a known source frame and verify that any normalized crop still contains it.

Use a conditional delivery gate

Automatically reject unmet measurable conditions such as insufficient dimensions. Route changed-looking overlays or unclear recognition to visual review. Preserve the actual job state and keep any paid retry as a separate decision.

Example

An export passes the aspect-ratio and duration check and still contains a scrambled label. It belongs in review even though file validation is green.

Pass condition

The workflow distinguishes file compatibility from human evidence about the intended visible overlay and can reproduce the frame under review.

Sources

One task. A recoverable workflow.

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

Open API documentation