AI
Pass

Build an AI Product Description Generator with AI Pass SDK

E-commerce tools are high-value and always in demand. Here's how to build a product description generator using AI Pass SDK that creates complete, platform-optimized listings.

What You'll Build

A tool where users enter product details and get a complete listing: title, description, bullet points, and SEO keywords — optimized for their selling platform.

Prerequisites

  1. Create an AI Pass account at aipass.one
  2. Verify your email (required for payouts)
  3. Create an OAuth2 Client from Developer Dashboard → OAuth2 Clients
  4. Copy your Client ID — looks like client_XXXX (NOT your app slug!)

Core Code

<script src="https://aipass.one/aipass-sdk.js"></script>
<script>
AiPass.initialize({
  clientId: 'YOUR_CLIENT_ID', // from Developer Dashboard → OAuth2 Clients
  requireLogin: true,
  darkMode: true
});

async function generateDescription(product, features, platform, tone, audience) {
  const r = await AiPass.generateCompletion({
    model: 'openai/gpt-4.1-mini',
    messages: [
      {
        role: 'system',
        content: `Write a ${tone} product description for ${platform}. Include:
1. TITLE: SEO-optimized product title
2. SHORT DESCRIPTION: 1-2 sentence hook (under 160 chars)
3. FULL DESCRIPTION: 150-250 words, benefit-focused
4. BULLET POINTS: 5-6 key selling points
5. SEO KEYWORDS: 8-10 relevant search terms
${audience ? 'Target audience: ' + audience : ''}`
      },
      { role: 'user', content: `Product: ${product}\nFeatures: ${features}` }
    ]
  });
  
  return r.choices[0].message.content;
}
</script>

Deploy Your App

Option A: Self-Host — Host the HTML file on your own server, GitHub Pages, Netlify, Vercel, or anywhere you want. The SDK handles all AI Pass authentication and billing. Your app, your domain, your rules.

Option B: Publish on AI Pass — Submit to the AI Pass catalog at aipass.one/apps. Get a dedicated page, discoverability, and use the embed feature (</> button) to iframe it into any website.

Revenue Model

Users pay per generation. You earn 50% commission on every API call. No API keys to manage, no billing to build.

Perfect for e-commerce platforms, dropshipping tools, or content agencies.

See the live product description generator. Full SDK at aipass.one/aipass-sdk.js.