@mindstudio-ai/remy 0.1.259 → 0.1.260
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -116,6 +116,17 @@ mindstudio-prod files put --public ./hero.jpg # → { url, key } — content-a
|
|
|
116
116
|
```
|
|
117
117
|
Write that URL into your JSX/HTML. Also: `files list`, `files rm --store … --key …` (`--help` for flags).
|
|
118
118
|
|
|
119
|
+
## Generated assets
|
|
120
|
+
|
|
121
|
+
MindStudio SDK Actions that produce a file (`generateImage`, `generateVideo`, `generateSpeech`, `generatePdf`,
|
|
122
|
+
`upscaleImage`, …) can optionally write straight into a store — pass the handle as `store` in the options object:
|
|
123
|
+
|
|
124
|
+
```typescript
|
|
125
|
+
const { imageUrl } = await mindstudio.generateImage({ prompt }, { store: Assets });
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
If omitted, files are written to the default global, public MindStudio CDN.
|
|
129
|
+
|
|
119
130
|
## When public vs private
|
|
120
131
|
|
|
121
132
|
- **Private (default):** user uploads, generated docs, anything not world-readable. Reads are authed
|