Image generation prompt modal with enhancement options and AI-powered editing. Perfect for AI image generation, enhancement workflows, and interactive image editing.
Click the button below to open the image prompt modal. You can enhance images, adjust settings, and interact with AI-powered features.
See the before and after comparison of your enhanced image.
import { ImagePromptModal } from '@/components/ui/templates/modal'
function MyComponent() {
const [isOpen, setIsOpen] = useState(false)
const handleEnhancement = (action: EnhancementAction) => {
console.log('Enhancement action:', action)
// Process enhancement
}
return (
<>
<Button onClick={() => setIsOpen(true)}>
Enhance Image
</Button>
<ImagePromptModal
isOpen={isOpen}
onClose={() => setIsOpen(false)}
/>
</>
)
}| Prop | Type | Default | Description |
|---|---|---|---|
| isOpen | boolean | - | Controls modal visibility |
| onClose | () => void | - | Callback when modal is closed |
The modal includes built-in enhancement actions that users can trigger:
Side-by-side display of original and enhanced images for easy comparison.
Natural language input for requesting specific image enhancements or edits.
One-click enhancement buttons for common image editing tasks.
Easy download of enhanced images and option to regenerate with new prompts.