@runpod/ai-sdk-provider 0.3.2 → 0.3.3
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/CHANGELOG.md +6 -0
- package/README.md +3 -11
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -2,8 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
The **Runpod provider** for the [AI SDK](https://ai-sdk.dev/docs) contains language model and image generation support for [Runpod's](https://runpod.io) public endpoints.
|
|
4
4
|
|
|
5
|
-
Runpod is the foundation for developers to build, deploy, and scale custom AI systems.
|
|
6
|
-
|
|
7
5
|
## Setup
|
|
8
6
|
|
|
9
7
|
The Runpod provider is available in the `@runpod/ai-sdk-provider` module. You can install it with:
|
|
@@ -166,7 +164,6 @@ const { object } = await generateObject({
|
|
|
166
164
|
## Image Models
|
|
167
165
|
|
|
168
166
|
You can create Runpod image models using the `.imageModel()` factory method.
|
|
169
|
-
For more on image generation with the AI SDK see [generateImage()](/docs/reference/ai-sdk-core/generate-image).
|
|
170
167
|
|
|
171
168
|
### Basic Usage
|
|
172
169
|
|
|
@@ -303,13 +300,8 @@ Runpod image models support flexible provider options through the `providerOptio
|
|
|
303
300
|
| `maxPollAttempts` | `number` | `60` | Maximum polling attempts for async generation |
|
|
304
301
|
| `pollIntervalMillis` | `number` | `5000` | Polling interval in milliseconds (5 seconds) |
|
|
305
302
|
|
|
306
|
-
##
|
|
307
|
-
|
|
308
|
-
Runpod offers public endpoints (everything above), custom serverless endpoints / pods / clusters and a hub of open-source AI repositories including ComfyUI, Axolotl, FLUX.1-dev-juiced, Chatterbox, vLLM, and SGLang.
|
|
303
|
+
## About Runpod
|
|
309
304
|
|
|
310
|
-
|
|
305
|
+
[Runpod](https://runpod.io) is the foundation for developers to build, deploy, and scale custom AI systems.
|
|
311
306
|
|
|
312
|
-
|
|
313
|
-
- [Runpod Public Endpoints Documentation](https://docs.runpod.io/hub/public-endpoints)
|
|
314
|
-
- [AI SDK Documentation](https://ai-sdk.dev/docs)
|
|
315
|
-
- [GitHub Repository](https://github.com/runpod/ai-sdk-provider)
|
|
307
|
+
Beyond some of the public endpoints you've seen above (+ more generative media apis), Runpod offers custom [serverless endpoints](https://docs.runpod.io/serverless/overview), dedicated [pods](https://docs.runpod.io/pods/overview) and [instant clusters](https://docs.runpod.io/instant-clusters), [fine-tuning](https://docs.runpod.io/fine-tune), and a comprehensive [hub of open-source AI repos](https://docs.runpod.io/hub/overview) (like ComfyUI, Axolotl, FLUX.1-dev-juiced, Chatterbox, vLLM or SGLang).
|