@Yurii Khovzun I can confirm that the format used in the request needs to use the body as images: [url1, url2, url3]
instead of the key pair tags as mentioned in the current document. The document change is also being done to reflect the correct format. Here, is an example that worked for me.
curl -H "Ocp-Apim-Subscription-Key: <your_key>" -H "Content-Type: application/json" "https://<your_resource>.cognitiveservices.azure.com/computervision/imagecomposition:stitch?api-version=2023-04-01-preview" --output stiched2.jpg -d "{ 'images': ['https://example.com/Azure-Samples/cognitive-services-sample-data-files/master/ComputerVision/shelf-analysis/unstitched-1.png', 'https://example.com/Azure-Samples/cognitive-services-sample-data-files/master/ComputerVision/shelf-analysis/unstitched-2.png', 'https://example.com/Azure-Samples/cognitive-services-sample-data-files/master/ComputerVision/shelf-analysis/unstitched-3.png' ] }"
Here is the response of my run:
If this answers your query, do click Accept Answer
and Yes
for was this answer helpful. And, if you have any further query do let us know.