repo_description: MLX Omni Server is a local inference server powered by Apple's MLX framework, specifically designed for Apple Silicon (M-series) chips. It implements OpenAI-compatible API endpoints, enabling seamless integration with existing OpenAI SDK clients while leveraging the power of local ML inference.
repo_topics: function-calling genai mlx openai openai-api structured-output stt tools tts
code: from fastapi import APIRouter
  
  from .chat.anthropic import router as anthropic_router
  from .chat.openai import router as chat_router
  from .chat.openai.models import models
  from .embeddings import router as embeddings_router
  from .images import images
  from .stt import stt as stt_router
  from .tts import tts as tts_router
  
  api_router = APIRouter()
  api_router.include_router(stt_router.router)
  api_router.include_router(tts_router.router)
  api_router.include_router(models.router)
  api_router.include_router(images.router)
  api_router.include_router(chat_router.router)
  api_router.include_router(embeddings_router.router)
  api_router.include_router(anthropic_router.router, prefix="/anthropic")
  