code: def post_http_request(
      prompt: str,
      api_url: str,
      n: int = 1,
      max_tokens: int = 100,
      temperature: float = 0.0,
      stream: bool = False,
  ) -> requests.Response:
      headers = {"User-Agent": "Test Client"}
      pload = {
          "prompt": prompt,
          "n": 1,
          "use_beam_search": False,
          "temperature": temperature,
          "max_tokens": max_tokens,
          "stream": stream,
      }
      response = requests.post(
          api_url, headers=headers, json=pload, stream=True, timeout=3
      )
      return response
  
imports: import json
  from typing import List
  import requests
label_desc: Use image node_id 1 for calling a global function with example usage: post_http_request(prompt, api_url, n, max_tokens, temperature, stream) and returns: response