Generated Image
Server ComponentRenders a model-generated image from base64.
Import
tsx
import { GeneratedImage } from "@cronus-ui/ui";
bash
npx cronus-ui add ai-image
Examples
API Reference
Generated from the component's exported types.
GeneratedImageProps
Extends Omit<ImgHTMLAttributes<HTMLImageElement>, "src" | "alt">
| Prop | Type | Default | Description |
|---|---|---|---|
ref | Ref<HTMLImageElement> | — | Ref forwarded to the underlying DOM node. |
base64* | string | — | — |
mediaType* | string | — | — |
uint8Array | Uint8Array | — | Accepted for API parity with AI SDK generated images; unused at render time. |
alt | string | — | — |