Skip to content

Commit b738539

Browse files
committed
use includes for the quickstart etc
1 parent e4f6478 commit b738539

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

articles/ai-services/openai/concepts/video-generation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Sora has some technical limitations to be aware of:
3838

3939
- Sora supports the following output resolution dimensions:
4040
480x480, 480x854, 854x480, 720x720, 720x1280, 1280x720, 1080x1080, 1080x1920, 1920x1080.
41-
- Sora supports the following video durations: 5, 10, 15, and 20 seconds.
41+
- Sora supports video durations between 1 and 20 seconds.
4242
- 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.
4343
- 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.
4444
- 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.

articles/ai-services/openai/includes/api-versions/new-inference-preview.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1078,12 +1078,12 @@ POST {endpoint}/openai/v1/video/generations/jobs?api-version=preview
10781078

10791079
| Name | Type | Description | Required | Default |
10801080
|------|------|-------------|----------|---------|
1081-
| 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 | |
10821082
| model | string | The name of the deployment to use for this request. | Yes | |
10831083
| n_seconds | integer | The duration of the video generation job. Must be between 1 and 20 seconds. | No | 5 |
10841084
| 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 |
10851085
| 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 | |
10871087

10881088
### Responses
10891089

@@ -2276,12 +2276,12 @@ The tool calls generated by the model, such as function calls.
22762276

22772277
| Name | Type | Description | Required | Default |
22782278
|------|------|-------------|----------|---------|
2279-
| 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 | |
22802280
| model | string | The name of the deployment to use for this request. | Yes | |
22812281
| n_seconds | integer | The duration of the video generation job. Must be between 1 and 20 seconds. | No | 5 |
22822282
| 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 |
22832283
| 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 | |
22852285

22862286
### ElasticsearchChatDataSource
22872287

articles/ai-services/openai/includes/video-generation-rest.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,8 @@ For the recommended keyless authentication with Microsoft Entra ID, you need to:
7272
[!INCLUDE [resource authentication](resource-authentication.md)]
7373
7474
75-
## Generate audio from text input
75+
## Generate video with Sora
76+
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.
7677
7778
## [Microsoft Entra ID](#tab/keyless)
7879

0 commit comments

Comments
 (0)