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
Copy file name to clipboardExpand all lines: articles/ai-services/openai/how-to/function-calling.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,8 +40,9 @@ At a high level you can break down working with functions into three steps:
40
40
*`gpt-4o` (`2024-11-20`)
41
41
*`gpt-4o-mini` (`2024-07-18`)
42
42
*`gpt-4.5-preview` (`2025-02-27`)
43
-
*`gpt-4.1` (`2025-14-2025`)
44
-
*`gpt-4.1-nano` (`2025-14-2025`)
43
+
*`gpt-4.1` (`2025-04-14`)
44
+
*`gpt-4.1-nano` (`2025-04-14`)
45
+
*`gpt-4.1-mini` (`2025-04-14`)
45
46
46
47
Support for parallel function was first added in API version [`2023-12-01-preview`](https://github.com/Azure/azure-rest-api-specs/blob/main/specification/cognitiveservices/data-plane/AzureOpenAI/inference/preview/2023-12-01-preview/inference.json)
Copy file name to clipboardExpand all lines: articles/ai-services/openai/how-to/responses.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,6 +45,7 @@ The responses API is currently available in the following regions:
45
45
-`computer-use-preview`
46
46
-`gpt-4.1` (Version: `2025-04-14`)
47
47
-`gpt-4.1-nano` (Version: `2025-04-14`)
48
+
-`gpt-4.1-mini` (Version: `2025-04-14`)
48
49
49
50
Not every model is available in the regions supported by the responses API. Check the [models page](../concepts/models.md) for model region availability.
Copy file name to clipboardExpand all lines: articles/ai-services/speech-service/includes/how-to/video-translation/ai-foundry.md
+96-4Lines changed: 96 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,26 +16,34 @@ In this article, you learn how to use video translation with Azure AI Speech in
16
16
> [!TIP]
17
17
> Try out video translation in the [Azure AI Foundry portal](https://ai.azure.com/) before using the API. Use the [video translation REST API](?pivots=rest-api) to integrate video translation into your applications. For more information about the API, see [Video translation REST API](/rest/api/aiservices/videotranslation/translation-operations/create-translation).
18
18
19
+
## Prerequisites
20
+
21
+
- An Azure subscription. If you don't have an Azure subscription, create a free account before you begin.
22
+
- An Azure AI Services resource for Speech [in a supported region](../../../video-translation-overview.md#supported-regions-and-languages). If you don't have a Speech resource, create one in the [Azure portal](https://portal.azure.com/).
23
+
- An [Azure Blob Storage](/azure/storage/blobs/storage-blobs-overview) account.
24
+
- You need a video file in .mp4 format, less than 5 GB, and shorter than 4 hours. For testing purposes, you can use the sample video file provided by Microsoft at [https://speechstudioprodpublicsa.blob.core.windows.net/ttsvoice/VideoTranslation/PublicDoc/SampleData/es-ES-TryOutOriginal.mp4](https://speechstudioprodpublicsa.blob.core.windows.net/ttsvoice/VideoTranslation/PublicDoc/SampleData/es-ES-TryOutOriginal.mp4).
25
+
- Make sure video translation supports your [source and target language](../../../language-support.md?tabs=speech-translation#video-translation).
26
+
19
27
## Try out video translation
20
28
21
-
To try out video translation, follow these steps:
29
+
To try out the video translation demo, follow these steps:
22
30
23
31
1. Go to the [model catalog in Azure AI Foundry portal](https://ai.azure.com/explore/models).
24
32
25
33
1. Enter and search for "Azure-AI-Speech" in the catalog search box.
26
34
27
-
:::image type="content" source="../../../media/video-translation/search-model-catalog.png" alt-text="Screenshot of the model catalog in Azure AI Foundry portal." lightbox="../../../media/video-translation/search-model-catalog.png":::
35
+
:::image type="content" source="../../../media/video-translation/foundry-portal/search-model-catalog.png" alt-text="Screenshot of the model catalog in Azure AI Foundry portal." lightbox="../../../media/video-translation/foundry-portal/search-model-catalog.png":::
28
36
29
37
1. Select **Azure-AI-Speech** and you're taken to the **Azure-AI-Speech** try out page.
30
38
1. Select **Speech capabilities by scenario** > **Video translation**.
31
39
32
-
:::image type="content" source="../../../media/video-translation/capabilities-by-scenario.png" alt-text="Screenshot of filtering Speech service capabilities by scenario." lightbox="../../../media/video-translation/capabilities-by-scenario.png":::
40
+
:::image type="content" source="../../../media/video-translation/foundry-portal/capabilities-by-scenario.png" alt-text="Screenshot of filtering Speech service capabilities by scenario." lightbox="../../../media/video-translation/foundry-portal/capabilities-by-scenario.png":::
33
41
34
42
1. Under the **Sample option** to the right, select personal or prebuilt voice.
35
43
36
44
1. Select the **Play** button to hear the translated audio. Select the original video tab to play the original audio.
37
45
38
-
:::image type="content" source="../../../media/video-translation/compare-original-translated.png" alt-text="Screenshot of selecting a voice type on the new project page." lightbox="../../../media/video-translation/compare-original-translated.png":::
46
+
:::image type="content" source="../../../media/video-translation/foundry-portal/compare-original-translated.png" alt-text="Screenshot of selecting a voice type on the new project page." lightbox="../../../media/video-translation/foundry-portal/compare-original-translated.png":::
39
47
40
48
The voice type options are:
41
49
-**Prebuilt voice**: The service automatically selects the most suitable prebuilt voice by matching the speaker's voice in the video with prebuilt voices.
@@ -45,6 +53,90 @@ To try out video translation, follow these steps:
45
53
> To use personal voice via the API, you need to apply for [access](https://aka.ms/customneural).
46
54
47
55
56
+
## Create a video translation project
57
+
58
+
To create a video translation project, follow these steps:
59
+
60
+
1. Go to the [model catalog in Azure AI Foundry portal](https://ai.azure.com/explore/models).
61
+
62
+
1. Enter and search for "Azure-AI-Speech" in the catalog search box.
63
+
64
+
:::image type="content" source="../../../media/video-translation/foundry-portal/search-model-catalog.png" alt-text="Screenshot of the model catalog in Azure AI Foundry portal." lightbox="../../../media/video-translation/foundry-portal/search-model-catalog.png":::
65
+
66
+
1. Select **Azure-AI-Speech** and you're taken to the **Azure-AI-Speech** try out page.
67
+
1. Select **Speech capabilities by scenario** > **Video translation**.
68
+
69
+
:::image type="content" source="../../../media/video-translation/foundry-portal/capabilities-by-scenario.png" alt-text="Screenshot of filtering Speech service capabilities by scenario." lightbox="../../../media/video-translation/foundry-portal/capabilities-by-scenario.png":::
70
+
71
+
1. Select **My videos** > **Upload video**.
72
+
73
+
:::image type="content" source="../../../media/video-translation/foundry-portal/select-upload-video.png" alt-text="Screenshot of selecting the upload video button." lightbox="../../../media/video-translation/foundry-portal/select-upload-video.png":::
74
+
75
+
1. On the **Upload video** page, select a **Voice type**.
76
+
77
+
:::image type="content" source="../../../media/video-translation/foundry-portal/select-voice-type.png" alt-text="Screenshot of selecting a voice type on the new project page." lightbox="../../../media/video-translation/foundry-portal/select-voice-type.png":::
78
+
79
+
The voice type options are:
80
+
-**Prebuilt neural voice**: The service automatically selects the most suitable prebuilt voice by matching the speaker's voice in the video with prebuilt voices.
81
+
-**Personal voice**: Use the personal voice that matches the voice of the speakers in the video.
82
+
83
+
> [!NOTE]
84
+
> To use personal voice, you need to apply for [access](https://aka.ms/customneural).
85
+
86
+
1. Upload your video file by dragging and dropping the video file or selecting the file manually. The video must be in .mp4 format, less than 5 GB, and shorter than 4 hours.
87
+
88
+
1. Provide the **Number of speakers**, **Language of the video**, and **Translate to** language.
89
+
90
+
1. Select the boxes to acknowledge the pricing information and code of conduct.
91
+
92
+
1. Select **Next: Advanced settings** if you want to adjust the advanced settings.
93
+
94
+
:::image type="content" source="../../../media/video-translation/foundry-portal/provide-video-information.png" alt-text="Screenshot of providing video information on the new project page." lightbox="../../../media/video-translation/foundry-portal/provide-video-information.png":::
95
+
96
+
1. Optionally, you can adjust the following settings:
97
+
98
+
-**Lexicon file**: This option allows you to add custom words or phrases that the system should recognize and pronounce correctly. You can create a lexicon file in the [audio content creation tool in the Speech Studio](https://aka.ms/speechstudio) and select it here.
99
+
-**Burn subtitles**: This option allows you to add subtitles to the video. The subtitle file can be in WebVTT or JSON format. You can download a sample WebVTT file for your reference by selecting **Download sample VTT file**.
100
+
101
+
:::image type="content" source="../../../media/video-translation/foundry-portal/provide-video-information-advanced.png" alt-text="Screenshot of providing lexicon and subtitle information while creating a new project." lightbox="../../../media/video-translation/foundry-portal/provide-video-information-advanced.png":::
102
+
103
+
If you want to use your own subtitle files, select **Subtitle** > **Upload your own**. You can choose to upload either the source subtitle file or the target subtitle file.
104
+
- Automatic subtitles: Results in both source and target language subtitles.
105
+
- Upload source language subtitles: Results in both source and target language subtitles.
106
+
- Upload target language subtitles: Results in only target language subtitles.
107
+
108
+
1. Select **Create**.
109
+
110
+
Once the upload to Azure Blob Storage is complete, you can check the processing status on the project tab.
111
+
112
+
After the project is created, you can select the project to review detailed settings and make adjustments according to your preferences.
113
+
114
+
## Check and adjust voice settings
115
+
116
+
Select **My videos** and you should see a video labeled with **Succeeded** status.
117
+
118
+
:::image type="content" source="../../../media/video-translation/foundry-portal/select-succeeded-video.png" alt-text="Screenshot of selecting a successfully translated video." lightbox="../../../media/video-translation/foundry-portal/select-succeeded-video.png":::
119
+
120
+
Select the video to see the **Translated** and **Original** tabs under **Video**. You can compare the original and translated videos by selecting the corresponding tab. The translated video is generated automatically, and you can play it to check the translation quality.
121
+
122
+
:::image type="content" source="../../../media/video-translation/foundry-portal/compare-original-translated-custom.png" alt-text="Screenshot of reviewing details of the translated video." lightbox="../../../media/video-translation/foundry-portal/compare-original-translated-custom.png":::
123
+
124
+
To the right side of the video, you can view both the original script and the translated script. Hovering over each part of the original script triggers the video to automatically jump to the corresponding segment of the original video, while hovering over each part of the translated script triggers the video to jump to the corresponding translated segment.
125
+
126
+
You can make multiple changes to the video, including adjusting the voice settings, adding or removing segments, and changing the time frame of the scripts. You're only charged after you select **Apply changes** to apply your changes. You can select **Save** to save work in progress without incurring any charges.
127
+
128
+
If you encounter segments with an "unidentified" voice name, it might be because the system couldn't accurately detect the voice, especially in situations where speaker voices overlap. In such cases, it's advisable to manually change the voice name.
129
+
130
+
:::image type="content" source="../../../media/video-translation/foundry-portal/voice-unidentified.png" alt-text="Screenshot of one segment with unidentified voice name." lightbox="../../../media/video-translation/foundry-portal/voice-unidentified.png":::
131
+
132
+
## Translate to another language
133
+
134
+
You can keep the current translation project and translate the original video into another language.
135
+
136
+
1. Select **My videos** and then select the tile for your video translation.
137
+
1. Select **+ New language**.
138
+
1. On the new **Translate to new language** page that appears, choose a new translation language and voice type. Once the video is translated, a new project is automatically created.
Copy file name to clipboardExpand all lines: articles/ai-services/speech-service/includes/how-to/video-translation/rest.md
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,8 +14,9 @@ The video translation REST API facilitates seamless video translation integratio
14
14
## Pre-requisites
15
15
16
16
- An Azure subscription. If you don't have an Azure subscription, create a free account before you begin.
17
-
- A Speech resource [in a supported region](../../../video-translation-overview.md#supported-regions-and-languages). If you don't have a Speech resource, create one in the [Azure portal](https://portal.azure.com/).
18
-
- You need a video file in .mp4 format, less than 500 MB, and shorter than 60 minutes. For testing purposes, you can use the sample video file provided by Microsoft at [https://speechstudioprodpublicsa.blob.core.windows.net/ttsvoice/VideoTranslation/PublicDoc/SampleData/es-ES-TryOutOriginal.mp4](https://speechstudioprodpublicsa.blob.core.windows.net/ttsvoice/VideoTranslation/PublicDoc/SampleData/es-ES-TryOutOriginal.mp4).
17
+
- An Azure AI Services resource for Speech [in a supported region](../../../video-translation-overview.md#supported-regions-and-languages). If you don't have a Speech resource, create one in the [Azure portal](https://portal.azure.com/).
18
+
- An [Azure Blob Storage](/azure/storage/blobs/storage-blobs-overview) account.
19
+
- You need a video file in .mp4 format, less than 5 GB, and shorter than 4 hours. For testing purposes, you can use the sample video file provided by Microsoft at [https://speechstudioprodpublicsa.blob.core.windows.net/ttsvoice/VideoTranslation/PublicDoc/SampleData/es-ES-TryOutOriginal.mp4](https://speechstudioprodpublicsa.blob.core.windows.net/ttsvoice/VideoTranslation/PublicDoc/SampleData/es-ES-TryOutOriginal.mp4).
19
20
- Make sure video translation supports your [source and target language](../../../language-support.md?tabs=speech-translation#video-translation).
20
21
21
22
> [!TIP]
@@ -48,7 +49,7 @@ To create a video translation, you need to construct an HTTP PUT request path an
48
49
- Specify `speakerCount`: The number of speakers in the video. This is an optional parameter, and you can set it to 1 if you're unsure.
49
50
- Specify `subtitleMaxCharCountPerSegment`: The maximum number of characters allowed per subtitle segment. This is an optional parameter, and you can set it to 30 if you're unsure.
50
51
- Specify `exportSubtitleInVideo`: A boolean value indicating whether to export subtitles in the video. This is an optional parameter, and you can set it to `true` if you want to include subtitles in the video.
51
-
- Specify the `videoFileUrl`: The URL of the video file you want to translate. The video must be in .mp4 format, less than 500 MB, and shorter than 60 minutes. You can upload the video to Azure Blob Storage and use the Blob URL. For testing purposes, you can use the sample video file provided by Microsoft at [https://speechstudioprodpublicsa.blob.core.windows.net/ttsvoice/VideoTranslation/PublicDoc/SampleData/es-ES-TryOutOriginal.mp4](https://speechstudioprodpublicsa.blob.core.windows.net/ttsvoice/VideoTranslation/PublicDoc/SampleData/es-ES-TryOutOriginal.mp4).
52
+
- Specify the `videoFileUrl`: The URL of the video file you want to translate. The video must be in .mp4 format, less than 5 GB, and shorter than 4 hours. You can upload the video to Azure Blob Storage and use the Blob URL. For testing purposes, you can use the sample video file provided by Microsoft at [https://speechstudioprodpublicsa.blob.core.windows.net/ttsvoice/VideoTranslation/PublicDoc/SampleData/es-ES-TryOutOriginal.mp4](https://speechstudioprodpublicsa.blob.core.windows.net/ttsvoice/VideoTranslation/PublicDoc/SampleData/es-ES-TryOutOriginal.mp4).
52
53
53
54
For authentication and authorization, you need to include the following headers and path IDs in your request:
54
55
- Set the `Operation-Id` header: The `Operation-Id` must be unique for each operation, such as creating each iteration. Replace `Your-Operation-Id` with a unique ID for this operation.
0 commit comments