AI
Pass

How Developers Can Add AI to Any App and Earn Money with AI Pass

How Developers Can Add AI to Any App and Earn Money

You've built an app. Maybe it's a writing tool, a photo editor, or a productivity dashboard. You know AI features would make it better — but integrating AI is a pain.

You'd need to:

  • Set up billing infrastructure
  • Handle API keys for each user
  • Manage usage limits and quotas
  • Deal with payment disputes
  • Support multiple AI providers

That's months of work before you even get to the fun part.

What if you could skip all of that and start earning money from AI features today?

What AI Pass Does for Developers

AI Pass handles the entire AI backend for you. Your users connect their AI Pass wallet (like connecting a payment method), and every AI call goes through our infrastructure. You earn 50% of the commission on every API call your users make.

That means:

  • Zero payment infrastructure — We handle all billing
  • Zero API key management — Users bring their own wallet
  • Revenue from day one — You earn on every AI interaction
  • All major AI models — OpenAI, Claude, Gemini, Flux, and more through one API

How It Works

The integration takes about 15 minutes:

Step 1: Create Your Developer Account

Sign up at aipass.one and go to the Developer Dashboard.

Step 2: Register an OAuth2 Client

Go to OAuth2 Clients in the dashboard and click "+ Register New Client". You'll get a Client ID (looks like client_ODyfE4LD0...) — this identifies your app.

Step 3: Add the SDK

One script tag and a few lines of JavaScript:

<!-- Include the SDK -->
<script src="https://aipass.one/aipass-sdk.js"></script>

<script>
AiPass.initialize({
  clientId: 'YOUR_CLIENT_ID',  // from Developer Dashboard → OAuth2 Clients
  requireLogin: true             // shows login screen automatically
});
</script>

That's the setup. requireLogin: true is the magic — it automatically shows users a login/signup screen when they visit your app. They create an AI Pass account (or log in), get $1 credit, and they're ready to go. No custom auth UI needed.

Step 4: Make AI Calls

Now you can call any AI model with one line:

// Text generation
const result = await AiPass.generateCompletion({
  model: 'openai/gpt-4.1-mini',
  messages: [
    { role: 'system', content: 'You are a helpful writing assistant.' },
    { role: 'user', content: userInput }
  ]
});
const text = result.choices[0].message.content;

// Image generation
const image = await AiPass.generateImage({
  model: 'flux-pro/v1.1',
  prompt: 'A logo for a coffee shop',
  size: '1024x1024'
});
const imageUrl = image.data[0].url;

// Image editing
const edited = await AiPass.editImage({
  model: 'gemini/gemini-3-pro-image-preview',
  prompt: 'Remove the background',
  image: userFile
});

// Text to speech
const audio = await AiPass.generateSpeech({
  model: 'tts-1',
  text: 'Hello world',
  voice: 'nova'
});

// Speech to text
const transcript = await AiPass.transcribeAudio({
  model: 'whisper-1',
  file: audioFile
});

The SDK handles everything — authentication, token refresh, billing, even showing a payment modal when users run low on credits.

Step 5: Share Your App

Your app works on any website. Host it wherever you want — your own domain, GitHub Pages, Vercel, Netlify. The SDK handles the AI backend regardless of where your code lives.

Want easy sharing? Every AI Pass app has an embed button (</> icon, bottom-right corner) that generates an iframe code. Anyone can embed your app on their website with one line of HTML.

You can also optionally publish your app on the AI Pass catalog to get discovered by our users.

The Revenue Model

Here's how you make money:

  1. User makes an AI call through your app
  2. AI Pass charges a small commission on top of the AI provider cost
  3. You get 50% of that commission — automatically

More users = more API calls = more revenue. You don't manage payments, handle refunds, or deal with API costs. We do all of that.

What You Can Build

Anything that uses AI:

  • Writing tools — editors, humanizers, translators, summarizers
  • Image tools — generators, editors, filters, enhancers
  • Audio tools — text-to-speech, transcription, voice changers
  • Productivity — meeting notes, code generators, flashcard makers
  • Fun apps — meme generators, story creators, AI art tools

The SDK supports text generation, image generation, image editing, video generation, text-to-speech, speech-to-text, and embeddings — all through the same simple API.

Who It's For

  • Indie developers who want to add AI without infrastructure headaches
  • WordPress creators building plugins and themes with AI features
  • Vibe coders using Lovable, Replit, or Cursor who want their apps to earn money
  • SaaS builders who want to accelerate their AI roadmap

Resources

Get Started

  1. Sign up (takes 30 seconds)
  2. Create an OAuth2 Client (get your Client ID)
  3. Add the SDK to your app (one script tag)
  4. Start earning on every AI call

Questions? Reach out at info@aipass.one or join our Discord.