code: def dummy_model(x):
      return np.asarray([1, 2])
  
file_path: chitra/tests/serve/test_api.py
imports: import asyncio
  from unittest.mock import MagicMock
  import numpy
  import pytest
  from fastapi import FastAPI
  from chitra.serve import API
  from chitra.serve import constants
  from chitra.serve import create_api
label_desc: Use image node_id 1 for calling a global function with example usage: dummy_model(x) and returns: np