gen-cards: regenerate Use-it block
Browse files
README.md
CHANGED
|
@@ -41,7 +41,7 @@ waveform. Distilled (ARC) for few-step generation, so it's fast.
|
|
| 41 |
|
| 42 |
## Use it
|
| 43 |
|
| 44 |
-
**New to Core AI? [Start with CoreAIKit 0.7.
|
| 45 |
|
| 46 |
β‘ **One line** β this model is the default behind the kit's task op
|
| 47 |
(`import CoreAIOps`; no session, no model plumbing, downloads on first use):
|
|
@@ -50,13 +50,13 @@ waveform. Distilled (ARC) for few-step generation, so it's fast.
|
|
| 50 |
let audio = try await CoreAI.compose(prompt)
|
| 51 |
```
|
| 52 |
|
| 53 |
-
Every op, one shape β [Cookbook](https://github.com/john-rocky/coreai-kit/blob/0.7.
|
| 54 |
|
| 55 |
-
βΆοΈ **Run it (source)** β the [Music runner](https://github.com/john-rocky/coreai-kit/tree/0.7.
|
| 56 |
(GUI + CLI, one app for every text-to-music model in the catalog):
|
| 57 |
|
| 58 |
```bash
|
| 59 |
-
git clone --branch 0.7.
|
| 60 |
export DEVELOPER_DIR=/Applications/Xcode-27.0.0-RC.app/Contents/Developer
|
| 61 |
open -a /Applications/Xcode-27.0.0-RC.app coreai-kit/Examples/Music/Music.xcodeproj
|
| 62 |
# β Run, then pick "Stable Audio Open Small" in the model picker
|
|
@@ -78,7 +78,7 @@ let audio = try await musician.generate(prompt)
|
|
| 78 |
// audio.samples: 44.1 kHz stereo (planar L/R) β play it or write a WAV
|
| 79 |
```
|
| 80 |
|
| 81 |
-
The take-home is [`Examples/Music/Sources/QuickStart.swift`](https://github.com/john-rocky/coreai-kit/blob/0.7.
|
| 82 |
β this exact code as one typed function, no UI; the CLI is an argument shell over it, and
|
| 83 |
the GUI drives the same `KitMusician(catalog:)` and plays the result.
|
| 84 |
Length? `generate(_:seconds:)` up to the model's ~11 s window. The WAV container is your
|
|
@@ -86,7 +86,7 @@ app's territory (the runner ships a 30-line writer with planar-stereo support).
|
|
| 86 |
|
| 87 |
**Integration checklist**
|
| 88 |
|
| 89 |
-
- SPM: `https://github.com/john-rocky/coreai-kit` (exact **0.7.
|
| 90 |
- Info.plist: none needed
|
| 91 |
- Entitlements: none needed (macOS)
|
| 92 |
- First run downloads the model β ~1,060 MB (Mac) β then it loads from the
|
|
|
|
| 41 |
|
| 42 |
## Use it
|
| 43 |
|
| 44 |
+
**New to Core AI? [Start with CoreAIKit 0.7.3](https://github.com/john-rocky/coreai-kit#readme).** Follow its requirements and first-run steps for `qwen3-0.6b`, then open the same release's [ChatDemo](https://github.com/john-rocky/coreai-kit/tree/0.7.3/Examples/ChatDemo). The README records the tested OS/SDK and download size; model and device coverage is stated per example.
|
| 45 |
|
| 46 |
β‘ **One line** β this model is the default behind the kit's task op
|
| 47 |
(`import CoreAIOps`; no session, no model plumbing, downloads on first use):
|
|
|
|
| 50 |
let audio = try await CoreAI.compose(prompt)
|
| 51 |
```
|
| 52 |
|
| 53 |
+
Every op, one shape β [Cookbook](https://github.com/john-rocky/coreai-kit/blob/0.7.3/docs/COOKBOOK.md).
|
| 54 |
|
| 55 |
+
βΆοΈ **Run it (source)** β the [Music runner](https://github.com/john-rocky/coreai-kit/tree/0.7.3/Examples/Music)
|
| 56 |
(GUI + CLI, one app for every text-to-music model in the catalog):
|
| 57 |
|
| 58 |
```bash
|
| 59 |
+
git clone --branch 0.7.3 --depth 1 https://github.com/john-rocky/coreai-kit
|
| 60 |
export DEVELOPER_DIR=/Applications/Xcode-27.0.0-RC.app/Contents/Developer
|
| 61 |
open -a /Applications/Xcode-27.0.0-RC.app coreai-kit/Examples/Music/Music.xcodeproj
|
| 62 |
# β Run, then pick "Stable Audio Open Small" in the model picker
|
|
|
|
| 78 |
// audio.samples: 44.1 kHz stereo (planar L/R) β play it or write a WAV
|
| 79 |
```
|
| 80 |
|
| 81 |
+
The take-home is [`Examples/Music/Sources/QuickStart.swift`](https://github.com/john-rocky/coreai-kit/blob/0.7.3/Examples/Music/Sources/QuickStart.swift)
|
| 82 |
β this exact code as one typed function, no UI; the CLI is an argument shell over it, and
|
| 83 |
the GUI drives the same `KitMusician(catalog:)` and plays the result.
|
| 84 |
Length? `generate(_:seconds:)` up to the model's ~11 s window. The WAV container is your
|
|
|
|
| 86 |
|
| 87 |
**Integration checklist**
|
| 88 |
|
| 89 |
+
- SPM: `https://github.com/john-rocky/coreai-kit` (exact **0.7.3**) β product **CoreAIKit**
|
| 90 |
- Info.plist: none needed
|
| 91 |
- Entitlements: none needed (macOS)
|
| 92 |
- First run downloads the model β ~1,060 MB (Mac) β then it loads from the
|