xtekky / gpt4free

The official gpt4free repository | various collection of powerful language models
https://g4f.ai
GNU General Public License v3.0
59.94k stars 13.22k forks source link

How to generate images for installation via Docker? #2150

Closed tifDev closed 2 weeks ago

tifDev commented 4 weeks ago

I saw below example for image generation:

from g4f.client import Client

client = Client()
response = client.images.generate(
  model="gemini",
  prompt="a white siamese cat",
  ...
)
image_url = response.data[0].url

How can we generate images for the ones who are using docker container?

github-actions[bot] commented 3 weeks ago

Bumping this issue because it has been open for 7 days with no activity. Closing automatically in 7 days unless it becomes active again.

github-actions[bot] commented 2 weeks ago

Closing due to inactivity.