def METHOD_NAME(cls, payload: Any, **kwargs) -> InferenceRequest:
    if cls.InputCodec is None:
        raise NotImplementedError(
            f"No input codec found for {type(cls)} request codec"
        )
    inp = cls.InputCodec.encode_input(f"{DefaultInputPrefix}1", payload, **kwargs)
    return InferenceRequest(
        inputs=[inp], parameters=Parameters(content_type=cls.ContentType)
    )