Introduction
Generation Lifecycle
Running generations can often take significant time to complete, beyond what is reasonable for an HTTP request/response.
When you run a generation on RotateProduct, the generations is created with a “starting” state, then instantly returned. This will then move to "processing" and eventual one of “successful”, "failed" or "canceled".
01 · Created
startingReturned straight away from the request.
02 · Rendering
processingThe video is being generated.
03 · Finished
succeededVideo ready to downloadfailedCredits refundedcanceledStopped, credits refunded
You can explore the generation lifecycle by using the /api/v1/generations/[ID]/status method to retrieve the latest version of the generation until completed.