@framers/agentos-skills 0.8.0 → 0.9.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/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: image-gen
|
|
3
3
|
version: '2.0.0'
|
|
4
|
-
description: Generate, edit, upscale, and
|
|
4
|
+
description: Generate, edit, upscale, variate, and style-transfer images using the AgentOS multi-provider image pipeline with automatic fallback and character consistency.
|
|
5
5
|
author: Wunderland
|
|
6
6
|
namespace: wunderland
|
|
7
7
|
category: creative
|
|
@@ -17,14 +17,15 @@ metadata:
|
|
|
17
17
|
|
|
18
18
|
# AI Image Generation Workflow
|
|
19
19
|
|
|
20
|
-
Use this skill when the user wants to create, edit, upscale, or create variations of images. AgentOS provides
|
|
20
|
+
Use this skill when the user wants to create, edit, upscale, style-transfer, or create variations of images. AgentOS provides five high-level APIs that route to any configured provider with automatic fallback when multiple providers have credentials set.
|
|
21
21
|
|
|
22
|
-
## The
|
|
22
|
+
## The Five High-Level APIs
|
|
23
23
|
|
|
24
|
-
1. **`generateImage()`** — Create new images from text prompts.
|
|
24
|
+
1. **`generateImage()`** — Create new images from text prompts. Supports `referenceImageUrl` for character consistency.
|
|
25
25
|
2. **`editImage()`** — Transform existing images via img2img, inpainting, or outpainting.
|
|
26
26
|
3. **`upscaleImage()`** — Increase resolution (2x or 4x super-resolution).
|
|
27
27
|
4. **`variateImage()`** — Generate visual variations of an existing image.
|
|
28
|
+
5. **`transferStyle()`** — Apply the visual aesthetic of a reference image to a source image via Flux Redux.
|
|
28
29
|
|
|
29
30
|
If the `generate_image` tool is not loaded, enable it with `extensions_enable image-generation`.
|
|
30
31
|
|
|
@@ -54,6 +55,19 @@ Use this to pick the right API for the user's request:
|
|
|
54
55
|
- **"Extend / expand the borders"** -> `editImage()` with `mode: 'outpaint'`
|
|
55
56
|
- **"Make it higher resolution / sharper"** -> `upscaleImage()` with `scale: 2` or `4`
|
|
56
57
|
- **"Show me variations / alternatives"** -> `variateImage()` with `n: 3-4`
|
|
58
|
+
- **"Make it look like this style"** -> `transferStyle()` with source image + style reference
|
|
59
|
+
- **"Same character but different expression/pose"** -> `generateImage()` with `referenceImageUrl` + `consistencyMode: 'strict'`
|
|
60
|
+
- **"Generate a character sheet / expression sheet"** -> Use the `AvatarPipeline` which handles multi-stage consistency automatically
|
|
61
|
+
|
|
62
|
+
## Character Consistency
|
|
63
|
+
|
|
64
|
+
When the user wants the same character across multiple images, use `referenceImageUrl` and `consistencyMode`:
|
|
65
|
+
|
|
66
|
+
- `'strict'` — Face must match exactly. Best for expression sheets. Auto-selects Pulid on Replicate.
|
|
67
|
+
- `'balanced'` — Recognizable but allows natural variation. Good for full-body shots and different angles.
|
|
68
|
+
- `'loose'` — Light influence from the reference. Good for "inspired by" mood pieces.
|
|
69
|
+
|
|
70
|
+
Supported providers: **Replicate** (Pulid, IP-Adapter), **Fal** (IP-Adapter), **SD-Local** (ControlNet). OpenAI/Stability ignore the field gracefully.
|
|
57
71
|
|
|
58
72
|
## Prompt Engineering Tips
|
|
59
73
|
|