Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add venice.ai image generation #1057

Merged
merged 4 commits into from
Dec 14, 2024
Merged

Conversation

proteanx
Copy link
Contributor

@proteanx proteanx commented Dec 14, 2024

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).

image

image

Copy link
Collaborator

@monilpat monilpat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - feel free to add a screenshot if you can

@proteanx
Copy link
Contributor Author

LGTM - feel free to add a screenshot if you can

Added some screenshots.

@monilpat monilpat merged commit 072e11b into elizaOS:develop Dec 14, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants