Skip to content
New models Claude & GPT are here

AI infrastructure for your next product

From API call
to possibility.

Build with Claude, GPT, Gemini, Nano Banana, Veo, and Lyria. Text, image, video, and music generation — one platform, one balance, your workflow.

Prepaid billing. Model-level permissions. Built for server-side integration.

YOUR PRODUCTMOONEZ.AI / API
example.sh
POST /api/v1/generations
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"
  }'
202 AcceptedPoll the job. Receive the result.

01 / Send a requestNative API · cURL
Image, text & video OpenAI & Gemini-compatible APIs Async jobs & webhooks Usage-based billing

The model catalog

One platform.
More ways to build.

Claude and GPT join 25 Gemini, Nano Banana, Veo, and Lyria models. From conversations to creative workflows, find the right interface for your next idea.

Claude & GPT

One OpenAI-compatible endpoint. Use the same SDK and switch models without changing your integration.

Discover available IDs with GET /v1/models

Embeddings

Map text, images, PDFs, audio and video into vectors with Gemini Embedding 2.

Per input token, by modality; no output-vector charge

Image generation

Create from a prompt or edit an existing image with the Nano Banana family.

Per image, by model and resolution

Video generation

Generate short videos with Veo through asynchronous jobs or the Interactions API.

Per second, by model and resolution

Multimodal

Access Gemini Omni through the Gemini-compatible generateContent API.

Per input and output token

Music generation

Create tracks with Lyria or steer a live audio stream with Lyria RealTime.

Per completed track; RealTime per second of delivered audio

Availability depends on your API key permissions and the model’s provider. See access requirements

Designed for developers

Your workflow.
Not another rewrite.

Choose the integration that fits your product. Every interface uses the same key and prepaid balance.

01 / OpenAI-compatible API

Claude & GPT. One endpoint.

Bring your OpenAI SDK. Build with Claude and GPT through a single base URL and your Moonez.ai key.

https://api.moonez.ai/v1
  • JavaScript and Python SDKs
  • Chat Completions and SSE streaming
  • Model discovery and GPT image generation
Start with the OpenAI SDK
02 / Gemini-compatible API

Keep your client. Change the URL.

Use Gemini request and response formats with a compatible client or the official Python SDK.

/api/gemini/v1beta
  • JSON responses and SSE streaming
  • generateContent and countTokens
  • Key-scoped model discovery
Open the SDK guide
03 / Native jobs API

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
Explore the native API
  1. 01

    Create your API key

    Sign in, add credit, enable the models you need, and allow your server’s IP in the dashboard.

  2. 02

    Send your first request

    Use an OpenAI-compatible SDK, a Gemini client, or the native jobs API with your Moonez.ai key.

  3. 03

    Bring results into your product

    Poll native jobs, receive JSON or SSE from supported models, or stream live music over WebSocket.

A balance, not a subscription

Know what
you’re building on.

Fund your account and use it across models. See the rates assigned to your account before you integrate.

View account pricing Sign-in required
Images
Per image, based on the model and output resolution.
Text & Omni
Input and output tokens are priced separately.
Veo video
Per second, based on the model and video resolution.
Balance & history
Track your available balance and transactions in the dashboard.

Before you build

A few useful
answers.

Visit the documentation
Which models can I use?

Build with Claude, GPT, Gemini, Nano Banana, Veo, and Lyria. Discover the Claude and GPT models available to your key through GET /v1/models. Your API key must have the corresponding permissions. Provider availability can vary.

Explore the model guide
Can I use the OpenAI SDK with Claude and GPT?

Yes. Set the base URL to https://api.moonez.ai/v1 and use your Moonez.ai key. The same OpenAI-compatible interface serves Claude and GPT text models, with GPT image models available through their supported image endpoints. JavaScript and Python examples are in the SDK guide.

Explore the OpenAI SDK guide
Can I use my existing Gemini client?

Yes. 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 client
How do I receive generation results?

OpenAI-compatible chat calls return JSON or SSE directly. The native jobs 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 results
How does billing work?

Moonez.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 billing
Where should I store my API key?

Keep 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 guide

Less setup. More building.

Your next idea starts
with a request.