djeddi-yacine / brain_fusion

A new package to generate images with AI
https://pub.dev/packages/brain_fusion
BSD 3-Clause "New" or "Revised" License
38 stars 7 forks source link

Is there any API limitations or something like that? #21

Closed Aksoylu closed 1 year ago

Aksoylu commented 1 year ago

I investigated website of FusionBrain.ai for my question but i couldn't get any answers. When i was firstly started the using package; API was returning me images with given prompt but suddenly API started to return null without throwing any errors.

Uint8List? image = await AiService.ImageAi?.runAI(content, AIStyle.oilPainting, Resolution.r1x1);

I mean, this functions returns null for me. And it was working one day ago. I couldn't understand why this is happening. Is there any IP addr or device ID based limitation exist ? Or this is just a server down error ?

achyuth4 commented 1 year ago

No API limitations. because we are running locally using models, so no API Limitations.

djeddi-yacine commented 1 year ago

No API limitations. because we are running locally using models, so no API Limitations.

This is wrong. The API have limitations when choosing styles. But not when generate images

Zabadam commented 1 year ago

This is wrong. The API have limitations when choosing styles. But not when generate images

Can you elaborate on this? Calling AI().runAI() requires an AIStyle. Do you mean that AIStyle.noStyle will have no limit, but any other style does?