Create a video
Create a video task with the OpenAI Videos API.
Create an asynchronous task from a text prompt and an optional reference image. The response includes a Video ID used to retrieve status and download the result.
/v1/videosCreate asynchronous video generation tasks based on text prompts and optional reference images. The interface accepts Multipart requests compatible with OpenAI Videos and returns a Video ID that can be used to query task status. Different video models may support different durations, sizes, reference images, and extension parameters. Please select the model ID that is visible and supports video generation via the current API Key
Authorization
bearerAuth Use Bearer your-api-key in the Authorization Header.
In: header
Request Body
multipart/form-data
Use Multipart to submit prompts, models, and optional reference images. The client should automatically generate the boundary of the Content-Type from the request library.
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json