code: def launch_api(
      opyrator_path: str, port: int = 8501, host: str = "0.0.0.0"
  ) -> None:
      import uvicorn
  
      from opyrator import Opyrator
      from opyrator.api import create_api
  
      app = create_api(Opyrator(opyrator_path))
      uvicorn.run(app, host=host, port=port, log_level="info")
  
file_path: opyrator/src/opyrator/api/fastapi_app.py
imports: from typing import Any, Dict
  from fastapi import FastAPI, status
  from fastapi.middleware.cors import CORSMiddleware
  from starlette.responses import RedirectResponse
  from opyrator import Opyrator
  from opyrator.api.fastapi_utils import patch_fastapi
label_desc: Use image node_id 1 for calling a global function with example usage: launch_api(opyrator_path, port, host) without return types