Endpoint
POST /v1/chat/completions
Use the proxy exactly like a chat completions API, then add multimodal content parts as needed.
OpenAI-Compatible Proxy
`oapix` forwards chat completions to your configured upstream, accepts image and audio inputs, converts audio URLs to mp3, and exposes media output as temporary URLs.
POST /v1/chat/completions
Use the proxy exactly like a chat completions API, then add multimodal content parts as needed.
Provide `image_url.url` as an `https` URL, a data URL, or raw base64.
Provide `input_audio.data` plus `format`, or use `input_audio.url` and let the proxy convert it.
Quick Start
{
"model": "gpt-4.1-mini",
"messages": [
{
"role": "user",
"content": [
{ "type": "text", "text": "Describe this image." },
{
"type": "image_url",
"image_url": { "url": "https://example.com/photo.jpg" }
}
]
}
],
"audio": {
"voice": "alloy",
"format": "mp3"
}
}