#Error in Nodejs TS lib
14 messages · Page 1 of 1 (latest)
ok, the documentation is definetly not right.
the createImage() method takes in a CreateImageRequest object input, which, works as intended on the documentation
the methods createImageVariation() and createImageEdit() DO NOT take any sort of ImageRequest object input, which makes the documentation completely wrong for those methods
following the declaration stated on the api.ts file from the lib, this works:
Oh weird I thought we fixed the docs yesterday
Where are you seeing the example that uses image request for variation
I was expecting the documentation to be correct and not the lib
it is correct now
thanks =)
I was testing this last night and found the same issue haha
We codegen the node module and to do multi part form data we had to do it this way, that’s why it’s diffeeent from createImage
what version of openai is this?
this is a old thread, this was fixed long ago
actually, im going to close it
Thank you! Just a new errors im trying to resolve 🙏🏻