Edit Decision Duration
Compute the frame length of an edit list with speed changes, then subtract shared transition overlaps and flag invalid transitions.
Custom requests cost 0.04 USDC on Base.
Download example JSON · OpenAPI · Source and usage
Pay with a browser wallet · Open example in checkout
POST a JSON request to /edit-decision-duration/v1/check with an x402 V2 client.
Worked example
Request
{
"clips": [
{
"id": "a",
"source_frames": 120,
"rate_percent": 100,
"overlap_previous": 0
},
{
"id": "b",
"source_frames": 100,
"rate_percent": 200,
"overlap_previous": 10
}
]
}Result
{
"frames": 160,
"clips": [
{
"id": "a",
"start": 0,
"end": 120
},
{
"id": "b",
"start": 110,
"end": 160
}
]
}Support catalog maintenance through GitHub Sponsors. Sponsor gptenv · Sponsor Jeremy Carter