Skip to content

How do I test that a coding change preserves the source duration used for an H3 quote?

Use a fixed short local MP4 and assert that the current quote request keeps the same reference ID, size and output seconds through serialization. Compare against the documented units and source-limit rules.

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

Separate unit and integration checks

Locally test the request body with an approved fake asset ID. If performing live preflight, use an authorized test upload and quote with no creation request.

Check a significant range change

Use two differently trimmed copies with known runtimes. A selection swap must change the actual asset ID and trigger a fresh quote.

Keep a minimal report

Save exact duration and sanitized request fields but not real private asset URLs.

Pass condition

The app can prove its selected source and output settings survived the code change.

Sources

One task. A recoverable workflow.

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

Open API documentation