@fleox/agentphoto 0.0.0-stage → 0.1.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/LICENSE +143 -0
- package/README.md +229 -2
- package/changelog.json +17 -0
- package/dist/agent/agentphoto.mjs +3307 -0
- package/dist/agent/chunks/assets-CDQo3VqD.mjs +151 -0
- package/dist/agent/chunks/catalog-DIZ5dnH5.mjs +953 -0
- package/dist/agent/chunks/context-DoLoLF9f.mjs +75 -0
- package/dist/agent/chunks/doc-BjY_j4Su.mjs +773 -0
- package/dist/agent/chunks/export-CLmpFART.mjs +140 -0
- package/dist/agent/chunks/ids-DAmiNwd9.mjs +28 -0
- package/dist/agent/chunks/imageInfo-QxAfu8R6.mjs +173 -0
- package/dist/agent/chunks/jsonPath-B7vAPXsi.mjs +155 -0
- package/dist/agent/chunks/library-C_EXiphj.mjs +16 -0
- package/dist/agent/chunks/models-C4i_hicr.mjs +387 -0
- package/dist/agent/chunks/output-3F12IR9O.mjs +130 -0
- package/dist/agent/chunks/package-DSmAxrla.mjs +71 -0
- package/dist/agent/chunks/project-CUykGysG.mjs +198 -0
- package/dist/agent/chunks/rolldown-runtime-CMQPkI6i.mjs +18 -0
- package/dist/agent/chunks/server-I0trf5tM.mjs +241 -0
- package/dist/agent/chunks/templates--YGpGuHh.mjs +40 -0
- package/dist/agent/chunks/tools-Dnh8g6F9.mjs +1354 -0
- package/dist/agent/chunks/tree-DO7N0UDV.mjs +127 -0
- package/dist/agent/chunks/types-DOK7tAAu.mjs +30 -0
- package/dist/agent/chunks/validate-CXPFB-i6.mjs +936 -0
- package/dist/engine/agentphoto-engine.js +2777 -0
- package/dist/engine/chunks/transformers.web-D5Vsg6-A.js +18494 -0
- package/dist/engine/ort/ort-wasm-simd-threaded.asyncify.mjs +124 -0
- package/dist/engine/ort/ort-wasm-simd-threaded.asyncify.wasm +0 -0
- package/dist/studio/assets/index-Be8JnaFy.js +28 -0
- package/dist/studio/assets/index-DwPms2S5.css +1 -0
- package/dist/studio/assets/transformers.web-DgnCIB_X.js +38 -0
- package/dist/studio/index.html +15 -0
- package/dist/studio/library/LICENSES.md +57 -0
- package/dist/studio/library/fonts/OFL.txt +90 -0
- package/dist/studio/library/fonts/anton/anton-latin-400-normal.woff2 +0 -0
- package/dist/studio/library/fonts/anton/anton-latin-ext-400-normal.woff2 +0 -0
- package/dist/studio/library/fonts/archivo-black/archivo-black-latin-400-normal.woff2 +0 -0
- package/dist/studio/library/fonts/archivo-black/archivo-black-latin-ext-400-normal.woff2 +0 -0
- package/dist/studio/library/fonts/bebas-neue/bebas-neue-latin-400-normal.woff2 +0 -0
- package/dist/studio/library/fonts/bebas-neue/bebas-neue-latin-ext-400-normal.woff2 +0 -0
- package/dist/studio/library/fonts/caveat/caveat-latin-400-normal.woff2 +0 -0
- package/dist/studio/library/fonts/caveat/caveat-latin-700-normal.woff2 +0 -0
- package/dist/studio/library/fonts/caveat/caveat-latin-ext-400-normal.woff2 +0 -0
- package/dist/studio/library/fonts/caveat/caveat-latin-ext-700-normal.woff2 +0 -0
- package/dist/studio/library/fonts/dm-serif/dm-serif-display-latin-400-normal.woff2 +0 -0
- package/dist/studio/library/fonts/dm-serif/dm-serif-display-latin-ext-400-normal.woff2 +0 -0
- package/dist/studio/library/fonts/inter/inter-latin-400-normal.woff2 +0 -0
- package/dist/studio/library/fonts/inter/inter-latin-600-normal.woff2 +0 -0
- package/dist/studio/library/fonts/inter/inter-latin-700-normal.woff2 +0 -0
- package/dist/studio/library/fonts/inter/inter-latin-800-normal.woff2 +0 -0
- package/dist/studio/library/fonts/inter/inter-latin-ext-400-normal.woff2 +0 -0
- package/dist/studio/library/fonts/inter/inter-latin-ext-600-normal.woff2 +0 -0
- package/dist/studio/library/fonts/inter/inter-latin-ext-700-normal.woff2 +0 -0
- package/dist/studio/library/fonts/inter/inter-latin-ext-800-normal.woff2 +0 -0
- package/dist/studio/library/fonts/jetbrains-mono/jetbrains-mono-latin-400-normal.woff2 +0 -0
- package/dist/studio/library/fonts/jetbrains-mono/jetbrains-mono-latin-700-normal.woff2 +0 -0
- package/dist/studio/library/fonts/jetbrains-mono/jetbrains-mono-latin-ext-400-normal.woff2 +0 -0
- package/dist/studio/library/fonts/jetbrains-mono/jetbrains-mono-latin-ext-700-normal.woff2 +0 -0
- package/dist/studio/library/fonts/lobster/lobster-latin-400-normal.woff2 +0 -0
- package/dist/studio/library/fonts/lobster/lobster-latin-ext-400-normal.woff2 +0 -0
- package/dist/studio/library/fonts/montserrat/montserrat-latin-400-normal.woff2 +0 -0
- package/dist/studio/library/fonts/montserrat/montserrat-latin-700-normal.woff2 +0 -0
- package/dist/studio/library/fonts/montserrat/montserrat-latin-800-normal.woff2 +0 -0
- package/dist/studio/library/fonts/montserrat/montserrat-latin-ext-400-normal.woff2 +0 -0
- package/dist/studio/library/fonts/montserrat/montserrat-latin-ext-700-normal.woff2 +0 -0
- package/dist/studio/library/fonts/montserrat/montserrat-latin-ext-800-normal.woff2 +0 -0
- package/dist/studio/library/fonts/oswald/oswald-latin-400-normal.woff2 +0 -0
- package/dist/studio/library/fonts/oswald/oswald-latin-600-normal.woff2 +0 -0
- package/dist/studio/library/fonts/oswald/oswald-latin-ext-400-normal.woff2 +0 -0
- package/dist/studio/library/fonts/oswald/oswald-latin-ext-600-normal.woff2 +0 -0
- package/dist/studio/library/fonts/pacifico/pacifico-latin-400-normal.woff2 +0 -0
- package/dist/studio/library/fonts/pacifico/pacifico-latin-ext-400-normal.woff2 +0 -0
- package/dist/studio/library/fonts/playfair/playfair-display-latin-400-italic.woff2 +0 -0
- package/dist/studio/library/fonts/playfair/playfair-display-latin-400-normal.woff2 +0 -0
- package/dist/studio/library/fonts/playfair/playfair-display-latin-700-normal.woff2 +0 -0
- package/dist/studio/library/fonts/playfair/playfair-display-latin-ext-400-italic.woff2 +0 -0
- package/dist/studio/library/fonts/playfair/playfair-display-latin-ext-400-normal.woff2 +0 -0
- package/dist/studio/library/fonts/playfair/playfair-display-latin-ext-700-normal.woff2 +0 -0
- package/dist/studio/library/fonts/poppins/poppins-latin-400-normal.woff2 +0 -0
- package/dist/studio/library/fonts/poppins/poppins-latin-600-normal.woff2 +0 -0
- package/dist/studio/library/fonts/poppins/poppins-latin-700-normal.woff2 +0 -0
- package/dist/studio/library/fonts/poppins/poppins-latin-ext-400-normal.woff2 +0 -0
- package/dist/studio/library/fonts/poppins/poppins-latin-ext-600-normal.woff2 +0 -0
- package/dist/studio/library/fonts/poppins/poppins-latin-ext-700-normal.woff2 +0 -0
- package/dist/studio/library/fonts/roboto-slab/LICENSE.txt +202 -0
- package/dist/studio/library/fonts/roboto-slab/roboto-slab-latin-400-normal.woff2 +0 -0
- package/dist/studio/library/fonts/roboto-slab/roboto-slab-latin-700-normal.woff2 +0 -0
- package/dist/studio/library/fonts/roboto-slab/roboto-slab-latin-ext-400-normal.woff2 +0 -0
- package/dist/studio/library/fonts/roboto-slab/roboto-slab-latin-ext-700-normal.woff2 +0 -0
- package/dist/studio/library/fonts/space-grotesk/space-grotesk-latin-500-normal.woff2 +0 -0
- package/dist/studio/library/fonts/space-grotesk/space-grotesk-latin-700-normal.woff2 +0 -0
- package/dist/studio/library/fonts/space-grotesk/space-grotesk-latin-ext-500-normal.woff2 +0 -0
- package/dist/studio/library/fonts/space-grotesk/space-grotesk-latin-ext-700-normal.woff2 +0 -0
- package/dist/studio/library/images/city.jpg +0 -0
- package/dist/studio/library/images/food.jpg +0 -0
- package/dist/studio/library/images/landscape.jpg +0 -0
- package/dist/studio/library/images/pet.jpg +0 -0
- package/dist/studio/library/images/portrait.jpg +0 -0
- package/dist/studio/library/images/product.jpg +0 -0
- package/dist/studio/library/index.json +752 -0
- package/dist/studio/templates/avatar-pro/assets/masks/photo-cutout.png +0 -0
- package/dist/studio/templates/avatar-pro/photo.json +13 -0
- package/dist/studio/templates/avatar-pro/preview.jpg +0 -0
- package/dist/studio/templates/avatar-pro/template.json +1 -0
- package/dist/studio/templates/index.json +1 -0
- package/dist/studio/templates/og-article/photo.json +13 -0
- package/dist/studio/templates/og-article/preview.jpg +0 -0
- package/dist/studio/templates/og-article/template.json +1 -0
- package/dist/studio/templates/polaroid/photo.json +13 -0
- package/dist/studio/templates/polaroid/preview.jpg +0 -0
- package/dist/studio/templates/polaroid/template.json +1 -0
- package/dist/studio/templates/product-white/assets/masks/photo-cutout.png +0 -0
- package/dist/studio/templates/product-white/photo.json +72 -0
- package/dist/studio/templates/product-white/preview.jpg +0 -0
- package/dist/studio/templates/product-white/template.json +1 -0
- package/dist/studio/templates/sale-banner/photo.json +125 -0
- package/dist/studio/templates/sale-banner/preview.jpg +0 -0
- package/dist/studio/templates/sale-banner/template.json +1 -0
- package/dist/studio/templates/social-quote/photo.json +13 -0
- package/dist/studio/templates/social-quote/preview.jpg +0 -0
- package/dist/studio/templates/social-quote/template.json +1 -0
- package/dist/studio/templates/story-promo/photo.json +13 -0
- package/dist/studio/templates/story-promo/preview.jpg +0 -0
- package/dist/studio/templates/story-promo/template.json +1 -0
- package/dist/studio/templates/youtube-thumbnail/photo.json +12 -0
- package/dist/studio/templates/youtube-thumbnail/preview.jpg +0 -0
- package/dist/studio/templates/youtube-thumbnail/template.json +1 -0
- package/library/LICENSES.md +57 -0
- package/library/fonts/OFL.txt +90 -0
- package/library/fonts/anton/anton-latin-400-normal.woff2 +0 -0
- package/library/fonts/anton/anton-latin-ext-400-normal.woff2 +0 -0
- package/library/fonts/archivo-black/archivo-black-latin-400-normal.woff2 +0 -0
- package/library/fonts/archivo-black/archivo-black-latin-ext-400-normal.woff2 +0 -0
- package/library/fonts/bebas-neue/bebas-neue-latin-400-normal.woff2 +0 -0
- package/library/fonts/bebas-neue/bebas-neue-latin-ext-400-normal.woff2 +0 -0
- package/library/fonts/caveat/caveat-latin-400-normal.woff2 +0 -0
- package/library/fonts/caveat/caveat-latin-700-normal.woff2 +0 -0
- package/library/fonts/caveat/caveat-latin-ext-400-normal.woff2 +0 -0
- package/library/fonts/caveat/caveat-latin-ext-700-normal.woff2 +0 -0
- package/library/fonts/dm-serif/dm-serif-display-latin-400-normal.woff2 +0 -0
- package/library/fonts/dm-serif/dm-serif-display-latin-ext-400-normal.woff2 +0 -0
- package/library/fonts/inter/inter-latin-400-normal.woff2 +0 -0
- package/library/fonts/inter/inter-latin-600-normal.woff2 +0 -0
- package/library/fonts/inter/inter-latin-700-normal.woff2 +0 -0
- package/library/fonts/inter/inter-latin-800-normal.woff2 +0 -0
- package/library/fonts/inter/inter-latin-ext-400-normal.woff2 +0 -0
- package/library/fonts/inter/inter-latin-ext-600-normal.woff2 +0 -0
- package/library/fonts/inter/inter-latin-ext-700-normal.woff2 +0 -0
- package/library/fonts/inter/inter-latin-ext-800-normal.woff2 +0 -0
- package/library/fonts/jetbrains-mono/jetbrains-mono-latin-400-normal.woff2 +0 -0
- package/library/fonts/jetbrains-mono/jetbrains-mono-latin-700-normal.woff2 +0 -0
- package/library/fonts/jetbrains-mono/jetbrains-mono-latin-ext-400-normal.woff2 +0 -0
- package/library/fonts/jetbrains-mono/jetbrains-mono-latin-ext-700-normal.woff2 +0 -0
- package/library/fonts/lobster/lobster-latin-400-normal.woff2 +0 -0
- package/library/fonts/lobster/lobster-latin-ext-400-normal.woff2 +0 -0
- package/library/fonts/montserrat/montserrat-latin-400-normal.woff2 +0 -0
- package/library/fonts/montserrat/montserrat-latin-700-normal.woff2 +0 -0
- package/library/fonts/montserrat/montserrat-latin-800-normal.woff2 +0 -0
- package/library/fonts/montserrat/montserrat-latin-ext-400-normal.woff2 +0 -0
- package/library/fonts/montserrat/montserrat-latin-ext-700-normal.woff2 +0 -0
- package/library/fonts/montserrat/montserrat-latin-ext-800-normal.woff2 +0 -0
- package/library/fonts/oswald/oswald-latin-400-normal.woff2 +0 -0
- package/library/fonts/oswald/oswald-latin-600-normal.woff2 +0 -0
- package/library/fonts/oswald/oswald-latin-ext-400-normal.woff2 +0 -0
- package/library/fonts/oswald/oswald-latin-ext-600-normal.woff2 +0 -0
- package/library/fonts/pacifico/pacifico-latin-400-normal.woff2 +0 -0
- package/library/fonts/pacifico/pacifico-latin-ext-400-normal.woff2 +0 -0
- package/library/fonts/playfair/playfair-display-latin-400-italic.woff2 +0 -0
- package/library/fonts/playfair/playfair-display-latin-400-normal.woff2 +0 -0
- package/library/fonts/playfair/playfair-display-latin-700-normal.woff2 +0 -0
- package/library/fonts/playfair/playfair-display-latin-ext-400-italic.woff2 +0 -0
- package/library/fonts/playfair/playfair-display-latin-ext-400-normal.woff2 +0 -0
- package/library/fonts/playfair/playfair-display-latin-ext-700-normal.woff2 +0 -0
- package/library/fonts/poppins/poppins-latin-400-normal.woff2 +0 -0
- package/library/fonts/poppins/poppins-latin-600-normal.woff2 +0 -0
- package/library/fonts/poppins/poppins-latin-700-normal.woff2 +0 -0
- package/library/fonts/poppins/poppins-latin-ext-400-normal.woff2 +0 -0
- package/library/fonts/poppins/poppins-latin-ext-600-normal.woff2 +0 -0
- package/library/fonts/poppins/poppins-latin-ext-700-normal.woff2 +0 -0
- package/library/fonts/roboto-slab/LICENSE.txt +202 -0
- package/library/fonts/roboto-slab/roboto-slab-latin-400-normal.woff2 +0 -0
- package/library/fonts/roboto-slab/roboto-slab-latin-700-normal.woff2 +0 -0
- package/library/fonts/roboto-slab/roboto-slab-latin-ext-400-normal.woff2 +0 -0
- package/library/fonts/roboto-slab/roboto-slab-latin-ext-700-normal.woff2 +0 -0
- package/library/fonts/space-grotesk/space-grotesk-latin-500-normal.woff2 +0 -0
- package/library/fonts/space-grotesk/space-grotesk-latin-700-normal.woff2 +0 -0
- package/library/fonts/space-grotesk/space-grotesk-latin-ext-500-normal.woff2 +0 -0
- package/library/fonts/space-grotesk/space-grotesk-latin-ext-700-normal.woff2 +0 -0
- package/library/images/city.jpg +0 -0
- package/library/images/food.jpg +0 -0
- package/library/images/landscape.jpg +0 -0
- package/library/images/pet.jpg +0 -0
- package/library/images/portrait.jpg +0 -0
- package/library/images/product.jpg +0 -0
- package/library/index.json +752 -0
- package/package.json +65 -4
- package/plugin/.claude-plugin/plugin.json +19 -0
- package/plugin/skills/agentphoto-cutout/SKILL.md +132 -0
- package/plugin/skills/agentphoto-design/SKILL.md +104 -0
- package/plugin/skills/agentphoto-design/references/layouts.md +60 -0
- package/plugin/skills/agentphoto-publish/SKILL.md +79 -0
- package/plugin/skills/agentphoto-retouch/SKILL.md +144 -0
- package/plugin/skills/agentphoto-retouch/references/filters.md +51 -0
- package/plugin/skills/agentphoto-retouch/references/patch-ops.md +66 -0
- package/plugin/skills/agentphoto-retouch/references/recipes.md +129 -0
- package/templates/avatar-pro/assets/masks/photo-cutout.png +0 -0
- package/templates/avatar-pro/photo.json +13 -0
- package/templates/avatar-pro/preview.jpg +0 -0
- package/templates/avatar-pro/template.json +1 -0
- package/templates/og-article/photo.json +13 -0
- package/templates/og-article/preview.jpg +0 -0
- package/templates/og-article/template.json +1 -0
- package/templates/polaroid/photo.json +13 -0
- package/templates/polaroid/preview.jpg +0 -0
- package/templates/polaroid/template.json +1 -0
- package/templates/product-white/assets/masks/photo-cutout.png +0 -0
- package/templates/product-white/photo.json +72 -0
- package/templates/product-white/preview.jpg +0 -0
- package/templates/product-white/template.json +1 -0
- package/templates/sale-banner/photo.json +125 -0
- package/templates/sale-banner/preview.jpg +0 -0
- package/templates/sale-banner/template.json +1 -0
- package/templates/social-quote/photo.json +13 -0
- package/templates/social-quote/preview.jpg +0 -0
- package/templates/social-quote/template.json +1 -0
- package/templates/story-promo/photo.json +13 -0
- package/templates/story-promo/preview.jpg +0 -0
- package/templates/story-promo/template.json +1 -0
- package/templates/youtube-thumbnail/photo.json +12 -0
- package/templates/youtube-thumbnail/preview.jpg +0 -0
- package/templates/youtube-thumbnail/template.json +1 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
Copyright (c) 2026 AgentPhoto
|
|
2
|
+
|
|
3
|
+
This software is source-available under the PolyForm Noncommercial License 1.0.0
|
|
4
|
+
(reproduced in full below). Personal, hobbyist, educational, research, and other
|
|
5
|
+
noncommercial use is permitted free of charge.
|
|
6
|
+
|
|
7
|
+
Selling the software, hosting it as a paid service, or any other commercial use
|
|
8
|
+
requires explicit written authorization from the copyright holder. For commercial
|
|
9
|
+
licensing inquiries, open an issue at https://github.com/fleox/agentphoto
|
|
10
|
+
|
|
11
|
+
================================================================================
|
|
12
|
+
|
|
13
|
+
PolyForm Noncommercial License 1.0.0
|
|
14
|
+
|
|
15
|
+
<https://polyformproject.org/licenses/noncommercial/1.0.0>
|
|
16
|
+
|
|
17
|
+
## Acceptance
|
|
18
|
+
|
|
19
|
+
In order to get any license under these terms, you must agree
|
|
20
|
+
to them as both strict obligations and conditions to all
|
|
21
|
+
your licenses.
|
|
22
|
+
|
|
23
|
+
## Copyright License
|
|
24
|
+
|
|
25
|
+
The licensor grants you a copyright license for the
|
|
26
|
+
software to do everything you might do with the software
|
|
27
|
+
that would otherwise infringe the licensor's copyright
|
|
28
|
+
in it for any permitted purpose. However, you may
|
|
29
|
+
only distribute the software according to [Distribution
|
|
30
|
+
License](#distribution-license) and make changes or new works
|
|
31
|
+
based on the software according to [Changes and New Works
|
|
32
|
+
License](#changes-and-new-works-license).
|
|
33
|
+
|
|
34
|
+
## Distribution License
|
|
35
|
+
|
|
36
|
+
The licensor grants you an additional copyright license
|
|
37
|
+
to distribute copies of the software. Your license
|
|
38
|
+
to distribute covers distributing the software with
|
|
39
|
+
changes and new works permitted by [Changes and New Works
|
|
40
|
+
License](#changes-and-new-works-license).
|
|
41
|
+
|
|
42
|
+
## Notices
|
|
43
|
+
|
|
44
|
+
You must ensure that anyone who gets a copy of any part of
|
|
45
|
+
the software from you also gets a copy of these terms or the
|
|
46
|
+
URL for them above, as well as copies of any plain-text lines
|
|
47
|
+
beginning with `Required Notice:` that the licensor provided
|
|
48
|
+
with the software. For example:
|
|
49
|
+
|
|
50
|
+
> Required Notice: Copyright Yoyodyne, Inc. (http://example.com)
|
|
51
|
+
|
|
52
|
+
## Changes and New Works License
|
|
53
|
+
|
|
54
|
+
The licensor grants you an additional copyright license to
|
|
55
|
+
make changes and new works based on the software for any
|
|
56
|
+
permitted purpose.
|
|
57
|
+
|
|
58
|
+
## Patent License
|
|
59
|
+
|
|
60
|
+
The licensor grants you a patent license for the software that
|
|
61
|
+
covers patent claims the licensor can license, or becomes able
|
|
62
|
+
to license, that you would infringe by using the software.
|
|
63
|
+
|
|
64
|
+
## Noncommercial Purposes
|
|
65
|
+
|
|
66
|
+
Any noncommercial purpose is a permitted purpose.
|
|
67
|
+
|
|
68
|
+
## Personal Uses
|
|
69
|
+
|
|
70
|
+
Personal use for research, experiment, and testing for
|
|
71
|
+
the benefit of public knowledge, personal study, private
|
|
72
|
+
entertainment, hobby projects, amateur pursuits, or religious
|
|
73
|
+
observance, without any anticipated commercial application,
|
|
74
|
+
is use for a permitted purpose.
|
|
75
|
+
|
|
76
|
+
## Noncommercial Organizations
|
|
77
|
+
|
|
78
|
+
Use by any charitable organization, educational institution,
|
|
79
|
+
public research organization, public safety or health
|
|
80
|
+
organization, environmental protection organization,
|
|
81
|
+
or government institution is use for a permitted purpose
|
|
82
|
+
regardless of the source of funding or obligations resulting
|
|
83
|
+
from the funding.
|
|
84
|
+
|
|
85
|
+
## Fair Use
|
|
86
|
+
|
|
87
|
+
You may have "fair use" rights for the software under the
|
|
88
|
+
law. These terms do not limit them.
|
|
89
|
+
|
|
90
|
+
## No Other Rights
|
|
91
|
+
|
|
92
|
+
These terms do not allow you to sublicense or transfer any of
|
|
93
|
+
your licenses to anyone else, or prevent the licensor from
|
|
94
|
+
granting licenses to anyone else. These terms do not imply
|
|
95
|
+
any other licenses.
|
|
96
|
+
|
|
97
|
+
## Patent Defense
|
|
98
|
+
|
|
99
|
+
If you make any written claim that the software infringes or
|
|
100
|
+
contributes to infringement of any patent, your patent license
|
|
101
|
+
for the software granted under these terms ends immediately. If
|
|
102
|
+
your company makes such a claim, your patent license ends
|
|
103
|
+
immediately for work on behalf of your company.
|
|
104
|
+
|
|
105
|
+
## Violations
|
|
106
|
+
|
|
107
|
+
The first time you are notified in writing that you have
|
|
108
|
+
violated any of these terms, or done anything with the software
|
|
109
|
+
not covered by your licenses, your licenses can nonetheless
|
|
110
|
+
continue if you come into full compliance with these terms,
|
|
111
|
+
and take practical steps to correct past violations, within
|
|
112
|
+
32 days of receiving notice. Otherwise, all your licenses
|
|
113
|
+
end immediately.
|
|
114
|
+
|
|
115
|
+
## No Liability
|
|
116
|
+
|
|
117
|
+
***As far as the law allows, the software comes as is, without
|
|
118
|
+
any warranty or condition, and the licensor will not be liable
|
|
119
|
+
to you for any damages arising out of these terms or the use
|
|
120
|
+
or nature of the software, under any kind of legal claim.***
|
|
121
|
+
|
|
122
|
+
## Definitions
|
|
123
|
+
|
|
124
|
+
The **licensor** is the individual or entity offering these
|
|
125
|
+
terms, and the **software** is the software the licensor makes
|
|
126
|
+
available under these terms.
|
|
127
|
+
|
|
128
|
+
**You** refers to the individual or entity agreeing to these
|
|
129
|
+
terms.
|
|
130
|
+
|
|
131
|
+
**Your company** is any legal entity, sole proprietorship,
|
|
132
|
+
or other kind of organization that you work for, plus all
|
|
133
|
+
organizations that have control over, are under the control of,
|
|
134
|
+
or are under common control with that organization. **Control**
|
|
135
|
+
means ownership of substantially all the assets of an entity,
|
|
136
|
+
or the power to direct its management and policies by vote,
|
|
137
|
+
contract, or otherwise. Control can be direct or indirect.
|
|
138
|
+
|
|
139
|
+
**Your licenses** are all the licenses granted to you for the
|
|
140
|
+
software under these terms.
|
|
141
|
+
|
|
142
|
+
**Use** means anything you do with the software requiring one
|
|
143
|
+
of your licenses.
|
package/README.md
CHANGED
|
@@ -1,3 +1,230 @@
|
|
|
1
|
-
|
|
1
|
+
<h1 align="center">AgentPhoto</h1>
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
<p align="center">
|
|
4
|
+
<strong>The photo studio your AI agent can run.</strong><br>
|
|
5
|
+
Retouching, background removal, masks, looks, text and social formats, as a non-destructive document.<br>
|
|
6
|
+
Everything runs on your computer: no server, no account, no upload.
|
|
7
|
+
</p>
|
|
8
|
+
|
|
9
|
+
<p align="center">
|
|
10
|
+
<a href="https://www.npmjs.com/package/@fleox/agentphoto"><img src="https://img.shields.io/npm/v/@fleox/agentphoto?color=3d6bff&label=npm" alt="npm version"></a>
|
|
11
|
+
<a href="https://www.npmjs.com/package/@fleox/agentphoto"><img src="https://img.shields.io/node/v/@fleox/agentphoto?color=339933" alt="Node.js version"></a>
|
|
12
|
+
<a href="#claude-code"><img src="https://img.shields.io/badge/Claude%20Code-plugin-d97757" alt="Claude Code plugin"></a>
|
|
13
|
+
<a href="#mcp-server"><img src="https://img.shields.io/badge/MCP-server-0ea5e9" alt="MCP server"></a>
|
|
14
|
+
<a href="https://github.com/fleox/agentphoto/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-PolyForm%20Noncommercial-6b7280" alt="License"></a>
|
|
15
|
+
</p>
|
|
16
|
+
|
|
17
|
+
<p align="center">
|
|
18
|
+
<a href="#quick-start">Quick start</a> ·
|
|
19
|
+
<a href="#what-you-can-ask">What you can ask</a> ·
|
|
20
|
+
<a href="#examples">Examples</a> ·
|
|
21
|
+
<a href="#how-it-works">How it works</a> ·
|
|
22
|
+
<a href="#the-studio">Studio</a> ·
|
|
23
|
+
<a href="#privacy">Privacy</a> ·
|
|
24
|
+
<a href="https://github.com/fleox/agentphoto/blob/main/docs/README.md">Docs</a>
|
|
25
|
+
</p>
|
|
26
|
+
|
|
27
|
+
<p align="center">
|
|
28
|
+
<img src="https://raw.githubusercontent.com/fleox/agentphoto/main/docs/images/cutout-product-white.jpg" width="820" alt="Before and after: an enamel mug on a wooden table, then the same mug cut out by local AI and centred on white with a soft contact shadow">
|
|
29
|
+
<br><sub>One sentence to the agent: <i>"cut the mug out, put it on white with a soft shadow, square, for my shop"</i>. Real output, no retouching by hand.</sub>
|
|
30
|
+
</p>
|
|
31
|
+
|
|
32
|
+
---
|
|
33
|
+
|
|
34
|
+
## Why AgentPhoto
|
|
35
|
+
|
|
36
|
+
<table>
|
|
37
|
+
<tr>
|
|
38
|
+
<td width="33%" valign="top">
|
|
39
|
+
<h3>🤖 Agent-native</h3>
|
|
40
|
+
<p>A picture is one JSON document: a stack of layers with filters, masks and effects, validated with "did you mean" hints and edited with small atomic patches. The agent <b>renders it headless</b> in your own Chrome, <b>looks at the image</b>, fixes what it sees and runs <code>check</code> before exporting.</p>
|
|
41
|
+
</td>
|
|
42
|
+
<td width="33%" valign="top">
|
|
43
|
+
<h3>🎛️ A real photo editor</h3>
|
|
44
|
+
<p>28 filters (levels, curves, white balance, shadows / highlights, clarity, surface blur…), 20 looks, adjustment layers, blend modes, masks, layer effects, text in 15 bundled fonts, shapes, gradients, 8 templates and 13 size presets. Non-destructive: your original is never touched.</p>
|
|
45
|
+
</td>
|
|
46
|
+
<td width="33%" valign="top">
|
|
47
|
+
<h3>🔒 Private by design</h3>
|
|
48
|
+
<p>Background removal and Segment Anything masks run <b>locally</b> (RMBG-1.4, MODNet, SlimSAM). Models download once, then everything works offline. No server, no account, no telemetry, and your photos never leave your computer.</p>
|
|
49
|
+
</td>
|
|
50
|
+
</tr>
|
|
51
|
+
</table>
|
|
52
|
+
|
|
53
|
+
## Quick start
|
|
54
|
+
|
|
55
|
+
### With an AI agent
|
|
56
|
+
|
|
57
|
+
<a id="claude-code"></a>**Claude Code**
|
|
58
|
+
|
|
59
|
+
```text
|
|
60
|
+
/plugin marketplace add fleox/agentphoto
|
|
61
|
+
/plugin install agentphoto@agentphoto
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
Then ask in your own words (see [what you can ask](#what-you-can-ask)). The agent opens your photo as a project, edits it, renders it, looks at the result, fixes it, and exports the files.
|
|
65
|
+
|
|
66
|
+
| Agent | Setup |
|
|
67
|
+
|---|---|
|
|
68
|
+
| **Claude Code** | the plugin above: skills `agentphoto-retouch`, `agentphoto-cutout`, `agentphoto-design`, `agentphoto-publish` |
|
|
69
|
+
| **Claude Desktop, Cursor, any MCP client** | the [MCP server](#mcp-server): `agentphoto mcp --project <dir>` |
|
|
70
|
+
| **Hermes Agent** / Python agents | generated skills with a Python wrapper and helpers, see [hermes/](https://github.com/fleox/agentphoto/tree/main/hermes) |
|
|
71
|
+
| **Codex, Windsurf, any other agent** | point it at [AGENTS.md](https://github.com/fleox/agentphoto/blob/main/AGENTS.md) and the Markdown skills in [plugin/skills/](https://github.com/fleox/agentphoto/tree/main/plugin/skills) |
|
|
72
|
+
|
|
73
|
+
You need **Node.js 22+** and **Google Chrome** (or Chromium / Edge / Brave): previews, exports and the AI run in it, headless. `npx -y @fleox/agentphoto@0.1.0 doctor` checks your setup.
|
|
74
|
+
|
|
75
|
+
### Without an agent
|
|
76
|
+
|
|
77
|
+
```bash
|
|
78
|
+
npx -y @fleox/agentphoto@0.1.0 new trip --image ./lake.jpg
|
|
79
|
+
npx -y @fleox/agentphoto@0.1.0 studio --project trip
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
The first command makes a project folder from your photo; the second opens the [Studio](#the-studio) on it. Or the whole loop from a terminal:
|
|
83
|
+
|
|
84
|
+
```bash
|
|
85
|
+
npx -y @fleox/agentphoto@0.1.0 analyze --project trip # brightness, range, colour cast… + suggested filters
|
|
86
|
+
npx -y @fleox/agentphoto@0.1.0 filter add photo --type shadowsHighlights --set shadows=30 --project trip
|
|
87
|
+
npx -y @fleox/agentphoto@0.1.0 remove-bg photo --background "#ffffff" --project trip
|
|
88
|
+
npx -y @fleox/agentphoto@0.1.0 render --project trip --compare # → renders/preview-before.png + preview.png
|
|
89
|
+
npx -y @fleox/agentphoto@0.1.0 export --project trip --format webp --quality 82
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
Step by step: [docs/getting-started.md](https://github.com/fleox/agentphoto/blob/main/docs/getting-started.md).
|
|
93
|
+
|
|
94
|
+
## What you can ask
|
|
95
|
+
|
|
96
|
+
> *Here's `~/Desktop/mug.jpg`: remove the background, put it on white with a soft shadow, square, 2000 px for my shop.*<br>
|
|
97
|
+
> *This photo is too dark and a bit orange. Fix the colours, keep it natural.*<br>
|
|
98
|
+
> *Retouch my portrait for LinkedIn: smooth the skin a little, open the shadows, not too much. Then make a round avatar.*<br>
|
|
99
|
+
> *Make a YouTube thumbnail from `me.jpg`: "I tried it for 30 days", cut me out with a white outline, bold colours.*<br>
|
|
100
|
+
> *Turn this landscape into an Instagram post with the caption "Slow mornings at the lake", a story version too.*<br>
|
|
101
|
+
> *Give it a film look, then a black and white version with grain. Show me both.*<br>
|
|
102
|
+
> *Blur the background behind my cat.*<br>
|
|
103
|
+
> *Export it as WebP under 150 KB for my blog, and an Open Graph image.*
|
|
104
|
+
|
|
105
|
+
## Examples
|
|
106
|
+
|
|
107
|
+
Real before / after renders from the commands in [docs/retouching.md](https://github.com/fleox/agentphoto/blob/main/docs/retouching.md), on the built-in CC0 sample photos.
|
|
108
|
+
|
|
109
|
+
<table>
|
|
110
|
+
<tr>
|
|
111
|
+
<td width="50%" valign="top"><img src="https://raw.githubusercontent.com/fleox/agentphoto/main/docs/images/color-correction.jpg" alt="Before and after colour correction of a burger photo: deeper blacks, cleaner whites, warmer bread, more vivid vegetables"><p align="center"><b>Colour correction</b>: levels, a gentle S-curve, white balance, vibrance, sharpening</p></td>
|
|
112
|
+
<td width="50%" valign="top"><img src="https://raw.githubusercontent.com/fleox/agentphoto/main/docs/images/retouch-portrait.jpg" alt="Before and after crops of a portrait retouch: smoother skin that keeps its texture, open shadows, warmer tones"><p align="center"><b>Portrait retouch</b>: skin selected with Segment Anything points, surface blur on a masked copy, shadows / highlights</p></td>
|
|
113
|
+
</tr>
|
|
114
|
+
<tr>
|
|
115
|
+
<td width="50%" valign="top"><img src="https://raw.githubusercontent.com/fleox/agentphoto/main/docs/images/youtube-thumbnail.jpg" alt="A YouTube thumbnail: bold condensed white title, a yellow label, the subject cut out with a white outline on a purple to pink gradient"><p align="center"><b>YouTube thumbnail</b>: the <code>youtube-thumbnail</code> template + your photo + <code>remove-bg</code></p></td>
|
|
116
|
+
<td width="50%" valign="top"><img src="https://raw.githubusercontent.com/fleox/agentphoto/main/docs/images/og-card.jpg" alt="A link preview card: a dark slate panel with a serif headline Find your quiet place, and a mountain lake photo fading in from the right"><p align="center"><b>Link preview (1200×630)</b>: a gradient mask fades the photo into the text panel</p></td>
|
|
117
|
+
</tr>
|
|
118
|
+
</table>
|
|
119
|
+
|
|
120
|
+
### Templates
|
|
121
|
+
|
|
122
|
+
| | | | |
|
|
123
|
+
|---|---|---|---|
|
|
124
|
+
| <img src="https://raw.githubusercontent.com/fleox/agentphoto/main/templates/youtube-thumbnail/preview.jpg" width="200" alt="YouTube thumbnail template"><br>`youtube-thumbnail` 1280×720 | <img src="https://raw.githubusercontent.com/fleox/agentphoto/main/templates/og-article/preview.jpg" width="200" alt="Article link preview template"><br>`og-article` 1200×630 | <img src="https://raw.githubusercontent.com/fleox/agentphoto/main/templates/social-quote/preview.jpg" width="200" alt="Quote post template"><br>`social-quote` 1080×1080 | <img src="https://raw.githubusercontent.com/fleox/agentphoto/main/templates/story-promo/preview.jpg" width="200" alt="Story promo template"><br>`story-promo` 1080×1920 |
|
|
125
|
+
| <img src="https://raw.githubusercontent.com/fleox/agentphoto/main/templates/sale-banner/preview.jpg" width="200" alt="Sale banner template"><br>`sale-banner` 1920×600 | <img src="https://raw.githubusercontent.com/fleox/agentphoto/main/templates/polaroid/preview.jpg" width="200" alt="Polaroid template"><br>`polaroid` 1080×1350 | <img src="https://raw.githubusercontent.com/fleox/agentphoto/main/templates/avatar-pro/preview.jpg" width="200" alt="Professional avatar template"><br>`avatar-pro` 800×800 | <img src="https://raw.githubusercontent.com/fleox/agentphoto/main/templates/product-white/preview.jpg" width="200" alt="Product on white template"><br>`product-white` 2000×2000 |
|
|
126
|
+
|
|
127
|
+
`agentphoto new my-post --template <id> --image ./photo.jpg` puts your photo into the template's slot, with its framing, filters and effects.
|
|
128
|
+
|
|
129
|
+
## How it works
|
|
130
|
+
|
|
131
|
+
```text
|
|
132
|
+
You / your agent ──► Studio · agentphoto CLI · MCP server · Studio assistant
|
|
133
|
+
│ (one AI tool catalog)
|
|
134
|
+
▼
|
|
135
|
+
src/ops — validate, patch, crop / resize, check, plan exports (pure TypeScript)
|
|
136
|
+
│
|
|
137
|
+
project folder: photo.json · assets/ (images, masks) · renders/ · dist/
|
|
138
|
+
│
|
|
139
|
+
src/engine — compositor, filters, looks, text, effects, local AI
|
|
140
|
+
in your own Chrome (headless) or the Studio page
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
All the rules live in one engine. The Studio, the CLI, the MCP server and the Studio assistant are four front doors to it, so an agent can do exactly what you can do in the editor, with the same validation.
|
|
144
|
+
|
|
145
|
+
A picture is **data**: `photo.json` lists layers bottom to top (image, text, shape, fill, adjustment, group), each with its box, opacity, blend mode, mask, filters and effects. The render is a pure function of (document, files, fonts). That is what makes the loop work: the agent patches the JSON, `render` composites it in headless Chrome and writes a PNG, the agent **looks** at it, fixes, runs `check` (missing files, layers off the canvas, upscaled photos, text overflow, licences) and exports PNG / JPEG / WebP at any size. Nothing is ever baked: every filter, mask and cut-out can be changed or removed later. Details: [architecture](https://github.com/fleox/agentphoto/blob/main/docs/architecture.md) and the [document format](https://github.com/fleox/agentphoto/blob/main/docs/document-format.md).
|
|
146
|
+
|
|
147
|
+
```json
|
|
148
|
+
{ "id": "correct", "type": "adjustment", "filters": [
|
|
149
|
+
{ "type": "levels", "black": 20, "white": 235 },
|
|
150
|
+
{ "type": "temperature", "temperature": -8 },
|
|
151
|
+
{ "type": "look", "look": "film", "amount": 0.6 }
|
|
152
|
+
] }
|
|
153
|
+
```
|
|
154
|
+
|
|
155
|
+
## The Studio
|
|
156
|
+
|
|
157
|
+
A visual editor for when you want to see and touch the picture yourself, on the same files and with the same validated tools as the agent. Changes your agent makes in a terminal appear live in the open Studio.
|
|
158
|
+
|
|
159
|
+
```bash
|
|
160
|
+
npx -y @fleox/agentphoto@0.1.0 studio --project trip
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+

|
|
164
|
+
|
|
165
|
+
Canvas with move / transform, crop, brush, eraser, clone stamp, marquee, lasso, magic wand, quick AI select (Segment Anything), text, shape and eyedropper tools, layers panel, inspector (properties, filters with a curve editor, looks, layer effects, masks), AI cut-out and masks in the page, export dialog, templates gallery, undo / redo, in English or French. An optional assistant panel calls the Claude API from your browser with your own key, over the same tools. See [docs/studio.md](https://github.com/fleox/agentphoto/blob/main/docs/studio.md).
|
|
166
|
+
|
|
167
|
+
## The `agentphoto` CLI
|
|
168
|
+
|
|
169
|
+
The same engine the agents use, by hand: `npx -y @fleox/agentphoto@0.1.0 help`. Every command accepts `--json` and prints exactly one `{ ok, data }` or `{ ok: false, error }` object with an actionable hint; commands that remove or overwrite something print a plan until you add `--yes`.
|
|
170
|
+
|
|
171
|
+
| Area | Commands |
|
|
172
|
+
|---|---|
|
|
173
|
+
| Project | `new <dir> [--image] [--template] [--size]`, `info`, `templates list\|show`, `doctor`, `version`, `help` |
|
|
174
|
+
| Edit | `doc get\|summary\|apply\|patch\|validate`, `layer list\|get\|add\|update\|remove\|move`, `filter add\|update\|remove`, `mask set\|clear\|generate`, `remove-bg`, `catalog [section] [id]` |
|
|
175
|
+
| Look at it | `analyze`, `render [--compare] [--layer] [--zoom]`, `check`, `studio` |
|
|
176
|
+
| Ship | `export [--format] [--quality] [--preset] [--width\|--height\|--scale] [--fit] [--variants]` |
|
|
177
|
+
| Files and models | `assets list\|add\|remove\|library`, `models list\|pull\|remove` |
|
|
178
|
+
| AI | `tools list\|call`, `mcp [--read-only]` |
|
|
179
|
+
|
|
180
|
+
Full reference: [docs/cli.md](https://github.com/fleox/agentphoto/blob/main/docs/cli.md).
|
|
181
|
+
|
|
182
|
+
## MCP server
|
|
183
|
+
|
|
184
|
+
```bash
|
|
185
|
+
claude mcp add agentphoto -- npx -y @fleox/agentphoto@0.1.0 mcp --project ~/Pictures/my-photo
|
|
186
|
+
```
|
|
187
|
+
|
|
188
|
+
**Tools** are the shared AI catalog: project info and creation, document summary / get / patch / apply / validate, layers, filters, masks, `remove_background`, `mask_generate`, `image_analyze`, catalog and templates lookups, assets, `check` and `export`, plus **`render_preview`**, which returns the render as an **image** so multimodal models see their work. **Resources**: `photo://doc`, `photo://summary`, `photo://catalog`. Claude Desktop, Cursor and Hermes configuration: [docs/mcp.md](https://github.com/fleox/agentphoto/blob/main/docs/mcp.md).
|
|
189
|
+
|
|
190
|
+
## Privacy
|
|
191
|
+
|
|
192
|
+
- **Local.** Projects are folders on your disk; editing, previews, analysis, AI and exports run on your computer, in Node.js and your own browser engine.
|
|
193
|
+
- **No upload.** Your photos are never sent anywhere. The AI models come to the photos: they download **once** from Hugging Face into `~/.cache/agentphoto/models` and then run offline.
|
|
194
|
+
- **Nothing else phones home.** No account, no telemetry, no update check, no CDN, no web fonts. The only other network uses are importing an image from a URL you give, and the optional Studio assistant (your own Claude API key, to `api.anthropic.com`).
|
|
195
|
+
- **Non-destructive.** Source files are copied, never modified; AI masks are new files.
|
|
196
|
+
|
|
197
|
+
Details: [docs/security.md](https://github.com/fleox/agentphoto/blob/main/docs/security.md).
|
|
198
|
+
|
|
199
|
+
## Documentation
|
|
200
|
+
|
|
201
|
+
| | |
|
|
202
|
+
|---|---|
|
|
203
|
+
| [Getting started](https://github.com/fleox/agentphoto/blob/main/docs/getting-started.md) | Install, a first edit in six commands, using it from an agent |
|
|
204
|
+
| [Retouching recipes](https://github.com/fleox/agentphoto/blob/main/docs/retouching.md) | Colour correction, portrait retouch, product cut-out on white, social formats |
|
|
205
|
+
| [Document format](https://github.com/fleox/agentphoto/blob/main/docs/document-format.md) · [Catalog](https://github.com/fleox/agentphoto/blob/main/docs/catalog.md) | `photo.json` field by field; every filter, look, effect, font and size preset |
|
|
206
|
+
| [Studio](https://github.com/fleox/agentphoto/blob/main/docs/studio.md) · [Studio API](https://github.com/fleox/agentphoto/blob/main/docs/studio-api.md) | The visual editor; its local REST API |
|
|
207
|
+
| [CLI](https://github.com/fleox/agentphoto/blob/main/docs/cli.md) · [MCP](https://github.com/fleox/agentphoto/blob/main/docs/mcp.md) | Every command; MCP clients |
|
|
208
|
+
| [Architecture](https://github.com/fleox/agentphoto/blob/main/docs/architecture.md) · [Security and privacy](https://github.com/fleox/agentphoto/blob/main/docs/security.md) | The engine and the render loop; what touches the network |
|
|
209
|
+
| [AGENTS.md](https://github.com/fleox/agentphoto/blob/main/AGENTS.md) | Instructions for AI agents working on this repository |
|
|
210
|
+
|
|
211
|
+
## Contributing
|
|
212
|
+
|
|
213
|
+
Bug reports and ideas are welcome: [open an issue](https://github.com/fleox/agentphoto/issues).
|
|
214
|
+
|
|
215
|
+
```bash
|
|
216
|
+
npm install
|
|
217
|
+
npm run dev # the Studio (projects in the browser)
|
|
218
|
+
npm test # Vitest
|
|
219
|
+
npm run build # engine + Studio + CLI
|
|
220
|
+
```
|
|
221
|
+
|
|
222
|
+
## License
|
|
223
|
+
|
|
224
|
+
Source-available under the [PolyForm Noncommercial License 1.0.0](https://github.com/fleox/agentphoto/blob/main/LICENSE). Personal, hobbyist, educational, research and other noncommercial use is free, and you can fork, modify and redistribute under the same terms.
|
|
225
|
+
|
|
226
|
+
**Commercial use requires written authorization.** This includes selling the software or hosting it as a paid service. For a commercial license, [open an issue](https://github.com/fleox/agentphoto/issues).
|
|
227
|
+
|
|
228
|
+
**AI models** are downloaded from Hugging Face under their own licences: **RMBG-1.4** (BRIA AI, the default background remover) is **non-commercial only** (`bria-rmbg-1.4` licence; commercial use needs a licence from BRIA); **MODNet**, **SlimSAM** and **SAM** are **Apache-2.0**. `agentphoto models list` shows each one.
|
|
229
|
+
|
|
230
|
+
**Bundled content**: fonts under the SIL Open Font License 1.1 (Roboto Slab: Apache-2.0) and sample photos under CC0 1.0; see [library/LICENSES.md](https://github.com/fleox/agentphoto/blob/main/library/LICENSES.md). AgentPhoto runs the models with [transformers.js](https://github.com/huggingface/transformers.js) and [ONNX Runtime Web](https://onnxruntime.ai) (Apache-2.0 / MIT).
|
package/changelog.json
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"versions": [
|
|
3
|
+
{
|
|
4
|
+
"version": "0.1.0",
|
|
5
|
+
"date": "2026-11-23",
|
|
6
|
+
"breaking": false,
|
|
7
|
+
"changes": [
|
|
8
|
+
"First release: the PhotoDoc format (photo.json, a non-destructive layer stack of image, text, shape, fill, adjustment and group layers with masks, filters, looks and layer effects), validated against one catalog with \"did you mean\" hints.",
|
|
9
|
+
"Engine: 28 filters (light, tone, colour, blur, detail, stylize, auto), 20 looks, 5 layer effects, 16 blend modes, 15 bundled fonts, 13 size presets; headless renders in the installed Chrome.",
|
|
10
|
+
"Local AI: background removal (RMBG-1.4, MODNet) and Segment Anything masks (SlimSAM, SAM base) from points or a box, plus colour-range masks; models download once into ~/.cache/agentphoto/models.",
|
|
11
|
+
"CLI `agentphoto` (JSON output with hints, plans before destructive changes), MCP server (render_preview returns the image), 8 templates, CC0 sample photos, the Studio and four Claude Code skills (agentphoto-retouch, agentphoto-cutout, agentphoto-design, agentphoto-publish).",
|
|
12
|
+
"Hermes Agent skills (hermes/skills, generated from the Claude Code skills) with a stdlib Python wrapper of the CLI (agentphoto.py) and helpers: open_photo.py, cutout.py, render_and_check.py, export_set.py."
|
|
13
|
+
],
|
|
14
|
+
"actions": []
|
|
15
|
+
}
|
|
16
|
+
]
|
|
17
|
+
}
|