logo

Multimodal

Multimodal capabilities depend on the selected model. Confirm currently available multimodal models via GET /v1/models or the console pricing page.

Images

OpenAI-style image generation:

curl https://llmoxy.com/v1/images/generations \
  -H "Authorization: Bearer <LLMOXY_API_KEY>" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "dall-e-3",
    "prompt": "A clean product icon for an LLM gateway",
    "size": "1024x1024",
    "response_format": "url"
  }'

LLMoxy also forwards model-specific image parameters as long as the selected model supports them.

Image editing routes:

POST /v1/images/edits
POST /v1/edits

Audio

Text-to-speech:

curl https://llmoxy.com/v1/audio/speech \
  -H "Authorization: Bearer <LLMOXY_API_KEY>" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "tts-1",
    "input": "Hello from LLMoxy.",
    "voice": "alloy",
    "response_format": "mp3"
  }' \
  --output speech.mp3

Audio transcription and translation use multipart form upload:

POST /v1/audio/transcriptions
POST /v1/audio/translations

Video

OpenAI-compatible video generation:

curl https://llmoxy.com/v1/videos \
  -H "Authorization: Bearer <LLMOXY_API_KEY>" \
  -F model=sora-2 \
  -F prompt="cute cat dance" \
  -F seconds=8

Query status:

curl "https://llmoxy.com/v1/videos/$TASK_ID" \
  -H "Authorization: Bearer <LLMOXY_API_KEY>"

Download content:

curl "https://llmoxy.com/v1/videos/$TASK_ID/content" \
  -H "Authorization: Bearer <LLMOXY_API_KEY>" \
  --output output.mp4

LLMoxy also supports the POST /v1/video/generations JSON video generation interface, as well as vendor-style routes such as Kling and Jimeng. See the console model list for specific supported models.

Realtime

Realtime uses a WebSocket endpoint:

wss://llmoxy.com/v1/realtime?model=gpt-4o-realtime-preview

Server-side clients can use standard auth headers during the handshake; browser clients can use the OpenAI-style subprotocol key format.