@proveanything/smartlinks 1.17.4 → 1.17.5
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/dist/docs/API_SUMMARY.md
CHANGED
|
@@ -147,7 +147,7 @@ _Capabilities: web:read_
|
|
|
147
147
|
|
|
148
148
|
### `image.generate`
|
|
149
149
|
|
|
150
|
-
Generate a new image from a text prompt. Returns
|
|
150
|
+
Generate a new image from a text prompt. Returns a stable hosted image URL (hostedUrl).
|
|
151
151
|
|
|
152
152
|
_Capabilities: ai:image_
|
|
153
153
|
|
|
@@ -156,6 +156,18 @@ _Capabilities: ai:image_
|
|
|
156
156
|
- `size` — string: e.g. "1024x1024".
|
|
157
157
|
- `provider` — `openai` | `gemini`: Image model provider.
|
|
158
158
|
|
|
159
|
+
### `image.fromReference`
|
|
160
|
+
|
|
161
|
+
Generate a new image guided by one or more reference images plus a prompt (image-to-image). Use to restyle, combine, or vary existing images. Returns a stable hosted image URL (hostedUrl).
|
|
162
|
+
|
|
163
|
+
_Capabilities: ai:image_
|
|
164
|
+
|
|
165
|
+
**Parameters**
|
|
166
|
+
- `prompt` _(required)_ — string: How to transform / what to create from the reference(s).
|
|
167
|
+
- `imageUrls` _(required)_ — array: Reference image URL(s) to guide generation.
|
|
168
|
+
- `size` — string: e.g. "1024x1024".
|
|
169
|
+
- `model` — string: Image model (default gpt-image-1).
|
|
170
|
+
|
|
159
171
|
### `image.searchStock`
|
|
160
172
|
|
|
161
173
|
Search stock photography (Unsplash) for real photos matching a query. Returns candidate image URLs.
|
package/docs/API_SUMMARY.md
CHANGED
|
@@ -147,7 +147,7 @@ _Capabilities: web:read_
|
|
|
147
147
|
|
|
148
148
|
### `image.generate`
|
|
149
149
|
|
|
150
|
-
Generate a new image from a text prompt. Returns
|
|
150
|
+
Generate a new image from a text prompt. Returns a stable hosted image URL (hostedUrl).
|
|
151
151
|
|
|
152
152
|
_Capabilities: ai:image_
|
|
153
153
|
|
|
@@ -156,6 +156,18 @@ _Capabilities: ai:image_
|
|
|
156
156
|
- `size` — string: e.g. "1024x1024".
|
|
157
157
|
- `provider` — `openai` | `gemini`: Image model provider.
|
|
158
158
|
|
|
159
|
+
### `image.fromReference`
|
|
160
|
+
|
|
161
|
+
Generate a new image guided by one or more reference images plus a prompt (image-to-image). Use to restyle, combine, or vary existing images. Returns a stable hosted image URL (hostedUrl).
|
|
162
|
+
|
|
163
|
+
_Capabilities: ai:image_
|
|
164
|
+
|
|
165
|
+
**Parameters**
|
|
166
|
+
- `prompt` _(required)_ — string: How to transform / what to create from the reference(s).
|
|
167
|
+
- `imageUrls` _(required)_ — array: Reference image URL(s) to guide generation.
|
|
168
|
+
- `size` — string: e.g. "1024x1024".
|
|
169
|
+
- `model` — string: Image model (default gpt-image-1).
|
|
170
|
+
|
|
159
171
|
### `image.searchStock`
|
|
160
172
|
|
|
161
173
|
Search stock photography (Unsplash) for real photos matching a query. Returns candidate image URLs.
|