Skip to content

Why does the same Remaker status handler treat one generation type as failed while it is still running?

Interpret status values using the contract for the specific endpoint. Remaker's video face-swap example shows a different progress business code from the documented AI Video Template code. Keep the route with the stored job ID.

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

Define separate accepted status mappings

Record statuses and output shapes for both routes. Normalize them into the app's internal states only after you know where the result came from.

Test representative fixtures

Use an in-progress response and a completed response for each provider route before relying on one view. Unknown values should leave a recoverable state.

Example

The same HTTP response class can contain distinct in-progress business values across two Remaker job types.

Pass condition

Both documented progress cases stay pending until the correct endpoint confirms their outputs.

Sources

One task. A recoverable workflow.

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

Open API documentation