Replies: 1 comment
-
You can set the "safe" parameter, if you are using the PollinationsAI provider: from g4f.client import Client
from g4f.Provider import PollinationsAI
client = Client(image_provider=PollinationsAI)
response = client.images.generate(
model="flux",
prompt="a white siamese cat",
safe=True,
)
image_url = response.data[0].url |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
is this possible?
Beta Was this translation helpful? Give feedback.
All reactions