Image generation plugin for MulmoChat
npm install @mulmochat-plugin/generate-image
A plugin for MulmoChat - a multi-modal voice chat application with OpenAI's GPT-4 Realtime API.
Generate images using AI based on text prompts. This plugin provides the UI components and tool definition, while the actual image generation is handled by the host application via context.app.generateImage().
``bash`
yarn add @mulmochat-plugin/generate-image @mulmochat-plugin/ui-image
`typescript
import Plugin from "@mulmochat-plugin/generate-image";
import "@mulmochat-plugin/generate-image/style.css";
// Add to pluginList
const pluginList = [
// ... other plugins
Plugin,
];
`
`bashInstall dependencies
yarn install
Try these prompts to test the plugin:
1. "Generate an image of a sunset over mountains"
2. "Create a picture of a cute robot reading a book"
3. "Make an image of a futuristic city at night"
MIT