You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Sora supports the following video durations: 5, 10, 15, and 20 seconds.
41
+
- Sora supports video durations between 1 and 20 seconds.
42
42
- You can request multiple video variants in a single job: for 1080p resolutions, this feature is disabled; for 720p, the maximum is two variants; for other resolutions, the maximum is four variants.
43
43
- You can have two video creation jobs running at the same time. You must wait for one of the jobs to finish before you can create another.
44
44
- Jobs are available for up to 24 hours after they're created. After that, you must create a new job to generate the video again.
| height | integer | The height of the video. The following dimensions are supported: 480x480, 854x480, 720x720, 1280x720, 1080x1080 and 1920x1080. | Yes ||
1081
+
| height | integer | The height of the video. The following dimensions are supported: 480x480, 480x854, 854x480, 720x720, 720x1280, 1280x720, 1080x1080, 1080x1920, 1920x1080. | Yes ||
1082
1082
| model | string | The name of the deployment to use for this request. | Yes ||
1083
1083
| n_seconds | integer | The duration of the video generation job. Must be between 1 and 20 seconds. | No | 5 |
1084
1084
| n_variants | integer | The number of videos to create as variants for this job. Must be between 1 and 5. Smaller dimensions allow more variants. | No | 1 |
1085
1085
| prompt | string | The prompt for this video generation job. | Yes ||
1086
-
| width | integer | The width of the video. The following dimensions are supported: 480x480, 854x480, 720x720, 1280x720, 1080x1080 and 1920x1080. | Yes ||
1086
+
| width | integer | The width of the video. The following dimensions are supported: 480x480, 480x854, 854x480, 720x720, 720x1280, 1280x720, 1080x1080, 1080x1920, 1920x1080. | Yes ||
1087
1087
1088
1088
### Responses
1089
1089
@@ -2276,12 +2276,12 @@ The tool calls generated by the model, such as function calls.
2276
2276
2277
2277
| Name | Type | Description | Required | Default |
| height | integer | The height of the video. The following dimensions are supported: 480x480, 854x480, 720x720, 1280x720, 1080x1080 and 1920x1080. | Yes ||
2279
+
| height | integer | The height of the video. The following dimensions are supported: 480x480, 480x854, 854x480, 720x720, 720x1280, 1280x720, 1080x1080, 1080x1920, 1920x1080. | Yes ||
2280
2280
| model | string | The name of the deployment to use for this request. | Yes ||
2281
2281
| n_seconds | integer | The duration of the video generation job. Must be between 1 and 20 seconds. | No | 5 |
2282
2282
| n_variants | integer | The number of videos to create as variants for this job. Must be between 1 and 5. Smaller dimensions allow more variants. | No | 1 |
2283
2283
| prompt | string | The prompt for this video generation job. | Yes ||
2284
-
| width | integer | The width of the video. The following dimensions are supported: 480x480, 854x480, 720x720, 1280x720, 1080x1080 and 1920x1080. | Yes ||
2284
+
| width | integer | The width of the video. The following dimensions are supported: 480x480, 480x854, 854x480, 720x720, 720x1280, 1280x720, 1080x1080, 1080x1920, 1920x1080. | Yes ||
You can generate a video with the Sora model by creating a video generation job, polling for its status, and retrieving the generated video. The following code shows how to do this via the REST API using Python.
0 commit comments