@mulmochat-plugin/generate-image
v0.3.2
Published
Image generation plugin for MulmoChat
Readme
@mulmochat-plugin/generate-image
A plugin for MulmoChat - a multi-modal voice chat application with OpenAI's GPT-4 Realtime API.
What this plugin does
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().
Installation
yarn add @mulmochat-plugin/generate-image @mulmochat-plugin/ui-imageUsage
import Plugin from "@mulmochat-plugin/generate-image";
import "@mulmochat-plugin/generate-image/style.css";
// Add to pluginList
const pluginList = [
// ... other plugins
Plugin,
];Development
# Install dependencies
yarn install
# Start dev server (http://localhost:5173/)
yarn dev
# Build
yarn build
# Type check
yarn typecheck
# Lint
yarn lintTest Prompts
Try these prompts to test the plugin:
- "Generate an image of a sunset over mountains"
- "Create a picture of a cute robot reading a book"
- "Make an image of a futuristic city at night"
License
MIT
