@clickraft/cli 0.2.0 → 0.4.0
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.
- package/CHANGELOG.md +3 -2
- package/README.md +22 -0
- package/dist/cli.js +545 -116
- package/dist/cli.js.map +1 -1
- package/dist/index.js +545 -116
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
## [0.
|
|
1
|
+
## [0.4.0](https://github.com/clickraft/cli/compare/v0.3.0...v0.4.0) (2026-05-24)
|
|
2
2
|
|
|
3
3
|
### Features
|
|
4
4
|
|
|
5
|
-
* **
|
|
5
|
+
* **errors:** add brand model error codes and surface error details ([98ee9f4](https://github.com/clickraft/cli/commit/98ee9f415a85cf31e38152092655accbe9acef1c))
|
|
6
|
+
* **generate:** make --brand-model repeatable with pose support ([872209c](https://github.com/clickraft/cli/commit/872209cfab22f7cd31e2a7655fa072c437a78351))
|
|
6
7
|
|
|
7
8
|
# Changelog
|
|
8
9
|
|
package/README.md
CHANGED
|
@@ -19,8 +19,30 @@ clickraft login
|
|
|
19
19
|
clickraft generate create --prompt "a serene mountain landscape at dawn"
|
|
20
20
|
clickraft balance
|
|
21
21
|
clickraft brand-model list
|
|
22
|
+
clickraft template list
|
|
23
|
+
clickraft template get <template-id>
|
|
24
|
+
clickraft template find "coffee brand"
|
|
22
25
|
```
|
|
23
26
|
|
|
27
|
+
### Brand Model references
|
|
28
|
+
|
|
29
|
+
Use `--brand-model` to attach trained brand models to a generation. The flag is repeatable (max 3) and accepts an optional pose:
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
# Single brand model, primary image
|
|
33
|
+
clickraft generate create --model-slug nano-banana-2 \
|
|
34
|
+
--prompt "product on marble" \
|
|
35
|
+
--brand-model a2438521-abcd-4000-8000-000000000001
|
|
36
|
+
|
|
37
|
+
# Two brand models with pose selection
|
|
38
|
+
clickraft generate create --model-slug nano-banana-2 \
|
|
39
|
+
--prompt "lifestyle shot" \
|
|
40
|
+
--brand-model a2438521-abcd-4000-8000-000000000001:front \
|
|
41
|
+
--brand-model b3549632-bcde-4000-8000-000000000002:3/4-right
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
> **Note:** `--brand-model` only works with reference-supporting models (nano-banana-2 recommended).
|
|
45
|
+
|
|
24
46
|
Full documentation: [docs.clickraft.ai/cli](https://docs.clickraft.ai/cli) _(coming soon)_
|
|
25
47
|
|
|
26
48
|
## Connecting to staging
|