A little bit of both.
Here is are some examples: The one on the left, I used a photo for the girl but made up the dragon. The one on the right I made up the girl out of my head but I used a photo for reference with the cat.
I will say most of my newer works are done using photographs as reference.