venice-dev-tools

Venice Dev Tools Documentation

Welcome to the Venice Dev Tools documentation. This SDK provides a simple, intuitive interface for interacting with the Venice AI API.

Getting Started

The Venice Dev Tools allows you to interact with the Venice AI API, which provides access to powerful AI models for text generation, image creation, and more.

Installation

Install the Venice Dev Tools SDK using npm:

# Install the complete SDK (includes all packages)
npm install venice-dev-tools

# Or install individual packages
# Node.js only
npm install @venice-dev-tools/node

# Browser only
npm install @venice-dev-tools/web

# Core functionality only
npm install @venice-dev-tools/core

Or install globally to use the CLI:

npm install -g @venice-dev-tools/node

Authentication

The Venice Dev Tools requires an API key for authentication. You can obtain an API key from the Venice AI website.

const venice = new VeniceNode({
  apiKey: 'your-api-key',
});

For CLI usage, configure your API key:

venice configure

Basic Usage

Here’s a simple example to get you started:

import { VeniceNode } from '@venice-dev-tools/node';

// Initialize the client
const venice = new VeniceNode({
  apiKey: 'your-api-key',
});

// Generate a chat completion
async function generateChatCompletion() {
  const response = await venice.chat.createCompletion({
    model: 'llama-3.3-70b',
    messages: [
      { role: 'system', content: 'You are a helpful assistant' },
      { role: 'user', content: 'Tell me about AI' }
    ]
  });
  
  console.log(response.choices[0].message.content);
}

generateChatCompletion();

Documentation Sections

API Reference

Detailed documentation for all API resources and endpoints.

CLI Reference

Documentation for the command-line interface.

  • Installation and Configuration
  • Available Commands
  • Advanced Usage
  • Examples

Special Features

Character Interaction

Learn how to interact with AI characters - predefined personalities that can enhance your conversational experiences.

Code Examples

Explore practical code examples for using the Venice Dev Tools SDK.

Troubleshooting

Common issues and solutions to help you resolve problems with the SDK.

Command Line Interface

Try our CLI for quick access to Venice AI capabilities

npm install -g venice-dev-tools
venice chat "Tell me about AI"
View CLI Documentation Explore Code Examples

Features

Privacy-First Approach

Venice AI offers unparalleled privacy advantages over other AI providers:

As Venice states: “You don’t have to protect what you do not have.”