Quick Start
Jump into using Mountsea AI’s API with our Quick Start guide. Learn how to get your API key and make your first API call!What You Need
- A Mountsea AI platform account (Sign up here)
- An API key
Get Your API Key
1
Sign Up
Sign up for Mountsea AI at shanhaiapi.com.
2
Create API Key
Go to the API Keys page and click Create New Key. Enter a unique name for your key and click Save.
3
Copy Your Key
On the API Keys page, click the copy icon next to your key to copy it to your clipboard.
Configure Your HTTP Request
All API requests require authentication via Bearer token:https://api.mountsea.ai
Quick Examples
⚡ Hub — One Endpoint, Many Premium Models
Hub aggregates premium AI models behind a single uniform API. Flagship-quality outputs, production-grade stability, at a discount versus the official price. Switch models by simply changing themodel field.
🎬 Generate Video with Gemini (Veo 3.1)
Step 1: Create a video generation task
Step 2: Poll for task result
Use the returnedtaskId to check the generation status:
🖼️ Generate Image with Gemini (Nano Banana)
/gemini/task/result?taskId=your-task-id to get the generated image.
Available image models:
nano-banana-fast, nano-banana-pro (supports 1K/2K/4K resolution), nano-banana-2 (supports extended aspect ratios).🚧 Sora2 — Currently Unavailable
🎵 Generate Music with Suno
Step 1: Create a music generation task
Step 2: Poll for task status
🎹 Generate Music with Producer
Step 1: Create a music generation task
Step 2: Poll for task result
💬 Chat with LLM (OpenAI Compatible)
Use the OpenAI SDK directly — just change thebase_url:
- Python
- Node.js
- cURL
💬 Use Claude Code
Configure environment variables to use Claude Code with our API:Async Task Pattern
Most generation services (Hub, Gemini, OpenAI, XAI, Suno, ElevenLabs, Producer) follow an async task pattern:Next Steps
Now that you’ve made your first API call, explore more features:- API Introduction — Full overview of all services
- Hub Premium AI Gateway — One endpoint, many premium models (Nano Banana, Veo 3.1, Kling v3, WAN 2.7, Seedance 2.0, ElevenLabs Music, …)
- Gemini Video & Image — Veo 2/3/3.1 video & Nano Banana image generation
- Gemini Compat (Official SDK) — Use Google’s
@google/genaiSDK with Mountsea - 🚧 Sora2 Video — currently unavailable
- XAI (Grok) — Grok image & video generation
- OpenAI GPT Image — GPT Image 2 generation & editing (async + official
openaiSDK compat) - Suno Music — Music generation, voice persona, custom models, and audio processing
- ElevenLabs Music — AI music with composition plans, video scoring, and stems
- Producer Music — AI music generation with Lyria 3 Pro
- Chat LLM Gateway — Multi-protocol AI chat with Claude Code support
Need Help?
If you run into any issues:- Check our detailed API Documentation for endpoint specs
- Contact our Support Team for assistance
- Review the API Introduction for a comprehensive feature overview
Ready to build amazing AI-powered applications? Start creating with Mountsea AI today!