Build a AI Resume Writer with AI Pass SDK
Build a AI Resume Writer with AI Pass SDK
Want to add professional resumes functionality to your app or website? With the AI Pass SDK, you can build a fully working ai resume writer in under an hour — and earn 50% commission on every API call your users make.
What You'll Build
A web-based ai resume writer that:
- Lets users write professional resumes
- Handles authentication automatically (no custom login UI needed)
- Manages billing — users pay per use, you earn commission
- Works on any website via iframe embed
Prerequisites
- An AI Pass account (sign up if you haven't)
- Basic HTML/JavaScript knowledge
Step 1: Create an OAuth2 Client
- Go to your Developer Dashboard
- Navigate to OAuth2 Clients
- Click Create Client
- Note your Client ID (looks like
client_ODyfXx...— this is NOT your app slug!)
Your Client ID is how AI Pass tracks API usage and calculates your commission.
Step 2: Set Up the SDK
Add the AI Pass SDK to your HTML:
<!DOCTYPE html>
<html>
<head>
<title>AI Resume Writer</title>
<script src="https://aipass.one/aipass-sdk.js"></script>
</head>
<body>
<div id="app">
<!-- Your UI here -->
</div>
<script>
AiPass.initialize({
clientId: 'YOUR_CLIENT_ID',
requireLogin: true
});
</script>
</body>
</html>
Setting requireLogin: true means the SDK automatically shows a login screen when users first visit — no custom auth UI needed.
Step 3: Build the Core Feature
Here's the key part — making the AI call:
async function generate() {
try {
const result = await AiPass.generateCompletion({
model: 'gpt-5-mini',
messages: [
{ role: 'system', content: `You are a professional resume writer. Given a person's experience, skills, and target role, create a polished, ATS-friendly resume section. Use strong action verbs, quantify achievements, and tailor c` },
{ role: 'user', content: userInput }
]
});
const text = result.choices[0].message.content;
document.getElementById('result').innerText = text;
} catch (error) {
console.error('Generation failed:', error);
}
}
The model gpt-5-mini is optimized for this use case.
Step 4: Deploy
You have two options:
Option A: Host it yourself — Deploy to GitHub Pages, Netlify, Vercel, or your own server. The SDK handles all billing and auth.
Option B: Embed anywhere — Any published AI Pass app has a </> button (bottom-right corner) that gives you an iframe embed code. Drop it into any website.
You can also optionally publish your app on the AI Pass catalog to get more visibility.
How You Earn Money
Every time a user makes an API call through your app, AI Pass charges a small commission. You earn 50% of that commission. No caps, no limits — the more your app is used, the more you earn.
Example: If your app gets 10,000 API calls per month, that's real passive income just from building a useful tool.
Full Working Example
<!DOCTYPE html>
<html>
<head>
<title>AI Resume Writer</title>
<script src="https://aipass.one/aipass-sdk.js"></script>
<style>
body { font-family: sans-serif; max-width: 600px; margin: 40px auto; padding: 0 20px; }
textarea, input { width: 100%; padding: 10px; margin: 10px 0; }
button { padding: 10px 20px; background: #16A085; color: white; border: none; cursor: pointer; border-radius: 4px; }
#result { margin-top: 20px; white-space: pre-wrap; background: #f5f5f5; padding: 15px; border-radius: 4px; }
</style>
</head>
<body>
<h1>AI Resume Writer</h1>
<textarea id='userInput' rows='4' placeholder='Describe what you need...'></textarea>
<button onclick="generate()">Generate</button>
<div id="result"></div>
<script>
AiPass.initialize({
clientId: 'YOUR_CLIENT_ID',
requireLogin: true
});
async function generate() {
document.getElementById('result').innerText = 'Generating...';
try {
const userInput = document.getElementById('userInput').value;
const result = await AiPass.generateCompletion({
model: 'gpt-5-mini',
messages: [
{ role: 'system', content: `You are a professional resume writer. Given a person's experience, skills, and target role, create a polished, ATS-friendly resume section. Use strong action verbs, quantify achievements, and tailor c` },
{ role: 'user', content: userInput }
]
});
const text = result.choices[0].message.content;
document.getElementById('result').innerText = text;
} catch (err) {
document.getElementById('result').innerText = 'Error: ' + err.message;
}
}
</script>
</body>
</html>
Replace YOUR_CLIENT_ID with your actual Client ID from the Developer Dashboard → OAuth2 Clients.
Next Steps
- Try the live AI Resume Writer
- Read the user guide
- Check the agent skill docs for API integration
The AI Pass SDK handles authentication, billing, and payments so you can focus on building great tools. Start building and earning today.