feat: add venice.ai image generation #1057
Merged
+49
−4
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.
Relates to:
Second portion of Venice.ai model provider api: adding image generation.
Risks
Very low, just adds the ability to use the imageGeneration plugin with the venice api
Background
Venice.ai is a private AI platform that offers uncensored interactions, storing user data only in the browser. It supports document uploads, including PDFs, and features an image generation mode available to all users, allowing them to create images.
What does this PR do?
Adds the ability to use the Venice AI API for image generation.
What kind of change is this?
Features (non-breaking change which adds functionality)
Documentation changes needed?
These changes don't require updates to the documentation. If there is a section that lists the available providers for image generation I will find and submit a PR adding it.
Testing
Where should a reviewer start?
Add venice API key. Load a character with images enabled (add imageSettings section). Load character (pnpm start --characters=/path/to/character) and then ask your agent to generate an image.
Detailed testing steps
Load a character with images enabled (add imageSettings section). Load character (pnpm start --characters=/path/to/character) and then ask your agent to generate an image.
Screenshots
Some screens (with extra logging I took out before PR).