Proxy AI API Request
Sending anonymous requests to any AI providers API over Anyone socks5 proxy using npm
Install the anyone-client npm package:
npm install @anyone-protocol/anyone-clientSave the code to file
sendrequest.jsand edit highlightedconstvariables to match your API.const API_URL = 'https://inference.asicloud.cudos.org/v1/chat/completions';const PROVIDER_API_KEY = 'PROVIDER_API_KEY';const MODEL = 'asi1-mini';const MESSAGE = 'Hello Anyone!';
Run the script:
node sendrequest.js

Last updated