No, the bail process does not involve the police in any way. Bail amounts are assigned and decided by the judge alone.
For more serious offenses, a judge or magistrate usually has to set bail. This typically involves a formal court hearing where the judge considers various factors, including the nature of the offense, the evidence against the defendant, the defendant’s past criminal record, and whether the defendant poses a flight risk.