Skip to content

Commit d7db363

Browse files
authored
Merge pull request #5511 from eric-urban/eur/video-translation-api
video translation API version
2 parents 8a94a94 + 26b7352 commit d7db363

File tree

5 files changed

+19
-19
lines changed

5 files changed

+19
-19
lines changed

articles/ai-services/speech-service/includes/how-to/video-translation/ai-foundry.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ author: eric-urban
55
ms.author: eur
66
ms.service: azure-ai-speech
77
ms.topic: include
8-
ms.date: 3/8/2025
8+
ms.date: 6/13/2025
99
ms.custom: references_regions
1010
---
1111

articles/ai-services/speech-service/includes/how-to/video-translation/rest.md

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ author: eric-urban
55
ms.author: eur
66
ms.service: azure-ai-speech
77
ms.topic: include
8-
ms.date: 3/8/2025
8+
ms.date: 6/13/2025
99
ms.custom: references_regions
1010
---
1111

@@ -67,9 +67,10 @@ curl -v -X PUT -H "Ocp-Apim-Subscription-Key: YourSpeechResourceKey" -H "Operati
6767
"speakerCount": 1,
6868
"subtitleMaxCharCountPerSegment": 50,
6969
"exportSubtitleInVideo": false,
70+
"enableLipSync": false,
7071
"videoFileUrl": "https://speechstudioprodpublicsa.blob.core.windows.net/ttsvoice/VideoTranslation/PublicDoc/SampleData/es-ES-TryOutOriginal.mp4"
7172
}
72-
}' "https://YourSpeechResourceRegion.api.cognitive.microsoft.com/videotranslation/translations/Your-Translation-Id?api-version=2024-05-20-preview"
73+
}' "https://YourSpeechResourceRegion.api.cognitive.microsoft.com/videotranslation/translations/Your-Translation-Id?api-version=2024-05-20"
7374
```
7475

7576
> [!IMPORTANT]
@@ -85,7 +86,8 @@ You should receive a response body in the following format:
8586
"voiceKind": "PlatformVoice",
8687
"speakerCount": 1,
8788
"subtitleMaxCharCountPerSegment": 50,
88-
"exportSubtitleInVideo": false
89+
"exportSubtitleInVideo": false,
90+
"enableLipSync": false
8991
},
9092
"status": "NotStarted",
9193
"lastActionDateTime": "2025-03-06T19:13:35.669Z",
@@ -120,7 +122,7 @@ curl -v -X PUT -H "Ocp-Apim-Subscription-Key: YourSpeechResourceKey" \
120122
"subtitleMaxCharCountPerSegment": 30,
121123
"exportSubtitleInVideo": true
122124
}
123-
}' "https://YourSpeechResourceRegion.api.cognitive.microsoft.com/videotranslation/translations/Your-Translation-Id/iterations/Your-Iteration-Id-1?api-version=2024-05-20-preview"
125+
}' "https://YourSpeechResourceRegion.api.cognitive.microsoft.com/videotranslation/translations/Your-Translation-Id/iterations/Your-Iteration-Id-1?api-version=2024-05-20"
124126
```
125127

126128
You should receive a response body in the following format:
@@ -147,7 +149,7 @@ You can download the translated video and subtitles once the iteration status is
147149
To retrieve details of a specific iteration by its ID, use the HTTP GET request. Replace `YourSpeechResourceKey` with your Speech resource key, `YourSpeechResourceRegion` with your Speech resource region, `Your-Translation-Id` with the translation ID you want to check, and `Your-Iteration-Id` with the iteration ID you want to check.
148150

149151
```azurecli-interactive
150-
curl -v -X GET -H "Ocp-Apim-Subscription-Key: YourSpeechResourceKey" "https://YourSpeechResourceRegion.api.cognitive.microsoft.com/videotranslation/translations/Your-Translation-Id/iterations/Your-Iteration-Id?api-version=2024-05-20-preview"
152+
curl -v -X GET -H "Ocp-Apim-Subscription-Key: YourSpeechResourceKey" "https://YourSpeechResourceRegion.api.cognitive.microsoft.com/videotranslation/translations/Your-Translation-Id/iterations/Your-Iteration-Id?api-version=2024-05-20"
151153
```
152154

