File tree Expand file tree Collapse file tree 1 file changed +5
-12
lines changed Expand file tree Collapse file tree 1 file changed +5
-12
lines changed Original file line number Diff line number Diff line change 1- # Replicate JavaScript client
1+ # Replicate Node.js client
22
3- SDK for [ Replicate’s REST API ] ( https://replicate.com/docs/reference/http ) .
3+ A Node.js client for [ Replicate] ( https://replicate.com ) . It lets you run models from your Node.js code, and do various other things on Replicate .
44
55## Installation
66
7- This is not on npm yet, but you can install it from GitHub :
7+ Install it from npm :
88
99``` bash
10- npm install replicate/replicate-javascript
10+ npm install replicate
1111```
1212
1313## Usage
@@ -31,7 +31,7 @@ const input = { text: "Hello, world!" };
3131const output = await replicate .run (model, { input });
3232```
3333
34- You can also run a model without awaiting the result :
34+ You can also run a model in the backround :
3535
3636``` js
3737let prediction = await replicate .predictions .create ({
@@ -55,13 +55,6 @@ Or wait for the prediction to finish:
5555prediction = await replicate .wait (prediction);
5656```
5757
58- ## Features
59-
60- - [x] async API
61- - [x] Type annotations
62- - [x] Tests
63- - [x] Pagination
64-
6558## API
6659
6760### Constructor
You can’t perform that action at this time.
0 commit comments