Skip to content

Why is the downloaded API video not exactly the requested number of frames?

The seconds field requests a duration; it is not a frame-count or frame-rate contract. Measure the downloaded MP4 and review its start, end and action timing. AISwapLab's public recorded example already shows a six-second source producing about 6.67 seconds of native output, so exact source-frame correspondence should not be assumed.

BUILD WITH MINIMAX H3AISwapLab team · Editorial methodPublished 2 min read
Open API documentationExplore 67 Image SkillsPrivate keys · Explicit credit approval
Article workflow: Record all measured values; Review meaningful boundaries; Choose an explicit post-edit.
Workflow diagram: Record all measured values → Review meaningful boundaries → Choose an explicit post-edit. Read the article for evidence and limits.

Time can differ at several layers

Source runtime, requested whole seconds, encoded output duration and a later edited export are distinct values. The direct API delivers the processed provider result rather than guaranteeing the studio's matched-duration editing behavior. A small runtime difference may be tolerable for one concept and unacceptable for a tightly synchronized client brief.

What to do next

  1. 01

    Record all measured values

    Keep source duration where applicable, the submitted seconds value and the completed file's measured runtime. Avoid replacing actual metadata with a rounded player label.

  2. 02

    Review meaningful boundaries

    Inspect whether the intended action starts and ends cleanly and whether the final extra time contains useful motion, a freeze or an awkward continuation.

  3. 03

    Choose an explicit post-edit

    If the project permits it, trim or retime in an editor and review motion and audio consequences. Label that as your edited delivery, separate from the untouched API output.

Published evidence

Published evidence: the solo example linked below documents the actual source and roughly 6.67-second result. It is one observation from a small test set, not a prediction that every six-second request will have that exact overrun.

Before you call it ready

  • Requested and measured durations remain separate.
  • The action boundary is reviewed.
  • Post-editing is not presented as native model precision.

When to stop or choose another method

If a project requires frame-exact replacement, use an editing workflow designed for that requirement. A short duration request alone cannot establish deterministic timeline preservation.

Sources

One task. A recoverable workflow.

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

Open API documentation