The show is based on writer Candace Bushnell's column "Intercourse as well as the City" printed in The New York Observer, which was afterwards compiled into a book on the same name. Bushnell has said in several interviews that the Carrie Bradshaw in her columns is her change ego; https://cmdemo.xyz/old/carli_banks_porn_gif.html