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

Imagen support for Google vertex #4088

Open
Godrules500 opened this issue Dec 13, 2024 · 5 comments
Open

Imagen support for Google vertex #4088

Godrules500 opened this issue Dec 13, 2024 · 5 comments
Assignees
Labels
ai/provider enhancement New feature or request

Comments

@Godrules500
Copy link

Feature Description

I wanted to put a request in here for imagen support in google vertex.
https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/imagen-api

Use Cases

Generating Images - Generating images from a text prompt.
Editing Images - Use text prompts and a mask to modify your image's appearance
Upload Image - After you generate watermarked images, you can verify the digital watermark of the novel images.

Additional context

No response

@adolphnov
Copy link

adolphnov commented Dec 21, 2024

Hope for the ability to generate images within custom-defined vertex instances. ❤️ @shaper

image

@shaper
Copy link
Contributor

shaper commented Dec 22, 2024

Hope for the ability to generate images within custom-defined vertex instances. ❤️ @shaper

Hi there, can you give me an example of what you are trying to do in code or with more detail?

The interface above looks like it may be from an older version of the library as the latest includes an image method but I realize I may be missing what you are asking for.

@adolphnov
Copy link

adolphnov commented Dec 22, 2024

The interface above looks like it may be from an older version of the library as the latest includes an image method but I realize I may be missing what you are asking for.

I'm trying to use createVertex to generate a custom instance, invoking the image, rather than relying on the module's default exported vertex instance. My vertex parameters are dynamically sourced from another location, not directly defined as global variables. I've checked the embed method, but it doesn't appear to provide a solution.

@adolphnov
Copy link

That's odd, I updated to the latest version just yesterday. Let me try the new package.😊

@adolphnov
Copy link

adolphnov commented Dec 22, 2024

Hope for the ability to generate images within custom-defined vertex instances. ❤️ @shaper

Hi there, can you give me an example of what you are trying to do in code or with more detail?

The interface above looks like it may be from an older version of the library as the latest includes an image method but I realize I may be missing what you are asking for.

It's working perfectly now after updating to the latest version 12! Thank you so much for your work.

It seems, though, that the embed method hasn't been exported.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ai/provider enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants