maximerenou / php-bing-ai

⚠️ Deprecated PHP client for Bing AI (Chat / GPT-4, Image Creator / DALL-E)
MIT License
42 stars 13 forks source link

Feature request: CAPTCHA solver to renew cookie everyday #13

Open armadill opened 1 year ago

armadill commented 1 year ago

today when trying make a image it show Generating... Generation failed

maximerenou commented 1 year ago

Hello,

Did you send a message to Bing Chat (via bing.com) before using your cookie? I just discovered they added a CAPTCHA, so we must validate our cookie on bing.com before using it out there!

armadill commented 1 year ago

yes,, everyday bing make validation. when i use cookie bing send empty respon and have to validate from bing via edge and the cookie works again.. and this happens every day, how to pass this validation ? this applies to chat as well

maximerenou commented 1 year ago

Well, that's a bummer!

I suggest periodically launching a (headless?) controlled browser that visits bing.com/chat with the same cookie. It may suffice to keep it valid for automations like this package.

I'm open to PRs if anybody wants to build a bridge with such a thing.

Greetings