Skip to content

Can I show a minimum delivered duration from an API quote before the video is generated?

Display the requested length and validated result length as separate fields. A quote can specify the intended settings. The file's actual media duration becomes observable only after a completed output can be inspected.

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

Record requested and observed values

Save the quote and documented request. On confirmed completion, probe the authorized file for its real duration.

Apply the promised tolerance

If your brief requires a full-length deliverable, mark a shorter result for review before reporting success. An external editing choice needs its own approval.

Example

An 8-second request produces a playable 7.76-second clip. The result may be useful, while the full requested timing still needs verification or a correction.

Pass condition

No customer-facing result length is inferred solely from a successful request or price.

Sources

One task. A recoverable workflow.

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

Open API documentation