{"openapi":"3.0.3","info":{"title":"FastInfra Inference API","description":"OpenAI-compatible chat completions, LTX-2.5 video generation, Whisper STT, and Kokoro-82M TTS. Automatic cheapest-provider routing for chat; self-hosted media on FastInfra GPUs.","version":"1.0.0"},"servers":[{"url":"https://api.fastinfra.ai/v1"}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","description":"FastInfra API key. X-Api-Key header is also accepted."}}},"paths":{"/chat/completions":{"post":{"summary":"Create a chat completion (OpenAI-compatible; supports stream=true for SSE)","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["model","messages"],"properties":{"model":{"type":"string"},"messages":{"type":"array"},"stream":{"type":"boolean"}}}}}},"responses":{"200":{"description":"Chat completion in the OpenAI response format"}}}},"/models":{"get":{"summary":"List all available models with provider ownership","responses":{"200":{"description":"OpenAI-format model list with total_count"}}}},"/videos/generations":{"post":{"summary":"Submit an LTX-2.5 video job (returns HTTP 202; poll GET /videos/jobs/{id})"}},"/audio/speech":{"post":{"summary":"Kokoro-82M text-to-speech (returns audio/wav)"}}}}