Skip to content

How do I create a stable video API request key when the user-facing task label can be edited?

Create an internal unique key once for the approved request and retain it across retries. Use the documented header length and avoid embedding mutable project labels in the key.

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

Separate two identities

Keep a user-visible task name and a durable attempt identifier. A single task can contain several independently approved renditions.

Save it before dispatch

Store the same exact request and key on your server. A browser retry should reference that stored approval rather than create another key.

Test a rename and a recoverable timeout

The request key stays fixed for one attempt but changes for the next independently approved job.

Pass condition

Retries can identify the original paid attempt even after labels or project views change.

Sources

One task. A recoverable workflow.

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

Open API documentation