Skip to content

Why can Magic Hour's queued credit estimate and final frame-based charge differ?

The official SDK distinguishes frame-billed tools whose queued estimate settles using rendered frames from tools billed per second upfront. Record which type the specific endpoint uses before treating a changed total as an extra charge.

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

Gather both records

Keep the queued receipt and the finished output's provider billing entry. Match both to the same project and route.

Explain the reconciliation

Compare the settled total to the original estimate using the same credit unit. Report the difference separately from any later retry.

Example

A queued estimate can be adjusted once actual rendered frames are known without automatically meaning two jobs were created.

Pass condition

One job history shows the original estimate and settled charge with their distinct roles.

Sources

One task. A recoverable workflow.

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

Open API documentation