replicate-javascript icon indicating copy to clipboard operation
replicate-javascript copied to clipboard

Node.js client for Replicate

Results 25 replicate-javascript issues
Sort by recently updated
recently updated
newest added

Hey, I'm a noob so please be gentle. I want to add LORA/weight to an instance of SDXL. I'm using `replicate-javascript` to run an SDXL model. I trained a different...

> The [`@since`](https://jsdoc.app/tags-since.html) tag indicates that a class, method, or other symbol was added in a specific version. > > ```js > /** > * Provides access to user information....

Streaming is now enabled by default for all predictions. For more information, see https://replicate.com/changelog/2024-07-15-streams-always-available-stream-parameter-deprecated

Hello, for your information I get this message when I use the library in a Next project (`replicate 0.30.2` with `Next 14.2.3` or `Next 14.2.4` - I haven't tested older...

This PR implements a new `strict` option that can be passed to `run()` to coerce the output into the same data types as defined by the model schema. ```js const...

From https://docs.deno.com/runtime/manual/basics/modules/#remote-import: > [import](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import) allows you to include and use modules held elsewhere, on your local file system or remotely. ```js import replicate from "https://replicate.com" import sd3 from "https://replicate.com/stability-ai/stable-diffusion-3" const...

enhancement

From https://bun.sh/docs/bundler/macros: > Macros are a mechanism for running JavaScript functions at bundle-time. The value returned from these functions are directly inlined into your bundle. We could use this to...

enhancement

This morning meta/meta-llama-3-70b-instruct was failing to run. I tried adding `wait` param to make it fail if no response comes in 10s but it hasn't changed anything. `const output =...

Hi all, I have an Expo application that I created from scratch `npx create-expo-app@latest ./ --template` and added a function to touch LLama model with this. ``` javascript import Replicate...