Overview
After creating an API key, point base_url at https://lacia.app/v1.
API Keys
Top up
Enter a code you bought or received in a promotion. Credit is added instantly.
WeChat Pay orders
Balance history
Usage
Daily breakdown
Request logs
QQ contact
Turn Lacia into a contact in your QQ: chat with it right in mobile QQ, billed to your Lacia balance. No software to install and no computer that has to stay on.
- Scan with mobile QQ to log in to the QQ Open Platform and click 创建机器人 (Create bot). It is free, up to 5 bots per QQ account.
- Under the bot's 开发设置 (Development settings), copy the AppID and AppSecret and save them under Bot settings.
- On the same page, set 消息接收方式 (message delivery) to HTTP 回调 (HTTP callback), paste the callback URL shown after saving, and subscribe to private messages, group @-messages and friend-add events. Do not turn on the IP allowlist.
- Open mobile QQ, find the bot in your message list and start chatting. Send 清空 to start a new conversation.
Account & settings
Your account number is your login credential. Keep it like a password and never share it.
Admin
Added in front of every request. Callers can't see it, and its tokens are not billed to users. Save an empty box to add nothing; Restore default uses the built-in version. Changes take effect within about 30 seconds.
Check the amount and payment time in your WeChat payment records. Once received, click “Confirm payment” and the user's balance updates immediately.
Users see this QR code when topping up. A WeChat business QR code is recommended.