← Back to library
Viewport capture · opening screen Assembled in your browser. No API key or AI request needed. Changing the fields refreshes the preview.
Transformers.js — Speech demo
Creative ToolsSee it livexenova-text-to-speech-client.static.hf.space
A small centered speech form combines built-in sample text, a speaker selector and one blue generation action.

Why this pattern works
Use a compact form for one clearly defined text-to-audio task.
Design notes
- Surface
- A small centered speech form combines built-in sample text, a speaker selector and one blue generation action.
- Navigation
- Speaker selector within the form
- Layout
- Single elevated card on a pale background
- Density
- Focused controls with comfortable spacing.
- Color
- Light gray, white and blue
- Type
- Clear heading hierarchy and readable form labels.
- Pattern
- Use a compact form for one clearly defined text-to-audio task.
- States
- Built-in example text; no speech generated.
- Don't
- Adapt the layout to your own product and supported capabilities; write your own examples and keep important actions clearly labeled.
Make it your own
Turn this reference into a useful brief for your project. Copy it into the AI tool you already use.
Add constraints
Preview & edit prompt
Save to board