Skip to content
Chat & AI

Generated Image

Server Component

Renders a model-generated image from base64.

Import

tsx
import { GeneratedImage } from "@cronus-ui/ui";
bash
npx cronus-ui add ai-image

Examples

.cronus

No audit fixture declares this family in .cronus yet.

React onlyParity: Not portedParity scoreboard

API Reference

Generated from the component's exported types.

GeneratedImageProps

Extends Omit<ImgHTMLAttributes<HTMLImageElement>, "src" | "alt">

Skip GeneratedImageProps props table
PropTypeDefaultDescription
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——
className
string—Additional class names merged onto the root.
children
ReactNode—Contents of the component.
id
string—DOM id of the root element.