dria generate
Generate text with any model on the network. Streams by default.Basic usage
Streaming vs non-streaming
Streaming is enabled by default — tokens appear as they’re generated:Vision (image attachments)
Attach images with-a. Use a vision model (models with -vl in the name):
.jpg, .jpeg, .png, .gif, .webp, .bmp
Structured output
Extract structured data by specifying field names:string (default), integer, number, boolean. Separate with commas, specify type with :.
For complex schemas, use a JSON schema file:
Piping
Pipe prompts from stdin:Options
| Option | Description | Default |
|---|---|---|
-m, --model <model> | Model to use | required |
-a, --attachment <file> | Image/audio file (repeatable) | — |
--schema <fields> | Comma-separated field names for structured output | — |
--schema-file <path> | JSON schema file for structured output | — |
--no-stream | Disable streaming | false |
--json | Output full JSON response (non-streaming) | false |
--max-tokens <n> | Maximum tokens to generate | 2048 |
--temperature <t> | Sampling temperature | 0.7 |
--timeout <seconds> | Timeout for non-streaming requests | 120 |