= pipe.get_label_ids(words)

>>> generator = torch.manual_seed(33)
>>> output = pipe(class_labels=class_ids, num_inference_steps=25, generator=generator)

>>> image = output.images[0]  # label 'white shark'  get_label_ids  < source > ( label: Union  ) → list of int  Parameters   label (str or dict of str) —
Label strings to be mapped to class ids.   Returns 
list of int
  
Class ids to be processed by pipeline.
  Map label strings from ImageNet