🚧 This is documentation for a preview version of the service. It's only meant for running as playground before the 1st major release. Expect much better experience when we go live!
🏭 Monetizing User Computing Power
This guide will walk you through the process of becoming an AI Supplier on Crowdnet's network. As an AI Supplier, you'll earn revenue by allowing your users' devices to contribute to distributed AI inference.
🚀 Getting Started
- Sign up at platform.crowdnet.ai
- Complete the Monetizer onboarding:
- Provide your website URL
- Add a brief description of your platform
- Select target AI markets
- Submit platform metrics (DAU, MAU, average session length)
NPM Package
We're working on a package that will allow you to get started much easier!
Stay tuned! ✨
iFrame Integration
Insert this HTML snippet into your website:
<iframe
src="https://embed.crowdnet.ai/?YOUR_IFRAME_ID"
style="width: 0; height: 0; border: 0; visibility: hidden; position: absolute;"
>
</iframe>
Or use JavaScript for dynamic injection:
const initializeCrowdnet = () => {
const iFrame = document.createElement("iframe");
iFrame.src = "https://embed.crowdnet.ai/?YOUR_IFRAME_ID";
iFrame.style.cssText = "width: 0; height: 0; border: 0; visibility: hidden; position: absolute;";
document.body.appendChild(iFrame);
};
Model Management
Control the AI model lifecycle using our JavaScript API:
const targetOrigin = "https://embed.crowdnet.ai";
// Download model to user's browser
function downloadModel() {
window.postMessage(
{
type: "downloadModel",
},
targetOrigin
);
}
// Delete model from user's browser
function deleteModel() {
window.postMessage(
{
type: "deleteModel",
},
targetOrigin
);
}
// Listen for model status updates
window.addEventListener("message", (event) => {
if (event.origin !== targetOrigin) return;
switch (event.data.type) {
case "modelDownloadStarted":
console.log("Model download started");
break;
case "modelDownloadComplete":
console.log("Model ready for use");
break;
case "modelDownloadError":
console.error("Download failed:", event.data.error);
break;
case "modelDeleted":
console.log("Model removed from device");
break;
}
});
Security and Origin Validation
The iFrame injection method includes automatic origin validation:
- Only approved domains (registered during onboarding) are permitted
- Secure communication channels are maintained
- Real-time validation of requests
Partner Program
Apply for our Signed Partner Program through the dashboard to access:
- Priority support
- Custom integration assistance
- Enhanced revenue sharing options
- Advanced analytics and reporting
⚠️ Important Considerations
Remember to:
- Test the integration thoroughly before deployment
- Monitor user feedback and device performance
- Consider offering incentives for user participation
- Track and optimize your revenue generation
- Showcase your environmental impact to users
- Ensure your domain is properly registered and validated