The paid "dragon" model of https://play.aidungeon.io/ is a great way to tinker with a modified version of the model. I believe there is still a trial.
I suggest making a custom prompt. Have the prompt be something to the extent of "you are a programmer with a computer that answers your questions" and things like "this room has no doors and nobody comes in or out.
Input: What is the command to list hidden files in a directory?
Output: ls -a
Input:"
It's a great way to get an idea of how it works until the API access goes through.
Edit: Turn the "Randomness" slider down and adjust the amount of words to output for results to your liking!