JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 9
  • Score
    100M100P100Q50858F
  • License Apache-2.0

A package to interact with the api from TuringAI (turing.sh) and access the most powerful AI models in the world.

Package Exports

  • turing.sh
  • turing.sh/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (turing.sh) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

turing.sh

Discord npm npm bundle size

The official library to interact with TuringAPI using javascript or typescript.

Check our docs at docs.turing.sh

How to get an API key

Go to our discord server, then go to the applications channel where you can apply for an API key. Please take the applications seriously, we will not accept applications that are not serious.

Installation

npm install turing.sh

Usage

import { Text, Image, Audio } from "turing.sh";

const text = new Text({
  apiKey: "YOUR_API_KEY",
  captchaKey: "YOUR_CAPTCHA_KEY",
});

const gptAnswer = await text.gpt({
  messages: [
    {
      role: "user",
      content: "Hello, how are you?",
    },
  ],
});