Status API
he Status API allows users to check the progress and current state of their video generation requests. By providing a unique video ID, users can retrieve real-time updates on whether the video is still processing, completed, or encountered an error.
Key Features
• Real-Time Tracking: Monitor the status of video generation, from processing to completion.
• Unique Identifiers: Retrieve status updates using a video-specific ID.
• Error Handling: Get notifications if a request fails or requires adjustments.
• Efficient Workflow Integration: Enable seamless automation by checking the progress before downloading the final output.
Strategic Value
Since video generation takes 10-15 minutes, the Status API ensures users can efficiently manage their workflow by tracking progress without unnecessary manual checks. This helps optimize processing time and resource allocation.
Use Cases
• Content Creation Platforms: Allow users to track video generation progress in real-time.
• Automated Workflows: Integrate status checks to trigger actions once a video is ready.
• Error Resolution: Identify failed requests early to make necessary adjustments.
• User Notifications: Inform users when their video is complete and ready for download.
This Status API provides an essential tool for managing video processing, ensuring transparency and efficiency in automated video generation workflows.
Endpoint
The endpoint for Text to Image API is
Headers
You need to pass the following headers along with the request.
Authorization
Pass your API token as a Bearer token in the Authorization header. Refer to the Authorization Section for guidance on managing your API keys.
Example API Call
Here’s a sample curl
request that uses the parameters above:
For additional details on each parameter and its optimal use, check out the Status API Reference.
Response
Upon a successful request, the API returns a binary json file
Response Attributes:
status: "status" attribute inside the "video" tells the current status "Pending", "Processing", "Success", "Failed"
Error Handling
In case of errors, the response includes status codes and error messages. See the Errors and Troubleshooting section for help with interpreting and resolving these errors.
Last updated