Amber Rose will score more than a million bucks from Wiz Khalifa … based on a long prenup she demanded before getting married … TMZ has learned.

Sources connected with both Amber and Wiz tell TMZ … Amber made numerous demands in the prenup … which is more than 8 pages long.

TMZ broke the divorce story … including the fact that Amber wants the prenup enforced. According to TMZ, it’s because she will get more money in her 1-year-marriage than she would without a prenup.

She does have a problem. According to her legal docs, Amber wants spousal support in addition to her million bucks. Our sources say the prenup specifically denies her the right to spousal support, in return for getting the 1-time payout.

Cheating is IRRELEVANT … California is a no-fault state and there’s no mention of infidelity in the document.

Likewise … the prenup does not mention custody, and for good reason — the judge always makes that decision, based on the best interests of the child. Amber is asking for full legal and physical custody.