code: def _image_embedding(emb_op, op_config):
      return (
          pipe.input("url")
          .map("url", "image", ops.image_decode.cv2_rgb())
          .map("image", "vec", emb_op, config=op_config)
      )
  
file_path: towhee/towhee/pipelines/text_image_embedding.py
imports: from typing import Optional, Any
  from pydantic import BaseModel
  from towhee import pipe, ops, AutoPipes, AutoConfig
label_desc: Use image node_id 2 for calling a global function with example usage: _image_embedding(emb_op, op_config) and returns: pipe