Documentation Index
Fetch the complete documentation index at: https://wisdom-docs.juheapi.com/llms.txt
Use this file to discover all available pages before exploring further.
Overview
The/v1/videos/{video_id} endpoint allows you to retrieve detailed status and metadata information for a Sora video generation task. This is the primary endpoint for tracking video generation progress and obtaining video details once processing is complete.
Use this endpoint to monitor video generation status, check progress, and retrieve metadata such as video dimensions, duration, creation time, and expiration time.
Before using this endpoint, you must first generate a video using the Create video endpoint to obtain a video ID.
Important Notes
Auto-Generated DocumentationThe request parameters and response format are automatically generated from the OpenAPI specification. All parameters, their types, descriptions, defaults, and examples are pulled directly from
openapi.json. Scroll down to see the interactive API reference.Quick Start
Basic Example: Check Video Status
Polling Example: Wait for Completion
Response Fields
Status Values
Thestatus field indicates the current state of video generation:
| Status | Description |
|---|---|
queued | Video is queued and waiting to be processed |
processing | Video is currently being generated |
completed | Video generation has completed successfully |
failed | Video generation failed (check error field) |
Key Fields
id: The unique identifier for the videostatus: Current generation status (queued, processing, completed, failed)progress: Generation progress percentage (0-100)created_at: Unix timestamp when the request was createdcompleted_at: Unix timestamp when generation completed (null if not completed)error: Error information if generation failed (null if no error)model: Model used for generation (e.g., “sora-2”)meta_data: Metadata object containing the video download URL when completedmeta_data.url: The download URL for the generated video (available when status iscompleted)
FAQ
How often should I poll for status?
We recommend polling every 10-30 seconds. More frequent polling is unnecessary and may hit rate limits. Less frequent polling (60+ seconds) is acceptable but will delay your response to completion.What should I do when status is “completed”?
Once the status iscompleted, you can:
- Get the video download URL from
meta_data.urlin the response - Download the video using the URL
- Store the video ID and metadata for your records
What should I do when status is “failed”?
When status isfailed, check the error field for details:
- Review the error message
- Verify your request parameters were correct
- Check if the content violated OpenAI’s usage policies
- Retry with a modified prompt if appropriate
How long do videos stay available?
Check theexpires_at field to know when the video will expire. Download videos promptly after completion to avoid expiration. Expired videos cannot be retrieved.
Can I check status for a remixed video?
Yes, remixed videos have the same status tracking. Theremixed_from_video_id field will contain the ID of the original video if this video was created via remixing.