bazi
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinese八字排盘 🔮
Bazi (Four Pillars of Destiny) Chart Generation 🔮
根据出生时间排出八字(年柱、月柱、日柱、时柱)及大运信息。
Generate Bazi (Year Pillar, Month Pillar, Day Pillar, Hour Pillar) and great fortune cycle information based on birth time.
使用方式
Usage
基本命令
Basic Commands
排出八字 2020-01-01 12:00 男
排出八字 1990-06-15 08:30 女排出八字 2020-01-01 12:00 男
排出八字 1990-06-15 08:30 女参数说明
Parameter Description
| 参数 | 说明 |
|---|---|
| 出生日期 | 格式:YYYY-MM-DD |
| 出生时间 | 格式:HH:mm(24小时制) |
| 性别 | 男/女 |
| Parameter | Description |
|---|---|
| Date of Birth | Format: YYYY-MM-DD |
| Time of Birth | Format: HH:mm (24-hour format) |
| Gender | Male/Female |
输出格式
Output Format
返回结果示例:
出生:2020-01-01 12:00 男
乾造:庚子 丙戌 壬午 丙午
大运:庚子 辛丑 壬寅 癸卯 甲辰 乙巳 丙午 丁未 戊申 己酉
https://yoebao.com/bazi/detail.html?sex=0×tamp=1577841600000或
出生:1990-06-15 08:30 女
坤造:庚午 壬午 辛亥 癸巳
大运:辛巳 庚辰 己卯 戊寅 丁丑 丙子 乙亥 甲戌 癸酉 壬申
https://yoebao.com/bazi/detail.html?sex=1×tamp=645409800000Sample response:
出生:2020-01-01 12:00 男
乾造:庚子 丙戌 壬午 丙午
大运:庚子 辛丑 壬寅 癸卯 甲辰 乙巳 丙午 丁未 戊申 己酉
https://yoebao.com/bazi/detail.html?sex=0×tamp=1577841600000Or
出生:1990-06-15 08:30 女
坤造:庚午 壬午 辛亥 癸巳
大运:辛巳 庚辰 己卯 戊寅 丁丑 丙子 乙亥 甲戌 癸酉 壬申
https://yoebao.com/bazi/detail.html?sex=1×tamp=645409800000输出说明
Output Description
| 行 | 内容 |
|---|---|
| 第1行 | 出生信息(日期、时间、性别) |
| 第2行 | 八字四柱(年柱 月柱 日柱 时柱) |
| 第3行 | 大运(10步大运) |
| 第5行 | 详细排盘链接 |
| Line | Content |
|---|---|
| Line 1 | Birth information (date, time, gender) |
| Line 2 | Four pillars of Bazi (Year Pillar Month Pillar Day Pillar Hour Pillar) |
| Line 3 | Great fortune cycles (10 cycles in total) |
| Line 5 | Detailed Bazi chart link |
术语说明
Term Explanation
- 乾造:男性八字
- 坤造:女性八字
- 大运:每步大运约管 10 年,共 10 步
- Qian Zao: Male Bazi
- Kun Zao: Female Bazi
- Da Yun (Great Fortune): Each great fortune cycle lasts around 10 years, 10 cycles in total
注意事项
Notes
- 需要提供完整的年月日时分
- 性别影响输出(乾造=男性,坤造=女性)
- 八字按年、月、日、时四柱排列
- 大运从天干地支序数计算得出
- 返回链接可直接查看详细排盘
- 时间戳为 JavaScript 毫秒级格式
- Complete year, month, day, hour and minute are required
- Gender affects the output (Qian Zao = Male, Kun Zao = Female)
- Bazi is arranged by four pillars: year, month, day, hour
- Great fortune cycles are calculated from the ordinal numbers of Heavenly Stems and Earthly Branches
- The returned link can be used to view the detailed Bazi chart directly
- The timestamp is in JavaScript millisecond format
常见问题
FAQ
Q: 如何计算八字?
A: 八字基于中国传统的干支历法,年柱、月柱、日柱、时柱各取两字,共八个字。
Q: 子时、丑时如何处理?
A: API 会根据实际时间自动计算对应的时辰。
Q: 大运如何计算?
A: 大运从天干地支序数计算,天干 sn%10,地支 sn%12。
Q: How is Bazi calculated?
A: Bazi is based on traditional Chinese sexagenary cycle calendar. The year, month, day and hour pillars each take two characters, totaling eight characters.
Q: How are Zi Shi, Chou Shi and other traditional Chinese hours handled?
A: The API will automatically calculate the corresponding traditional Chinese hour based on the actual time.
Q: How are great fortune cycles calculated?
A: Great fortune cycles are calculated from the ordinal numbers of Heavenly Stems and Earthly Branches: Heavenly Stem = sn%10, Earthly Branch = sn%12.
License & Attribution
License & Attribution
This local copy is sourced from:
Additional upstream noted by user:
- https://github.com/Wolke/bazi-mingli (CC BY-NC-SA 4.0)
Compliance note:
- Current files in this repo are copied from the OpenClaw
yoebao-baziskill.yoebao-bazi - No direct code/text from is included in this local copy.
Wolke/bazi-mingli - If any content from is merged later, that derived part must comply with CC BY-NC-SA 4.0 (including NonCommercial and ShareAlike terms).
Wolke/bazi-mingli
This local copy is sourced from:
Additional upstream noted by user:
- https://github.com/Wolke/bazi-mingli (CC BY-NC-SA 4.0)
Compliance note:
- Current files in this repo are copied from the OpenClaw
yoebao-baziskill.yoebao-bazi - No direct code/text from is included in this local copy.
Wolke/bazi-mingli - If any content from is merged later, that derived part must comply with CC BY-NC-SA 4.0 (including NonCommercial and ShareAlike terms).
Wolke/bazi-mingli