You can find the complete swagger definition for the Venice API here: https://api.venice.ai/doc/api/swagger.yaml
Venice’s API implements the OpenAI API specification, ensuring compatibility with existing OpenAI clients and tools. This document outlines how to integrate with Venice using this familiar interface. The image API supports Open AI’s format, but for a full set of options, we also offer a custom Venice API you can utilize.
All API requests must use Venice’s base URL:
Configure your OpenAI client with Venice’s base URL:
/api/v1/models
/api/v1/chat/completions
/api/v1/image/generations
Venice provides default system prompts designed to ensure uncensored and natural model responses. You have two options for handling system prompts:
Default Behavior: Your system prompts are appended to Venice’s defaults
Custom Behavior: Disable Venice’s system prompts entirely
Use the venice_parameters
option to remove Venice’s default system prompts:
Error Handling: Implement robust error handling for API responses
Rate Limiting: Be mindful of rate limits during the beta period
System Prompts: Test both with and without Venice’s system prompts to determine the best fit for your use case
API Keys: Keep your API keys secure and rotate them regularly
While Venice maintains high compatibility with the OpenAI API specification, there are some Venice-specific features and parameters:
venice_parameters: Venice offers additional configurations not available via OpenAI
System Prompts: Different default behavior for system prompt handling
Model Names: Venice provides transformation for some common OpenAI model selection to comparable Venice support models, although it is recommended to review the models available on Venice directly (https://docs.venice.ai/api-reference/endpoint/models/list)
You can find the complete swagger definition for the Venice API here: https://api.venice.ai/doc/api/swagger.yaml
Venice’s API implements the OpenAI API specification, ensuring compatibility with existing OpenAI clients and tools. This document outlines how to integrate with Venice using this familiar interface. The image API supports Open AI’s format, but for a full set of options, we also offer a custom Venice API you can utilize.
All API requests must use Venice’s base URL:
Configure your OpenAI client with Venice’s base URL:
/api/v1/models
/api/v1/chat/completions
/api/v1/image/generations
Venice provides default system prompts designed to ensure uncensored and natural model responses. You have two options for handling system prompts:
Default Behavior: Your system prompts are appended to Venice’s defaults
Custom Behavior: Disable Venice’s system prompts entirely
Use the venice_parameters
option to remove Venice’s default system prompts:
Error Handling: Implement robust error handling for API responses
Rate Limiting: Be mindful of rate limits during the beta period
System Prompts: Test both with and without Venice’s system prompts to determine the best fit for your use case
API Keys: Keep your API keys secure and rotate them regularly
While Venice maintains high compatibility with the OpenAI API specification, there are some Venice-specific features and parameters:
venice_parameters: Venice offers additional configurations not available via OpenAI
System Prompts: Different default behavior for system prompt handling
Model Names: Venice provides transformation for some common OpenAI model selection to comparable Venice support models, although it is recommended to review the models available on Venice directly (https://docs.venice.ai/api-reference/endpoint/models/list)