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 Livepeer Image Provider #1525

Merged
merged 9 commits into from
Dec 28, 2024

Conversation

Titan-Node
Copy link
Contributor

Relates to:

Risks

Low, only effects users using the new Livepeer provider.

Background

What does this PR do?

Adds Livepeer as a model provider for image generation.

In a separate PR we will be adding the LLM generation for Livepeer provider as well, this is a clean separation with for image gen for now.

What kind of change is this?

Feature that adds functionality, non-breaking.

Documentation changes needed?

Yes, I have a commit with doc changes ready. Will push them after this PR for correct API doc links.

Testing

Where should a reviewer start?

Detailed testing steps

  1. Install and build from scratch to ensure no build errors. There are no new packages added with Livepeer.

  2. Add a free gateway into the .env under LIVEPEER_GATEWAY_URL=
    Here is one for testing https://gateway.livepeer-eliza.com

  3. Set IMAGE_GEN= to TRUE in the .env

  4. Add "imageModelProvider": "livepeer" to your character file.

  5. Run start your character and open up the dialog box with pnpm start:client

  6. Ask it to generate an image, it will show up in the eliza/agent/generatedImages/ folder

Credits

Credit to https://github.com/UD1sto/ (ElizaOS contributor) for doing most the work.

- Updated ModelProviderName.md to include Livepeer as a model provider.
- Added Livepeer model alias in Models.md.
- Included Livepeer gateway URL in quickstart.md and configuration.md.
- Enhanced documentation to guide users on setting up Livepeer models.
@Titan-Node Titan-Node marked this pull request as ready for review December 28, 2024 08:52
@odilitime odilitime added ModelProvider_new New model provider plugin PR Needs Testing labels Dec 28, 2024
@odilitime odilitime changed the title Add Livepeer Image Provider feat: Add Livepeer Image Provider Dec 28, 2024
@odilitime odilitime merged commit 911984a into elizaOS:develop Dec 28, 2024
5 checks passed
@mmfmilton
Copy link

So sick!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ModelProvider_new New model provider plugin PR Needs Testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants