Chimoney + Hugging Face Integration

Add payment capabilities to Hugging Face models. Enable autonomous purchases for data and compute.

What You Can Do

API Integration (Alternative)

If you prefer direct API integration instead of Hugging Face, here's a quick example:

// Create agent wallet via API
const response = await fetch('https://api.chimoney.io/v0.2/wallets', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_KEY',
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    name: 'Hugging FaceAgent',
    dailyLimit: 100,
    currency: 'USD'
  })
});

const wallet = await response.json();
console.log('Agent wallet created:', wallet);