RANDOMX / API
API 控制台
將 RandomX 接入你的應用程式。
RANDOMX / REST
Chinese Cat Names Generator
Generate Chinese names, game handles or themed names with AI.
POST
/api/v1/tools/chinese-cat-names-generator/generate每個 POST 都要帶唯一的 Idempotency-Key。只有在重試相同請求與相同內容時才能沿用。
快速模式下,後續請求傳入相同選項與 batch_id,可繼續同一批次且不重複。每次新的邏輯請求使用新的 Idempotency-Key。
參數
| 字段 | 类型 | 必填 | 預設值 | 可用值 / 範圍 | 說明 |
|---|---|---|---|---|---|
locale | string | 否 | en | en | zh-CN | zh-TW | es | ja | ko | fr | de | pt-BR | vi | id | Response language for generated names and explanations. |
gender | string | 否 | "" | 男 | 女 | 中性 | "" | Gender preference. Empty means any. |
surname | string | 否 | "" | max 80 characters | Optional family name to keep fixed. |
nameStyle | string | 否 | "" | max 80 characters | Style such as classic, elegant, or modern. |
nameInspiration | string | 否 | "" | max 300 characters | Theme or inspiration for the given name. |
customRequirements | string | 否 | "" | max 300 characters | Extra naming requirements. |
wuxing | string | 否 | "" | max 300 characters | Optional five-elements preference. |
birthday | string | 否 | "" | date or text, max 300 characters | Used only as a naming reference. |
repeatNames | string | 否 | "" | max 300 characters | Names to avoid repeating. |
genre | string | 否 | "" | max 300 characters | Game genre for game-name tools. |
platform | string | 否 | "" | max 300 characters | Game platform for game-name tools. |
gameGenre | string | 否 | "" | max 300 characters | Game category for nickname tools. |
nicknameStyle | string | 否 | "" | max 300 characters | Desired nickname tone or style. |
persona | string | 否 | "" | max 300 characters | Player persona used by nickname tools. |
culturalName | string | 否 | 無 | non-empty for generate | Original name to adapt into a Chinese name. |
aionFaction | string | 否 | 無 | Elyos | Asmodian | Any | AION faction preference; not an official game limit. |
aionClass | string | 否 | 無 | Gladiator | Templar | Assassin | Ranger | Sorcerer | Spiritmaster | Cleric | Chanter | Any | AION class preference. |
aionStyle | string | 否 | 無 | Elegant | Dark | Mystic | Heroic | Cute | Any | AION name style. |
aionLength | string | 否 | 無 | short | medium | long | any | Desired AION name length. |
請求範例
使用 AI 直接產生全新內容。依實際回傳筆數計費;任務未完成時可能回傳 202。
请求体
{
"count": 1,
"options": {
"locale": "en",
"nameStyle": "classic"
}
}cURL
curl -X POST 'https://randomx.ai/api/v1/tools/chinese-cat-names-generator/generate' \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Idempotency-Key: your-unique-request-id' \
-H 'Content-Type: application/json' \
-d '{"count":1,"options":{"locale":"en","nameStyle":"classic"}}'回應
响应字段
200 application/json
{
"id": "REQUEST_ID",
"state": "complete",
"batch_id": "BATCH_ID",
"results": [
{
"value": 42
}
],
"charged": 1,
"status": "available",
"delivered_total": 1
}載入中…