feat (provider/venice): Add Venice provider #4414
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Venice Provider Integration
Overview
This PR adds support for Venice, a high-performance AI model provider focused on privacy and security. The integration enables both text and image generation capabilities through Venice's API.
Key Features
Text Generation
llama-3.2-3b
(small but efficient)llama-3.3-70b
(large, powerful)llama-3.1-405b
(very large)dolphin-2.9.2-qwen2-72b
qwen32b
include_venice_system_prompt
parameterImage Generation
fluently-xl
(high-quality generation)flux-dev
(standard content filtering)flux-dev-uncensored
(no content filtering)pony-realism
(specialized for realism)stable-diffusion-3.5
Implementation Details
VENICE_API_KEY
)Example Usage
Text Generation:
Image Generation:
Documentation
Full documentation has been added
/content/providers/01-ai-sdk-providers/45-venice.mdx
Testing (can provide key if needed)
Includes test suite covering:
Dependencies
@ai-sdk/venice
package with minimal dependencies@ai-sdk/openai-compatible
for API compatibility