Submit. Track. Deliver.
A job-based interface for applications that need asynchronous generation and delivery callbacks.
POST /api/v1/generations- Job status and result URLs
- Polling or webhook delivery
- Request metadata and idempotency keys
AI infrastructure for your next product
Build with Gemini, Nano Banana, Veo, and Lyria. Image, text, video, and music generation — one platform, one balance, your workflow.
Prepaid billing. Model-level permissions. Built for server-side integration.
curl https://api.moonez.ai/api/v1/generations \
-H "Authorization: Bearer $MOONEZ_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gemini-3.1-flash-lite-image",
"prompt": "A ceramic cup, studio lighting",
"aspect_ratio": "1:1",
"resolution": "1K"
}'The model catalog
25 models for images, text, video, music, embeddings, and multimodal workflows. Exact API IDs, organized by what you want to create.
Map text, images, PDFs, audio and video into vectors with Gemini Embedding 2.
Per input token, by modality; no output-vector chargeCreate from a prompt or edit an existing image with the Nano Banana family.
Per image, by model and resolutionUse Gemini request formats for text responses, streaming, and token counting.
Per input and output tokengemini-4-argongemini-3.8-flashgemini-3.7-flashgemini-3.6-flashgemini-3.5-flashgemini-3.5-flash-litegemini-3.1-pro-previewgemini-3.1-flash-litegemini-3-flash-previewGenerate short videos with Veo through asynchronous jobs or the Interactions API.
Per second, by model and resolutionAccess Gemini Omni through the Gemini-compatible generateContent API.
Per input and output tokenCreate tracks with Lyria or steer a live audio stream with Lyria RealTime.
Per completed track; RealTime per second of delivered audioAvailability depends on your API key permissions and the model’s provider. See access requirements
Designed for developers
Choose the integration that fits your product. Both APIs use the same key and prepaid balance.
A job-based interface for applications that need asynchronous generation and delivery callbacks.
POST /api/v1/generationsUse Gemini request and response formats with a compatible client or the official Python SDK.
/api/gemini/v1betaSign in, add credit, enable the models you need, and allow your server’s IP in the dashboard.
Use the native jobs API or a Gemini-compatible client with your Moonez.ai key.
Poll native jobs, receive JSON or SSE from supported models, or stream live music over WebSocket.
A balance, not a subscription
Fund your account and use it across models. See the rates assigned to your account before you integrate.
View account pricing Sign-in requiredThe catalog above includes every active platform model, including Gemini 4 Argon, Gemini 3.8 Flash, and Nano Banana 2 Lite. Your API key must have the corresponding permissions. Provider availability can vary.
Explore the model guideYes. Point a compatible client at the Moonez.ai Gemini API and use your Moonez.ai key. The documentation includes the base URL and configuration for the official Python SDK.
Configure your clientThe native API returns a job ID. Gemini-compatible generateContent returns JSON; supported streamGenerateContent calls return SSE. Lyria RealTime uses a bidirectional WebSocket, not SSE. Veo uses asynchronous video jobs.
Understand jobs and resultsMoonez.ai uses a prepaid balance. Images are billed by model and resolution, text and Omni by tokens, and Veo by video duration. Lyria is billed per completed track; RealTime per second of delivered audio. Your account shows your rates. Music calls require a configured price.
Read about billingKeep it on your server, in an environment variable or a secrets manager. Never expose it in browser code or a public repository. Use separate keys and only enable the permissions each application needs.
Read the authentication guideLess setup. More building.