/videosDeprecatedCreate a video
Create a new video generation job from a prompt and optional reference assets.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
One documented failure
slow_downYour request rate increased too quickly. Please reduce the request rate and gradually increase it again.
Traffic increased too quickly
One documented failure
server_is_overloadedThe model is temporarily overloaded. Please retry your request after a brief delay.
The requested model is temporarily overloaded
A 400 is returned: The video request is invalid, or the organization does not support video generation. A 404 is returned: A referenced character was not found or is not accessible, or the Videos API is unavailable. A 429 is returned: The request was rejected because a rate limit was exceeded. A slow_down error means traffic increased too quickly; reduce your request rate, then increase it gradually. A 500 is returned: The video generation task could not be created. A 503 is returned: The service is temporarily unavailable. A server_is_overloaded error means the requested model is temporarily overloaded; retry after a brief delay.