# Working examples

Download complete packages with source, contracts, and executable fixtures.

## Choose an example
| Example | Runtime | Demonstrates |
| --- | --- | --- |
| [Clean text](/block-sdk/examples/clean-text.stillmade.json) | Recipe | Literal text operations and typed output |
| [Thicken lines](/block-sdk/examples/thicken-lines.stillmade.json) | Recipe | RGBA input, controls, and deterministic pixel output |
| [Word count](/block-sdk/examples/word-count.stillmade.json) | JavaScript | Isolated source and multiple outputs |
| [Grayscale](/block-sdk/examples/grayscale.stillmade.json) | JavaScript | Independent LLM authoring, current resolver contract, and alpha preservation |
| [Screen recorder](/block-sdk/examples/screen-recorder.stillmade.json) | Desktop UI + JavaScript | Permission-gated screen capture; typed video output |
| [Camera recorder](/block-sdk/examples/camera-recorder.stillmade.json) | Desktop UI + JavaScript | Camera capture with explicit start, stop, and cancel |
| [Microphone recorder](/block-sdk/examples/microphone-recorder.stillmade.json) | Desktop UI + JavaScript | Microphone capture; typed audio output |
| [Text workflow](/block-sdk/examples/text-workflow.stillmade.json) | Project Type | Embedded Blocks and connected fixture rehearsal |
| [Script draft](/block-sdk/examples/script-draft.stillmade.json) | Hosted capability | Typed script output; live review with account BYOK or credits |
| [Generate an image](/block-sdk/examples/generate-image.stillmade.json) | Hosted capability | Typed PNG output with host-selected quality/payment; actual image review required |
| [Narrate a script](/block-sdk/examples/narrate-script.stillmade.json) | Hosted capability | Bounded script-to-audio declaration and WAV expectations; reviewed project recordings can be added to Editor audio |

## Run an offline Block example
```sh
node packages/block-cli/cli.js test examples/word-count.stillmade.json
node packages/block-cli/cli.js preview examples/word-count.stillmade.json
```
Hosted text and speech require their separate [text review](/docs/build/hosted-text) or [speech review](/docs/build/hosted-speech) in StillMade. The speech example has no completed live provider test; schema and mock tests are not proof of generated audio. Deterministic examples run offline. Examples are complete packages. Use them as a starting point, choose your own namespace, and update the fixtures when behavior changes.
