Setting Style iusing HF Inference endpoint

#4
by lehehroi - opened

Am i able to set the Style for this model when using the HF Inference API? I dont see any params where i can set the style.

Cagliostro Research Lab org

Hi, I'm assuming you're talking about our style presets available on our gradio demo.
FYI, the style preset is just some additional prompt.

image.png

You can check the prompts for the style presets here: https://huggingface.co./spaces/Asahina2K/animagine-xl-4.0/blob/main/config.toml

Hello, thanks for the reply! Im currently using the Gradio demo API, it works fine, what im asking is about the HF Inference API . When i try to use the HF inference api for Animagine 4.0, for some reason, even without putting any extra style tags and just uding it normally, its giving me "painting" style generations. There doesnt seem to be any Style_selector or any similar object, so if i dont add any style tags to the prompt it should generate normal (None) style images, but for some reason its not, able to help me with this?

Cagliostro Research Lab org

Yeah, there's no such thing on the inference API. That's why I'm asking you to put the prompt manually...

Sorry if it's sounds confusing.

Sign up or log in to comment