code: def create_validation(target, args=None, **kwargs):
      args = args["using"]
  
      available_tasks = [
          "remove_text",
          "remove_background",
          "sketch_to_image",
          "text_to_image",
          "replace_background",
          "reimagine",
      ]
  
      if "api_key" not in args:
          raise Exception("api_key has to be specified")
  
      if "task" not in args:
          raise Exception(
              "task has to be specified. Available tasks are - "
              + available_tasks
          )
  
      if args["task"] not in available_tasks:
          raise Exception(
              "Unknown task specified. Available tasks are - "
              + available_tasks
          )
  
      if "local_directory_path" not in args:
          raise Exception("local_directory_path has to be specified")
  
file_path: mindsdb/mindsdb/integrations/handlers/clipdrop_handler/clipdrop_handler.py
imports: from typing import Optional, Dict
  import pandas
  from mindsdb.integrations.handlers.clipdrop_handler.clipdrop import ClipdropClient
  from mindsdb.integrations.libs.base import BaseMLEngine
  from mindsdb.utilities import log
label_desc: Use image node_id 1 for calling the ClipdropHandler obj's underlying member method code with example usage: obj.create_validation(target, args) without return types