Welcome to the Venice Dev Tools documentation. This SDK provides a simple, intuitive interface for interacting with the Venice AI API.
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.
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
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
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();
Detailed documentation for all API resources and endpoints.
Documentation for the command-line interface.
Advanced usage and concepts.
Code examples for common use cases.
Learn how to interact with AI characters - predefined personalities that can enhance your conversational experiences.
Explore practical code examples for using the Venice Dev Tools SDK.
Common issues and solutions to help you resolve problems with the SDK.
npm install -g venice-dev-tools
venice chat "Tell me about AI"
View CLI Documentation
Explore Code Examples
Venice AI offers unparalleled privacy advantages over other AI providers:
As Venice states: “You don’t have to protect what you do not have.”