Skip to content

Why does the H3 API allow 15 seconds while the studio source stops at 10?

The H3 API accepts requested output durations from 4 to 15 whole seconds. The studio accepts source MP4 clips from 4 to 10 seconds, and API-uploaded reference videos also use the 4–10-second limit. These describe different inputs and surfaces. A larger credit pack does not expand a hard duration limit.

BUILD WITH MINIMAX H3AISwapLab team · Editorial methodPublished 2 min read
Open API documentationExplore 67 Image SkillsPrivate keys · Explicit credit approval
Article workflow: Identify which duration failed; Choose the appropriate workflow; Inspect the returned runtime.
Workflow diagram: Identify which duration failed → Choose the appropriate workflow → Inspect the returned runtime. Read the article for evidence and limits.

Do not transfer a vendor maximum to every route

Another service may expose different H3 modes or durations. AISwapLab's customer contract is the relevant limit for this integration. Requested output seconds, measured source duration and final encoded runtime should remain separate fields in your records, even when the studio normally requests an output that covers its source.

What to do next

  1. 01

    Identify which duration failed

    Read whether validation concerns the uploaded MP4 or the JSON seconds field. An eleven-second reference and an eleven-second text-only output request are different cases.

  2. 02

    Choose the appropriate workflow

    Trim a reference into a supported excerpt when source upload is required. Use an allowed API output duration for text-only or supported reference generation without inventing a longer-source exemption.

  3. 03

    Inspect the returned runtime

    Measure the completed file and review the action boundaries. An accepted seconds field is a request, not evidence of exact final-frame synchronization with your editing timeline.

A concrete example

Illustrative distinction: a 15-second text-to-video request can satisfy the API schema, while uploading a 15-second MP4 as reference fails the reference limit. Increasing max_credits does not change the uploaded-file validation.

Before you call it ready

  • The rejected field is identified.
  • Source and output limits are not conflated.
  • No plan upgrade is described as overriding a hard limit.

When to stop or choose another method

If the required source action cannot fit a supported excerpt, plan separate shots or another production route. Do not promise long-video replacement from the current short-reference workflow.

Sources

One task. A recoverable workflow.

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

Open API documentation