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

Every Image Generation Model Response PollinationsImage #2747

Open
MominIqbal-1234 opened this issue Feb 23, 2025 · 3 comments
Open

Every Image Generation Model Response PollinationsImage #2747

MominIqbal-1234 opened this issue Feb 23, 2025 · 3 comments

Comments

@MominIqbal-1234
Copy link

i use dall-e-3 but response pollinations url

from g4f.client import Client

client = Client()
response = client.images.generate(
    model="dall-e-3",
    prompt="A haunting, cinematic wide shot of 1920s New York City",
    response_format="url"
)

print(f"Generated image URL: {response.data[0].url}")
https://image.pollinations.ai/prompt/dall-e-3_64878764_A+haunting%2C+cinematic+wide+shot+of+1920s+New+York+City?seed=64878764&width=1024&height=1024&model=dall-e-3&nologo=true&private=false&enhance=false&safe=false
@daniij
Copy link

daniij commented Feb 24, 2025

The provider Polinations AI responds to requests even if the model is not supported; it simply uses the default model.

@MominIqbal-1234
Copy link
Author

you can add other model support

@hlohaus
Copy link
Collaborator

hlohaus commented Feb 26, 2025

g4f hosts ten or more DALL-E 3 providers; however, each requires a valid account. @MominIqbal-1234 @daniij

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants