For the complete documentation index, see llms.txt. This page is also available as Markdown.

Proxy AI API Request

Sending anonymous requests to any AI providers API over Anyone socks5 proxy using npm

  1. Install the anyone-client npm package:

npm install @anyone-protocol/anyone-client
  1. Save the code to file sendrequest.js and edit highlighted const variables to match your API.

    1. const API_URL = 'https://inference.asicloud.cudos.org/v1/chat/completions';

    2. const PROVIDER_API_KEY = 'PROVIDER_API_KEY';

    3. const MODEL = 'asi1-mini';

    4. const MESSAGE = 'Hello Anyone!';

  1. Run the script: node sendrequest.js

Last updated