Javascript Integration

Integrate TTA with Javascript. TTA is compatable with NodeJS, Deno (Deploy), Vercel, Supabase, and more.

Install the TTA SDK

npm i @texttoanything/nodets

Initialize the TTA SDK

import { TextToAnything } from "@texttoanything/nodets";

const TTA = new TextToAnything(/*API token here*/);

SDK functions