nociza / Bimg

A reverse-engineered Bing Image Creator API as an NPM package
The Unlicense
79 stars 11 forks source link

Requests flagged and blocked #7

Open trekie86 opened 1 year ago

trekie86 commented 1 year ago

I was testing this API since OpenAI removed the free credits for DALL-E. I implemented a request using the generateImagesLinks method and it fails with the following response.

"This prompt has been blocked by Bing. Bing's system flagged this prompt because it may conflict with their content policy. More policy violations may lead to automatic suspension of your access."

I'm not sure if Bing is blocking this request because its determine the origin is not from the browser or something else. The prompt itself was very innocuous so there shouldn't be any restrictions based upon what was requested.

I set the massive cookie in my .env file but still no luck. Any ideas?

nociza commented 1 year ago

Have you tried directly copying and pasting the same prompt into the web version? Sometimes Bing rejects some fairly innocuous prompts (see here #1)

chodak166 commented 1 year ago

I'm having the same issue lately with innocent prompts like "Illustration showing a man eating a red apple, white background". It seems that everything starts working after I send at least one prompt through the bing site (even though the cookie value hasn't changed for weeks). From that point it works through bimg even from a different IP.