bazi_basic
Compute a Bazi birth chart (Four Pillars) from birth date and time. Receive pillar stems, hidden stems, ten gods, five-element scores, day master strength, pattern, and spirit markers for Chinese astrology analysis.
Instructions
计算八字命盘(基础排盘)。
输入出生时间,返回完整的八字命盘信息:
四柱(年柱、月柱、日柱、时柱)干支
各柱藏干
十神配置
五行力量分析(360分制)
日主强弱判定
格局识别
神煞标注
输出为结构化文本,便于 AI 分析解读。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | Yes | Birth year (e.g., 1990) | |
| month | Yes | Birth month (1-12) | |
| day | Yes | Birth day (1-31) | |
| hour | Yes | Birth hour in 24-hour format (0-23) | |
| minute | No | Birth minute (0-59) | |
| gender | No | Gender for DaYun calculation direction | male |
| longitude | No | Birth location longitude for true solar time adjustment | |
| isLunar | No | Whether the input date is in lunar calendar (農曆). If true, will be converted to solar calendar internally. | |
| detail | No | Output detail level | standard |
| includeAnalysis | No | Include strength and pattern analysis | |
| includeDaYun | No | Include decade fortune (大運) | |
| targetYear | No | Calculate LiuNian (流年) for this specific year |