Skip to content

WARNING

!!!已失效!!!

🎉🎉🎉

Congratulations on discovering the hidden documentation of kilo2api. By following the configuration in this documentation, you can make your zero-balance kilo account useful again!

准备材料

  1. kilo2api 镜像版本v1.1.1及以上
  2. gmail (小号!小号!小号!)
  3. 可以绑定stripe的信用卡(不要有余额!有余额就一定要锁消费!或0余额的虚拟卡、或一些Bin(你懂的)等等)

【AFF】虚拟卡平台Infini

开始!

  1. 打开kilocode并登录
  2. 点击Add payment method去绑卡 img.png
  3. 绑卡成功后打开F12开发者工具 -> Console(控制台)
  4. 输入以下命令获取token
    javascript
    document.querySelector('a[href^="vscode://kilocode.kilo-code/kilocode?token="]').href.split('token=')[1]
    img.png
  5. 打开F12开发者工具 -> Application(应用)中查询__Secure-next-auth.session-token获取session-tokenimg.png
  6. token值与session-token值用=连接(示例: eyJhbGciOi******vZ6ZjXsWRYD8IT8SQ=eyJhbGciOiJkaXIiLC********Y1dsTzki2GA),此值即为环境变量KL_COOKIE的值,示例: KL_COOKIE=eyJhbGciOi******vZ6ZjXsWRYD8IT8SQ=eyJhbGciOiJkaXIiLC********Y1dsTzki2GA
  7. 配置新环境变量CHEAT_ENABLED=true
  8. KL_COOKIECHEAT_ENABLED配好后重启服务

Enjoy It!✨

RELEASED UNDER THE MIT LICENSE.