@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.
@@ -1,6 +1,6 @@
1
1
  # Smartlinks API Summary
2
2
 
3
- Version: 1.17.4 | Generated: 2026-09-13T17:10:55.335Z
3
+ Version: 1.17.5 | Generated: 2026-09-13T17:21:14.684Z
4
4
 
5
5
  This is a concise summary of all available API functions and types.
6
6
 
@@ -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 the generated image (url or base64).
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.
@@ -1,6 +1,6 @@
1
1
  # Smartlinks API Summary
2
2
 
3
- Version: 1.17.4 | Generated: 2026-09-13T17:10:55.335Z
3
+ Version: 1.17.5 | Generated: 2026-09-13T17:21:14.684Z
4
4
 
5
5
  This is a concise summary of all available API functions and types.
6
6
 
@@ -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 the generated image (url or base64).
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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@proveanything/smartlinks",
3
- "version": "1.17.4",
3
+ "version": "1.17.5",
4
4
  "description": "Official JavaScript/TypeScript SDK for the Smartlinks API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",