跳转到主要内容

Documentation Index

Fetch the complete documentation index at: https://docs.llmgenerator.com/llms.txt

Use this file to discover all available pages before exploring further.

POST /accounts

创建新用户账户。此为公开接口,无需认证。
大多数场景建议用户在网页端 app.llmgenerator.com 注册。本接口主要用于程序化开户。

请求体

email
string
必填
用户邮箱,须唯一。
firstName
string
必填
名字(1–50 个字符)。
lastName
string
姓氏(最多 50 个字符)。
company
string
公司名称(最多 100 个字符)。

响应

success
boolean
账户是否创建成功。
message
string
状态说明。
account
object
创建的账户详情。
apiKey
string
初始 API Key,请妥善保存。
curl -X POST https://api.llmgenerator.com/api/v1/accounts \
  -H "Content-Type: application/json" \
  -d '{
    "email": "user@example.com",
    "firstName": "Jane",
    "lastName": "Doe",
    "company": "Acme Inc"
  }'
{
  "success": true,
  "message": "Account created successfully",
  "account": {
    "id": "user_abc123def456",
    "email": "user@example.com",
    "firstName": "Jane",
    "lastName": "Doe",
    "company": "Acme Inc",
    "plan": "free",
    "createdAt": "2026-01-27T10:00:00.000Z"
  },
  "apiKey": "llm_1706345678_initialkeyabc123"
}