class_docstr: Example prompts to use with Dall-E and other text-to-image GenAI models.
class_docstr_tok: ["Example","prompts","to","use","with","Dall-E","and","other","text-to-image","GenAI","models","."]
code: def spec(self) -> lit_types.Spec:
      return {"prompt": lit_types.TextSegment()}
  
imports: from lit_nlp.api import dataset
  from lit_nlp.api import types
label_desc: Use image node_id 2 for calling the DallePrompts obj's underlying member method code with example usage: obj.spec() and returns: dict