SDK Integration

Use Deplora SDK to integrate AI models into your Node.js application.

Requirements

  • Node.js version > 22

Installation

npm install deplora-sdk

Usage

Import and initialize the Deplora client with your API credentials.

import { Deplora } from 'deplora-sdk'

const ai = new Deplora({
  apiKey: 'dep-xxx',
  secretKey: 'lora-xxx'
})

const stats = await ai.stats()
console.log(stats)

Get your API Key and Secret Key from the Dashboard. See Authorization for details.

Next Steps