Conversation so far:
Did GIlliam direct The imaginarium?
The Imaginarium of Doctor Parnassus, directed and co-written by Gilliam.

Question: Who did he co-write with?
Self-contained rewrite: Who did Gilliam co-write The Imaginarium with?