azure-openai-node icon indicating copy to clipboard operation
azure-openai-node copied to clipboard

Please fix localVarPath of createImage

Open blithechan-kpmg opened this issue 1 year ago • 0 comments

The current function createImage is not working because the POST URL for image generation is not complete.

(api.js, Line 360): const localVarPath = '/images/generations'

Correct POST URL should be in format of '/images/generations:submit?api-version=2023-06-01-preview'

blithechan-kpmg avatar Jul 26 '23 10:07 blithechan-kpmg