API Reference
MaasUnion AI Model API documentation
Overview
MaasUnion provides a set of RESTful APIs that are fully compatible with the OpenAI API format. You can use these interfaces to invoke various AI capabilities.
Online Debugging
Visit the Apifox Playground to test and debug API interfaces online, or browse the API documentation below.
Dedicated APIs
For the latest multimodal generation models, the platform provides dedicated APIs whose request/response format matches the official APIs:
Kling Gateway Overview
Kling dedicated APIs: authentication, path mapping, task query, and quick start.
Kling Omni Video
Dedicated route for Kling OmniVideo (O1 / V3). Supports text/image/video/subject multimodal inputs, multi-shot, sound effects, and instruction-based transforms.
Kling Omni Image
Dedicated route for Kling OmniImage. Supports subject reference, image series, and 1K/2K/4K.
Doubao Video (Seedance)
Volcano Engine Ark Seedance video API. Supports the 1.0/1.5/2.0 family, including multimodal reference, audio video, and draft mode.
Doubao Image (Seedream)
Volcano Engine Ark Seedream image API. Supports text-to-image, series, streaming, web search, plus Seedream 5.0 Pro interactive editing and layer decomposition.
AI Model APIs
AI Model APIs provide access to various AI capabilities and are compatible with the OpenAI API format.
Video
AI video generation interface. Supports native OpenAI-compatible, Kling (including Omni), Sora, Jimeng, Doubao Seedance, and more.
Images
AI image generation interface. Supports native OpenAI, Tongyi Qianwen, Gemini, Kling Omni, Doubao Seedream, and more.
Chat
Conversation completion interface.
Completions
Traditional text completion interface.
Model List
Retrieve a list of available models.
Embeddings
Text embedding vector generation interface.
Rerank
Document reranking interface.
Moderations
Content safety moderation interface. The content safety moderation interface is one of the compliance tools and does not replace the deployer's own safety governance obligations and upstream content policy requirements. Public-facing services should establish abuse reporting, log auditing, and handling mechanisms.
Audio
Speech recognition and speech synthesis interfaces.
Real-time Speech
Real-time audio streaming interface.
Unimplemented
Placeholder interface, not yet implemented.
How is this guide?