Как генерировать reCaptcha challenge?

Есть код

def gen_captcha():
  val = "".join(random.choices(string.ascii_uppercase + string.ascii_lowercase + "_-", k=462)).replace("--", "-")
  return val

Но при запросе с этой капчой, получаю ошибку Invalid captcha, please try again., можно ли его вообще генерировать?

upd. Пишу авторег для aminoapps.com

headers = {
    "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.159 Safari/537.36",
    "x-requested-with": "xmlhttprequest",
  }

email = input('Input Email\n>>>')

def gen_captcha():
  val = "".join(random.choices(string.ascii_uppercase + string.ascii_lowercase + "_-", k=462)).replace("--", "-")
  return val

def startreq():
  data = {
    'email': email
  }
  x = requests.post('https://aminoapps.com/api/register-check',json=data,headers=headers)
  return x

def sendrefcode():
  data = {
    'identity': email,
    'recaptcha_challenge':gen_captcha(),
    'type': '1',
    'verifyInfoKey': None
  }
  x = requests.post('https://aminoapps.com/api/auth/request-security-validation',json=data,headers=headers)
  return x

print(startreq())
print(sendrefcode().text)

Ответы (0 шт):