You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@onepunya/onesytex_api

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@onepunya/onesytex_api

FREE REST IS FREE AND OPEN FOR BOT AND OTHER NEEDS

1.5.2
latest
npmnpm
Version published
Weekly downloads
10
-50%
Maintainers
1
Weekly downloads
 
Created
Source
## Onesytex API Client

This is a Node.js client library for interacting with the Onesytex API. It provides methods to access various API endpoints.

## Installation

Install the package using npm:

```bash
npm install @onepunya/onesytex_api

Usage

Here's an example of how to use the client:

const ApiClient = require('@onepunya/onesytex_api');

// Initialize client with base URL
const apiClient = new ApiClient('[invalid URL removed]');

// Example usage of various methods
apiClient.getGeminiMessage('Hai')
  .then(data => {
    console.log('Gemini Message:', data);
  })
  .catch(error => {
    console.error('Error:', error);
  });

// Add more examples...

Available Endpoints

The client provides methods for various Onesytex API functionalities:

  • getGeminiMessage(text): Get a message from Gemini.
  • getGeminiVisionMessage(text, url): Get a visual message from Gemini.
  • postGptConversation(conversation): Post a conversation to GPT-2.
  • getGpt3_5Turbo(text): Get a response from GPT-3.5 Turbo.
  • postBingAiChat(messages): Post chat messages to Bing AI.
  • postImageToAnime(initUrl): Post an image URL to generate an anime image.
  • postRemoveBackgroundV2(imageUrl): Post an image URL to remove its background.
  • getVitsInference(text, modelId): Get VITS inference.
  • getVitsModel(): Get VITS model information.
  • getPixiv(query): Search Pixiv for images.
  • getNekopoiSearch(query): Search Nekopoi for content.
  • getNekopoiLatest(): Get latest updates from Nekopoi.
  • postNekopoiGet(url): Get data from a Nekopoi URL.

More Information

For more details about the Onesytex API and its features, refer to the Onesytex website (https://onesytex.my.id).

Keywords

ai

FAQs

Package last updated on 30 May 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts