<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2026"
  xmlns:ffd="http://xbrl.sec.gov/ffd/2026"
  xmlns:iso4217="http://www.xbrl.org/2003/iso4217"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <link:schemaRef
      xlink:href="https://xbrl.sec.gov/ffd/2026/ffd-2026.xsd"
      xlink:type="simple"/>
    <context id="rc">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0002084806</identifier>
        </entity>
        <period>
            <startDate>2026-05-22</startDate>
            <endDate>2026-05-22</endDate>
        </period>
    </context>
    <context id="offrl_1">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0002084806</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>1</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-22</startDate>
            <endDate>2026-05-22</endDate>
        </period>
    </context>
    <context id="offrl_2">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0002084806</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>2</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-22</startDate>
            <endDate>2026-05-22</endDate>
        </period>
    </context>
    <context id="offrl_3">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0002084806</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>3</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-22</startDate>
            <endDate>2026-05-22</endDate>
        </period>
    </context>
    <context id="offrl_4">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0002084806</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>4</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-22</startDate>
            <endDate>2026-05-22</endDate>
        </period>
    </context>
    <context id="offrl_5">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0002084806</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>5</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-22</startDate>
            <endDate>2026-05-22</endDate>
        </period>
    </context>
    <context id="offrl_6">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0002084806</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>6</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-22</startDate>
            <endDate>2026-05-22</endDate>
        </period>
    </context>
    <unit id="USD">
        <measure>iso4217:USD</measure>
    </unit>
    <unit id="pure">
        <measure>pure</measure>
    </unit>
    <ffd:FormTp contextRef="rc" id="ixv-438">F-1</ffd:FormTp>
    <ffd:SubmissnTp contextRef="rc" id="ixv-439">F-1/A</ffd:SubmissnTp>
    <ffd:FeeExhibitTp contextRef="rc" id="ixv-440">EX-FILING FEES</ffd:FeeExhibitTp>
    <ffd:RegnFileNb contextRef="rc" id="ixv-441">333-293260</ffd:RegnFileNb>
    <dei:EntityCentralIndexKey contextRef="rc" id="ixv-442">0002084806</dei:EntityCentralIndexKey>
    <dei:EntityRegistrantName contextRef="rc" id="ixv-443">Gravity AI</dei:EntityRegistrantName>
    <ffd:OfferingTableNa contextRef="rc" id="hiddenrcOfferingTableNa" xsi:nil="true"/>
    <ffd:OffsetTableNa contextRef="rc" id="hiddenrcOffsetTableNa">N/A</ffd:OffsetTableNa>
    <ffd:CombinedProspectusTableNa contextRef="rc" id="hiddenrcCombinedProspectusTableNa">N/A</ffd:CombinedProspectusTableNa>
    <ffd:FormTp contextRef="rc" id="ixv-516">F-1</ffd:FormTp>
    <dei:EntityRegistrantName contextRef="rc" id="ixv-517">Gravity AI</dei:EntityRegistrantName>
    <ffd:PrevslyPdFlg contextRef="offrl_1" id="ixv-518">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="offrl_1" id="ixv-519">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="offrl_1" id="ixv-520">Ordinary Shares, par value $0.0000078125 per share</ffd:OfferingSctyTitl>
    <ffd:Rule457oFlg contextRef="offrl_1" id="ixv-521">true</ffd:Rule457oFlg>
    <ffd:MaxAggtOfferingPric
      contextRef="offrl_1"
      decimals="2"
      id="ixv-522"
      unitRef="USD">11500000.00</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate
      contextRef="offrl_1"
      decimals="7"
      id="ixv-523"
      unitRef="pure">0.0001381</ffd:FeeRate>
    <ffd:FeeAmt
      contextRef="offrl_1"
      decimals="2"
      id="ixv-524"
      unitRef="USD">1588.15</ffd:FeeAmt>
    <ffd:PrevslyPdFlg contextRef="offrl_2" id="ixv-525">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="offrl_2" id="ixv-526">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="offrl_2" id="ixv-527">Underwriter's Warrants</ffd:OfferingSctyTitl>
    <ffd:FeesOthrRuleFlg contextRef="offrl_2" id="ixv-528">true</ffd:FeesOthrRuleFlg>
    <ffd:FeeRate
      contextRef="offrl_2"
      decimals="7"
      id="ixv-529"
      unitRef="pure">0.0001381</ffd:FeeRate>
    <ffd:FeeAmt
      contextRef="offrl_2"
      decimals="2"
      id="ixv-530"
      unitRef="USD">0.00</ffd:FeeAmt>
    <ffd:PrevslyPdFlg contextRef="offrl_3" id="ixv-531">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="offrl_3" id="ixv-532">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="offrl_3" id="ixv-533">Ordinary Shares underlying Underwriter's Warrants</ffd:OfferingSctyTitl>
    <ffd:Rule457oFlg contextRef="offrl_3" id="ixv-534">true</ffd:Rule457oFlg>
    <ffd:MaxAggtOfferingPric
      contextRef="offrl_3"
      decimals="2"
      id="ixv-535"
      unitRef="USD">552000.00</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate
      contextRef="offrl_3"
      decimals="7"
      id="ixv-536"
      unitRef="pure">0.0001381</ffd:FeeRate>
    <ffd:FeeAmt
      contextRef="offrl_3"
      decimals="2"
      id="ixv-537"
      unitRef="USD">76.23</ffd:FeeAmt>
    <ffd:PrevslyPdFlg contextRef="offrl_4" id="ixv-538">true</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="offrl_4" id="ixv-539">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="offrl_4" id="ixv-540">Ordinary Shares, par value $0.0000078125 per share</ffd:OfferingSctyTitl>
    <ffd:Rule457oFlg contextRef="offrl_4" id="ixv-541">true</ffd:Rule457oFlg>
    <ffd:MaxAggtOfferingPric
      contextRef="offrl_4"
      decimals="2"
      id="ixv-542"
      unitRef="USD">17250000.00</ffd:MaxAggtOfferingPric>
    <ffd:FeeAmt
      contextRef="offrl_4"
      decimals="2"
      id="ixv-543"
      unitRef="USD">2382.23</ffd:FeeAmt>
    <ffd:PrevslyPdFlg contextRef="offrl_5" id="ixv-544">true</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="offrl_5" id="ixv-545">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="offrl_5" id="ixv-546">Representative Warrants</ffd:OfferingSctyTitl>
    <ffd:FeesOthrRuleFlg contextRef="offrl_5" id="ixv-547">true</ffd:FeesOthrRuleFlg>
    <ffd:FeeAmt
      contextRef="offrl_5"
      decimals="2"
      id="ixv-548"
      unitRef="USD">0.00</ffd:FeeAmt>
    <ffd:PrevslyPdFlg contextRef="offrl_6" id="ixv-549">true</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="offrl_6" id="ixv-550">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="offrl_6" id="ixv-551">Ordinary Shares underlying Representative Warrants</ffd:OfferingSctyTitl>
    <ffd:Rule457oFlg contextRef="offrl_6" id="ixv-552">true</ffd:Rule457oFlg>
    <ffd:MaxAggtOfferingPric
      contextRef="offrl_6"
      decimals="2"
      id="ixv-553"
      unitRef="USD">828000.00</ffd:MaxAggtOfferingPric>
    <ffd:FeeAmt
      contextRef="offrl_6"
      decimals="2"
      id="ixv-554"
      unitRef="USD">114.35</ffd:FeeAmt>
    <ffd:TtlOfferingAmt contextRef="rc" decimals="2" id="ixv-555" unitRef="USD">30130000.00</ffd:TtlOfferingAmt>
    <ffd:TtlFeeAmt contextRef="rc" decimals="2" id="ixv-556" unitRef="USD">4160.96</ffd:TtlFeeAmt>
    <ffd:TtlPrevslyPdAmt contextRef="rc" decimals="2" id="ixv-557" unitRef="USD">2496.58</ffd:TtlPrevslyPdAmt>
    <ffd:TtlOffsetAmt contextRef="rc" decimals="2" id="ixv-558" unitRef="USD">0.00</ffd:TtlOffsetAmt>
    <ffd:NetFeeAmt contextRef="rc" decimals="2" id="ixv-559" unitRef="USD">1664.38</ffd:NetFeeAmt>
    <ffd:OfferingNote contextRef="offrl_1" id="ixv-560">Estimated solely for the purpose of calculating the amount of the registration fee in accordance with Rules 457(o) under the Securities Act of 1933, as amended (the "Securities Act") based on the estimate of the proposed maximum aggregate offering price. Includes the shares that the underwriters have the option to purchase to cover over-allotments, if any.</ffd:OfferingNote>
    <ffd:OfferingNote contextRef="offrl_2" id="ixv-561">No separate registration fee required pursuant to Rule 457(g) under the Securities Act. </ffd:OfferingNote>
    <ffd:OfferingNote contextRef="offrl_3" id="ixv-562">Estimated for the purpose of calculating the amount of the registration fee in accordance with Rules 457(o) under the Securities Act. The proposed maximum offering price of the Ordinary Shares issuable upon exercise of warrants to purchase Ordinary Shares issuable to the representative of the several underwriters is $1,380,000, which is equal to 120% of $1,150,000 (which is 4.0% of the proposed maximum aggregate offering price of $28,750,000).</ffd:OfferingNote>
    <ffd:OfferingNote contextRef="offrl_4" id="ixv-563">Estimated solely for the purpose of calculating the amount of the registration fee in accordance with Rules 457(o) under the Securities Act of 1933, as amended (the "Securities Act") based on the estimate of the proposed maximum aggregate offering price. Includes the shares that the underwriters have the option to purchase to cover over-allotments, if any.</ffd:OfferingNote>
    <ffd:OfferingNote contextRef="offrl_5" id="ixv-564">No separate registration fee required pursuant to Rule 457(g) under the Securities Act. </ffd:OfferingNote>
    <ffd:OfferingNote contextRef="offrl_6" id="ixv-565">Estimated for the purpose of calculating the amount of the registration fee in accordance with Rules 457(o) under the Securities Act. The proposed maximum offering price of the Ordinary Shares issuable upon exercise of warrants to purchase Ordinary Shares issuable to the representative of the several underwriters is $1,380,000, which is equal to 120% of $1,150,000 (which is 4.0% of the proposed maximum aggregate offering price of $28,750,000). </ffd:OfferingNote>
</xbrl>
