# Generative UI API Reference
URL: /docs/api-reference/generative-ui

Spec-driven generative UI for assistant-ui. The data format an assistant streams, the component registry that resolves it, and the renderer that turns it into React elements.

- as

  h2

Pages

- href

  /docs/api-reference/generative-ui/spec

Generative UI SpecThe serializable node tree an assistant emits to describe generative UI. Covers the GenerativeUISpec format, its nodes, and the message part that carries the spec.

- href

  /docs/api-reference/generative-ui/rendering

Generative UI RenderingRender a generative UI spec into React. The renderer resolves spec nodes against your component registry, and the error thrown when a component cannot be resolved.