Skip to content

How do I ask the Magic Hour API to swap just seconds 10 to 16 of a source video?

Use the documented start_seconds and end_seconds as source positions. The end must exceed the start. Use the range on the exact file being submitted and verify the first and last actions before treating it as a six-second excerpt.

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

Identify the source clock

Read the full clip and confirm the positions after any local trim. Label review notes with file-relative time when that is what the input expects.

Check output and cost

Record the chosen range, intended result and returned job path. Compare the actual delivered duration and the person appearing around the clip boundaries.

Example

A 10-to-16 range describes the six seconds beginning at source second 10. It is not a request to generate 16 seconds.

Pass condition

The output includes the intended source action and its duration and charge are reconciled with the submitted range.

Sources

One task. A recoverable workflow.

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

Open API documentation