Get Video API
Retrieves the status of a video being generated and automatically triggers the next steps (clip generation, final render). This endpoint is idempotent and can be called regularly to track progress.GET /api/video-editor/generate/video/{id}
Authentication
All requests must include the header:x-api-key: YOUR_API_KEY
Headers
Your IACrea API key
URL Parameters
Unique video identifier (returned by
POST /api/video-editor/generate/video)Responses
This endpoint returns different statuses depending on the generation progress:200 — status: "GENERATING_VIDEO"
Video clips (sequences) are being generated.
Status:
"GENERATING_VIDEO"Remaining video credits
Credits used
List of generated content with their current status (
"pending" | "success" | "error")200 — status: "START_RENDERING_VIDEO"
All sequences are ready and the final video render is starting.
Status:
"START_RENDERING_VIDEO"Render progress (0 at start)
Remaining video credits
Credits used
List of generated content
200 — status: "RENDERING_VIDEO"
The final video render is in progress.
Status:
"RENDERING_VIDEO"Render progress (number between 0 and 1, or 0-100 depending on implementation)
Remaining video credits
Credits used
200 — status: "DONE"
The final video is ready and available.
Status:
"DONE"URL of the generated final video
Video identifier
List of generated content with their final status
Remaining video credits
Credits used
200 — status: "PENDING"
Transitional state. May be returned when a sequence has an error and regeneration is automatically restarted on the server.
Status:
"PENDING"Optional error message (e.g.
"Re-generating video in error")401 — Unauthorized
Returned ifx-api-key is missing or invalid.
404 — Not Found
Returned if the videoid does not exist.
500 — Server Error
Internal server error.Request Example
Response Examples
Generation in progress
Render in progress
Video complete
Integration Recommendations
- Polling: Call this endpoint every 2-5 seconds until you get status
"DONE"or"ERROR" - Timeout: Plan for a client-side timeout (e.g. 10-20 minutes) depending on render duration
- Resilience: If you receive
"PENDING"after already seeing"GENERATING_VIDEO", keep polling: the server may automatically restart failed sequences - Webhook: If you provided a
webhookUrlwhen creating the video, you will also receive a notification when the video is ready