153155
You should receive a response body in the following format:
@@ -551,7 +553,7 @@ curl -v -X PUT -H "Ocp-Apim-Subscription-Key: YourSpeechResourceKey" \
551553
"url": "https://YourBlobStorageUrl/YourWebVTTFile.vtt"
552554
}
553555
}
554-
}' "https://YourSpeechResourceRegion.api.cognitive.microsoft.com/videotranslation/translations/Your-Translation-Id/iterations/Your-Iteration-Id-2?api-version=2024-05-20-preview"
556+
}' "https://YourSpeechResourceRegion.api.cognitive.microsoft.com/videotranslation/translations/Your-Translation-Id/iterations/Your-Iteration-Id-2?api-version=2024-05-20"
555557
```
556558

557559
You should receive a response body in the following format:
@@ -580,7 +582,7 @@ Check the status of an operation using its operation ID. The operation ID is uni
580582
- Replace `YourSpeechResourceKey` with your Speech resource key and replace `YourSpeechResourceRegion` with your Speech resource region.
581583

582584
```azurecli-interactive
583-
curl -v -X GET -H "Ocp-Apim-Subscription-Key: YourSpeechResourceKey" "https://YourSpeechResourceRegion.api.cognitive.microsoft.com/videotranslation/operations/Your-Operation-Id-1?api-version=2024-05-20-preview"
585+
curl -v -X GET -H "Ocp-Apim-Subscription-Key: YourSpeechResourceKey" "https://YourSpeechResourceRegion.api.cognitive.microsoft.com/videotranslation/operations/Your-Operation-Id-1?api-version=2024-05-20"
584586
```
585587

586588
You should receive a response body in the following format:
@@ -599,7 +601,7 @@ Remove a specific translation identified by `translationId`. This operation also
599601
Replace `YourSpeechResourceKey` with your Speech resource key, `YourSpeechResourceRegion` with your Speech resource region, and `Your-Translation-Id` with the translation ID you want to delete. If not deleted manually, the service retains the translation history for up to 31 days.
600602

601603
```azurecli-interactive
602-
curl -v -X DELETE -H "Ocp-Apim-Subscription-Key: YourSpeechResourceKey" "https://YourSpeechResourceRegion.api.cognitive.microsoft.com/videotranslation/translations/Your-Translation-Id?api-version=2024-05-20-preview"
604+
curl -v -X DELETE -H "Ocp-Apim-Subscription-Key: YourSpeechResourceKey" "https://YourSpeechResourceRegion.api.cognitive.microsoft.com/videotranslation/translations/Your-Translation-Id?api-version=2024-05-20"
603605
```
604606

605607
The response headers include `HTTP/1.1 204 No Content` if the delete request was successful.
@@ -628,23 +630,23 @@ This section provides examples for other video translation API calls that aren't
628630
To list all video translations that are uploaded and processed in your resource account, make an HTTP GET request as shown in the following example. Replace `YourSpeechResourceKey` with your Speech resource key and replace `YourSpeechResourceRegion` with your Speech resource region.
629631

630632
```azurecli-interactive
631-
curl -v -X GET -H "Ocp-Apim-Subscription-Key: YourSpeechResourceKey" "https://YourSpeechResourceRegion.api.cognitive.microsoft.com/videotranslation/translations?api-version=2024-05-20-preview"
633+
curl -v -X GET -H "Ocp-Apim-Subscription-Key: YourSpeechResourceKey" "https://YourSpeechResourceRegion.api.cognitive.microsoft.com/videotranslation/translations?api-version=2024-05-20"
632634
```
633635

634636
### Get a translation by translation ID
635637

636638
This operation retrieves detailed information about a specific translation, identified by its unique `translationId`. Replace `YourSpeechResourceKey` with your Speech resource key, `YourSpeechResourceRegion` with your Speech resource region, and `Your-Translation-Id` with the translation ID you want to check.
637639

638640
```azurecli-interactive
639-
curl -v -X GET -H "Ocp-Apim-Subscription-Key: YourSpeechResourceKey" "https://YourSpeechResourceRegion.api.cognitive.microsoft.com/videotranslation/translations/Your-Translation-Id?api-version=2024-05-20-preview"
641+
curl -v -X GET -H "Ocp-Apim-Subscription-Key: YourSpeechResourceKey" "https://YourSpeechResourceRegion.api.cognitive.microsoft.com/videotranslation/translations/Your-Translation-Id?api-version=2024-05-20"
640642
```
641643

642644
### List iterations
643645

644646
List all iterations for a specific translation. This request lists all iterations without detailed information. Replace `YourSpeechResourceKey` with your Speech resource key, `YourSpeechResourceRegion` with your Speech resource region, and `Your-Translation-Id` with the translation ID you want to check.
645647

646648
```azurecli-interactive
647-
curl -v -X GET -H "Ocp-Apim-Subscription-Key: YourSpeechResourceKey" "https://YourSpeechResourceRegion.api.cognitive.microsoft.com/videotranslation/translations/Your-Translation-Id/iterations?api-version=2024-05-20-preview"
649+
curl -v -X GET -H "Ocp-Apim-Subscription-Key: YourSpeechResourceKey" "https://YourSpeechResourceRegion.api.cognitive.microsoft.com/videotranslation/translations/Your-Translation-Id/iterations?api-version=2024-05-20"
648650
```
649651

650652
## HTTP status codes

articles/ai-services/speech-service/includes/how-to/video-translation/speech-studio.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ author: eric-urban
55
ms.author: eur
66
ms.service: azure-ai-speech
77
ms.topic: include
8-
ms.date: 3/8/2025
8+
ms.date: 6/13/2025
99
ms.custom: references_regions
1010
---
1111

@@ -14,7 +14,7 @@ In this article, you learn how to use video translation with Azure AI Speech in
1414
## Pre-requisites
1515

1616
- An Azure subscription. If you don't have an Azure subscription, create a free account before you begin.
17-
- an AI Foundry 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/).
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/).
1818
- An [Azure Blob Storage](/azure/storage/blobs/storage-blobs-overview) account.
1919
- 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).
2020
- Make sure video translation supports your [source and target language](../../../language-support.md?tabs=speech-translation#video-translation).

articles/ai-services/speech-service/toc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ items:
225225
href: get-started-speech-translation.md
226226
- name: How to recognize and translate speech
227227
href: how-to-translate-speech.md
228-
- name: Video translation (preview)
228+
- name: Video translation
229229
items:
230230
- name: Video translation overview
231231
href: video-translation-overview.md

articles/ai-services/speech-service/video-translation-overview.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,15 @@ description: With video translation, you can seamlessly integrate multi-language
55
manager: nitinme
66
ms.service: azure-ai-speech
77
ms.topic: overview
8-
ms.date: 4/15/2025
8+
ms.date: 6/13/2025
99
ms.reviewer: eur
1010
ms.author: eur
1111
author: eric-urban
1212
ms.custom: references_regions
1313
#Customer intent: As a developer, I want to learn about video translation in Azure AI Speech.
1414
---
1515

16-
# What is video translation (preview)
17-
18-
[!INCLUDE [Feature preview](../includes/preview-feature.md)]
16+
# What is video translation?
1917

2018
Video translation is a feature in Azure AI Speech that enables you to seamlessly translate and generate videos in multiple languages automatically. This feature is designed to help you localize your video content to cater to diverse audiences around the globe. You can efficiently create immersive, localized videos across various use cases such as vlogs, education, news, enterprise training, advertising, film, TV shows, and more.
2119

0 commit comments

Comments
 (0)