Skip to content
v1.0.0

Multiple response types

Example of an OpenAPI document with multiple response types.

Contact

License

MIT

Servers

https://cdn.openai.com/API

ID: getAudio

Get audio

GET
/docs/audio/alloy.wav

Example of a response with an audio file.

Responses

Successful response
audio/wav
JSON
"string"

Samples


ID: getImage

Get image

GET
/images/guides/simple-cat-image-dall-e-3.webp

Example of a response with an image file.

Responses

Successful response
image/webp
JSON
"string"

Samples


Powered by VitePress OpenAPI