← Back to MCP Servers
▓▓▓▓
▓AI▓
▓▓▓▓
████

Premium AI Model API

v1.0.0AI ServicesTools 4 actions

SERVER URL

http://localhost:3000/api/mcp-server/premium-ai-models

CONNECTION JSON

{
  "mcpServers": {
    "premium-ai-models": {
      "command": "npx",
      "args": [
        "mcp-remote@latest",
        "http://localhost:3000/api/mcp-server/premium-ai-models"
      ]
    }
  }
}

Learn more about supported MCP clients

MCP HOST CONNECTIONS

Connect this MCP server directly to your AI assistant tools by using the JSON config above. Click on a logo to see a demo video.

╔═══╗
║ ▸ ║
║ │ ║
╚═══╝
CursorWatch demo
┌───┐
│ C │
│ L │
└───┘
ClaudeWatch demo

DESCRIPTION

Pay-per-use access to premium AI models including GPT-4, Claude 3, Stable Diffusion XL, and Whisper. Uses x402 protocol for micropayments - only pay for what you use. No subscriptions, no API key management.

AVAILABLE TOOLS

x402_check_access

Check payment status and available credits

generate_text

Generate text with GPT-4 or Claude (requires x402 payment)

generate_image

Generate images with Stable Diffusion (requires x402 payment)

transcribe_audio

Transcribe audio with Whisper (requires x402 payment)

CODE EXAMPLES

JavaScript
// Premium AI Models with x402 Payments
import { Client } from '@modelcontextprotocol/sdk';

const client = new Client();
await client.connect('https://ai-models.x402.app/mcp');

// Check access (returns payment requirements if needed)
const access = await client.callTool({
  name: 'x402_check_access',
  arguments: { wallet: 'YourWallet...' }
});

// Generate text (auto-pays via x402)
const result = await client.callTool({
  name: 'generate_text',
  arguments: {
    model: 'gpt-4',
    prompt: 'Analyze this market data',
    wallet: 'YourWallet...'
  }
});

Official MCP SDK Documentation:
https://github.com/modelcontextprotocol/modelcontextprotocol

Installation:
npm install @modelcontextprotocol/sdk

Authentication:
- For MCP Hosts (Cursor, Windsurf, Claude Desktop), saving the JSON config to your tool will automatically trigger the browser OAuth flow
- For programmatic access, obtain the OAuth token by running "npx mcp-remote <url>" in the terminal and follow the instructions

x4