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小时制)
性别男/女
ParameterDescription
Date of BirthFormat: YYYY-MM-DD
Time of BirthFormat: HH:mm (24-hour format)
GenderMale/Female

输出格式

Output Format

返回结果示例:
出生:2020-01-01 12:00 男
乾造:庚子 丙戌 壬午 丙午
大运:庚子 辛丑 壬寅 癸卯 甲辰 乙巳 丙午 丁未 戊申 己酉

https://yoebao.com/bazi/detail.html?sex=0&timestamp=1577841600000
出生:1990-06-15 08:30 女
坤造:庚午 壬午 辛亥 癸巳
大运:辛巳 庚辰 己卯 戊寅 丁丑 丙子 乙亥 甲戌 癸酉 壬申

https://yoebao.com/bazi/detail.html?sex=1&timestamp=645409800000
Sample response:
出生:2020-01-01 12:00 男
乾造:庚子 丙戌 壬午 丙午
大运:庚子 辛丑 壬寅 癸卯 甲辰 乙巳 丙午 丁未 戊申 己酉

https://yoebao.com/bazi/detail.html?sex=0&timestamp=1577841600000
Or
出生:1990-06-15 08:30 女
坤造:庚午 壬午 辛亥 癸巳
大运:辛巳 庚辰 己卯 戊寅 丁丑 丙子 乙亥 甲戌 癸酉 壬申

https://yoebao.com/bazi/detail.html?sex=1&timestamp=645409800000

输出说明

Output Description

内容
第1行出生信息(日期、时间、性别)
第2行八字四柱(年柱 月柱 日柱 时柱)
第3行大运(10步大运)
第5行详细排盘链接
LineContent
Line 1Birth information (date, time, gender)
Line 2Four pillars of Bazi (Year Pillar Month Pillar Day Pillar Hour Pillar)
Line 3Great fortune cycles (10 cycles in total)
Line 5Detailed 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:
Compliance note:
  • Current
    yoebao-bazi
    files in this repo are copied from the OpenClaw
    yoebao-bazi
    skill.
  • No direct code/text from
    Wolke/bazi-mingli
    is included in this local copy.
  • If any content from
    Wolke/bazi-mingli
    is merged later, that derived part must comply with CC BY-NC-SA 4.0 (including NonCommercial and ShareAlike terms).
This local copy is sourced from:
Additional upstream noted by user:
Compliance note:
  • Current
    yoebao-bazi
    files in this repo are copied from the OpenClaw
    yoebao-bazi
    skill.
  • No direct code/text from
    Wolke/bazi-mingli
    is included in this local copy.
  • If any content from
    Wolke/bazi-mingli
    is merged later, that derived part must comply with CC BY-NC-SA 4.0 (including NonCommercial and ShareAlike terms).