@fungi.computer/prints 0.11.0 → 0.13.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/README.md +26 -12
- package/dist/assets/index-DyNM9Awp.css +2 -0
- package/dist/assets/index-RLd63RPV.js +1268 -0
- package/dist/assets/local-images-B0R6C1Ge.js +8 -0
- package/dist/assets/log-event-B71X06Dj.js +76 -0
- package/dist/assets/print-cost-B1OI2rGk.js +1 -0
- package/dist/assets/{print-download-button-BOD2H-Xo.js → print-download-button-Bac3zE4L.js} +3 -3
- package/dist/assets/print-info-drawer-DLNkJKJO.js +2 -0
- package/dist/index.html +5 -5
- package/package.json +14 -12
- package/dist/assets/data-list-C1ZJzFIa.js +0 -1
- package/dist/assets/index-B6hDdk8u.js +0 -3
- package/dist/assets/index-D7S-Vf-N.css +0 -2
- package/dist/assets/log-event-DMyf-0Cc.js +0 -8
- package/dist/assets/media-CFrkAVYT.js +0 -76
- package/dist/assets/print-info-drawer-PnUdSKK7.js +0 -2
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Prints generates images and video from a prompt and keeps them in a gallery on
|
|
4
4
|
your Computer.
|
|
5
5
|
|
|
6
|
-

|
|
7
7
|
|
|
8
8
|
Prints is one of the starter Apps of
|
|
9
9
|
[Oyster](https://github.com/fungi-computer/oyster), the open App host that runs
|
|
@@ -18,6 +18,13 @@ Container.
|
|
|
18
18
|
otherwise, MP4 for video.
|
|
19
19
|
- Add your own images as style references, on models that accept them.
|
|
20
20
|
- Upload files into the same folder, or choose another folder for the gallery.
|
|
21
|
+
- Organize inside your folder. The Library rail shows the folder as a tree, with
|
|
22
|
+
**All prints** and **Favorites** above it. Make folders such as Characters and
|
|
23
|
+
Locations, drag prints and folders onto them, rename them from the row menu,
|
|
24
|
+
or choose **Select** and **Move to…**; **Undo** puts a move back. A heart
|
|
25
|
+
favorites a print for your whole Team. Folders are real folders on the
|
|
26
|
+
Computer, so Inkcap and your Agents see them too. New prints and uploads land
|
|
27
|
+
in the folder you are viewing.
|
|
21
28
|
- Browse the gallery newest first. Click a picture to see it fitted inside
|
|
22
29
|
Prints; **Left** and **Right** step through the loaded wall, and **Esc**
|
|
23
30
|
returns to the last-viewed tile. **Open in Inkcap** is an explicit editing
|
|
@@ -52,7 +59,7 @@ Container.
|
|
|
52
59
|
window's status bar. A retry resumes the same attempt instead of generating
|
|
53
60
|
again, and **Resume** picks up an unfinished image after a reload.
|
|
54
61
|
|
|
55
|
-
<img alt="Prints on a phone in the light theme: a two-column
|
|
62
|
+
<img alt="Prints on a phone in the light theme: the Folders button, the Folder, All and Favorites switch, folder tiles and a two-column wall above the prompt bar" src="docs/media/gallery-phone.png" width="300">
|
|
56
63
|
|
|
57
64
|
## Get it
|
|
58
65
|
|
|
@@ -101,16 +108,23 @@ Agents call Prints through Oyster's MCP endpoint, or at
|
|
|
101
108
|
`POST $OYSTER_URL/apps/prints/methods/<name>` with a key; see
|
|
102
109
|
[Git, keys and MCP](https://github.com/fungi-computer/oyster#git-keys-and-mcp).
|
|
103
110
|
|
|
104
|
-
| Method | What it does
|
|
105
|
-
| ---------------- |
|
|
106
|
-
| `listModels` | Lists the image and video models, with their sizes, settings and how many references each takes.
|
|
107
|
-
| `generateImage` | Generates one image from a prompt and saves it to the gallery folder. Optional `characters` names saved characters to keep consistent.
|
|
108
|
-
| `generateVideo` | Generates one video. While it works, the method returns `{kind: "pending", retryAfterMs}`; call again with the same inputs after that delay.
|
|
109
|
-
| `listCharacters` | Lists the saved characters: name, description and reference image paths. Use the names as `characters` or `@name`.
|
|
110
|
-
| `listStyles` | Lists the saved and built-in styles: name and text. Use a name as `style`.
|
|
111
|
-
| `listOutputs` | Lists the prints this App made, newest first.
|
|
112
|
-
| `getOutput` | Reads one print by file path: its prompt, model, characters, style and the reference images it used.
|
|
113
|
-
| `openOutput` | Reads up to 128 KiB of one print per call.
|
|
111
|
+
| Method | What it does |
|
|
112
|
+
| ---------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
113
|
+
| `listModels` | Lists the image and video models, with their sizes, settings and how many references each takes. |
|
|
114
|
+
| `generateImage` | Generates one image from a prompt and saves it to the gallery folder. Optional `characters` names saved characters to keep consistent. |
|
|
115
|
+
| `generateVideo` | Generates one video. While it works, the method returns `{kind: "pending", retryAfterMs}`; call again with the same inputs after that delay. |
|
|
116
|
+
| `listCharacters` | Lists the saved characters: name, description and reference image paths. Use the names as `characters` or `@name`. |
|
|
117
|
+
| `listStyles` | Lists the saved and built-in styles: name and text. Use a name as `style`. |
|
|
118
|
+
| `listOutputs` | Lists the prints this App made, newest first. `folder` and `recursive` list one folder or everything under it; each item has its model and a video's duration. |
|
|
119
|
+
| `getOutput` | Reads one print by file path, from any folder: its prompt, model, characters, style and the reference images it used. |
|
|
120
|
+
| `openOutput` | Reads up to 128 KiB of one print per call. |
|
|
121
|
+
| `listFolders` | Lists the sub-folders of a folder in the library. |
|
|
122
|
+
| `moveFiles` | Moves files or folders into a library folder (`createFolder` makes it). Use it instead of `mv`: prints keep their prompt, references and favorite. |
|
|
123
|
+
| `describeFiles` | For up to 24 paths: whether Prints made each file, its model, a video's duration and whether it is a favorite. |
|
|
124
|
+
| `setFavorite` | Favorites or unfavorites files for the whole Team. `listFavorites` lists them. |
|
|
125
|
+
|
|
126
|
+
`generateImage` and `generateVideo` take an optional `folder`, relative to the
|
|
127
|
+
library folder (`Characters/Mira`), and save there; it is created if missing.
|
|
114
128
|
|
|
115
129
|
Each generation carries a request id (`media_request_` and 21 lowercase letters
|
|
116
130
|
or digits). Retrying with the same id and inputs recovers the same generation
|