Regenerate Sequence API
Regenerates a specific sequence of an existing video. Useful to fix a failed sequence or change the animation of a particular sequence.POST /api/video-editor/generate/sequence/{id}
Authentication
All requests must include the header:x-api-key: YOUR_API_KEY
Headers
Your IACrea API key
Must be
application/jsonURL Parameters
Unique video identifier (returned by
POST /api/video-editor/generate/video)Request Body
Identifier of the sequence to regenerate (found in
generatedContent of
the response from GET /api/video-editor/generate/video/{id})Optional parameters for the new generation
New image URL to use (if different from original). Optional.
New animation type to use. Optional.
Responses
200 — Regeneration started
Status:
"START_GENERATION"Identifier of the new generation for this sequence
Remaining video credits
Credits used
400 — Validation error
Returned if the videoid or sequenceId is invalid.
401 — Unauthorized
Returned ifx-api-key is missing or invalid.
404 — Not Found
Returned if the video or sequence does not exist.500 — Server Error
Internal server error.Request Example
Response Example
Important Notes
- Regenerating a sequence resets the video status to
"pending"and cancels the final render if it was in progress - You must use
GET /api/video-editor/generate/video/{id}to track the progress of the new generation - If you do not provide
sequence.urlorsequence.effect, the original values will be reused - Regeneration consumes additional video credits
