Skip to content

Commit bed31cd

Browse files
committed
add params to qs
1 parent 0f216cc commit bed31cd

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

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

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ ms.date: 05/22/2025
1212

1313
# Quickstart: Generate a video with Sora (preview)
1414

15-
In this Quickstart, you generate video clips using the Azure OpenAI service. The example uses the Sora model, which is a video generation model that creates realistic and imaginative video scenes from text instructions. This guide shows you how to create a video generation job, poll for its status, and retrieve the generated video.
15+
In this quickstart, you generate video clips using the Azure OpenAI service. The example uses the Sora model, which is a video generation model that creates realistic and imaginative video scenes from text instructions. This guide shows you how to create a video generation job, poll for its status, and retrieve the generated video.
16+
17+
For more information on video generation, see [Video generation concepts](./concepts/video-generation.md).
1618

1719

1820
## Prerequisites
@@ -71,7 +73,10 @@ Create a new Python file named `quickstart.py`. Open the new file in your prefer
7173
create_url = f"{endpoint}/openai/v1/video/generations/jobs?api-version=preview"
7274
payload = {
7375
"prompt": "A cat playing piano in a jazz bar.",
74-
"model": "sora"
76+
"model": "sora",
77+
"width": 1080,
78+
"height": 1080,
79+
"n_seconds": 10
7580
}
7681
response = requests.post(create_url, headers=headers, json=payload)
7782
response.raise_for_status()

0 commit comments

Comments
 (0)