Skip to main content
The MoonDream class provides a wrapper for the MoonDream v3 model, which answers questions about visual media (images).
boolean
default:"False"
If True, inference call is run on the local VM, else offloaded onto GRID-Cortex. Defaults to False.
np.ndarray
required
The input RGB image of shape (M,N,3)(M,N,3).
str
required
The question to answer about the media.
str
The response to the prompt.
This code is licensed under the Apache 2.0 License.