Skip to content

Commit 7af5f51

Browse files
committed
Use horse riding astronauts as the example
1 parent 3e28ba9 commit 7af5f51

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ const prediction = await replicate
2828
"stability-ai/stable-diffusion:db21e45d3f7023abc2a46ee38a23973f6dce16bb082a930b0c49861f96d1e5bf"
2929
)
3030
.predict({
31-
prompt: "painting of a cat by andy warhol",
31+
prompt: "an astronaut riding on a horse",
3232
});
3333

3434
console.log(prediction.output);
35-
// "https://replicate.delivery/pbxt/oeJLu7D1Y7UWESpzerfINqgwZgONSCubSjSw0msf8i4AP2BCB/out-0.png"
35+
// "https://replicate.delivery/pbxt/nSREat5H54rxGJo1kk2xLLG2fpr0NBE0HBD5L0jszLoy8oSIA/out-0.png"
3636
```
3737

3838
If you want to do something like updating progress while the prediction is
@@ -47,7 +47,7 @@ await replicate
4747
)
4848
.predict(
4949
{
50-
prompt: "painting of a cat by andy warhol",
50+
prompt: "an astronaut riding on a horse",
5151
},
5252
{
5353
onUpdate: (prediction) => {
@@ -68,7 +68,7 @@ const prediction = await replicate
6868
"stability-ai/stable-diffusion:db21e45d3f7023abc2a46ee38a23973f6dce16bb082a930b0c49861f96d1e5bf"
6969
)
7070
.createPrediction({
71-
prompt: "painting of a cat by andy warhol",
71+
prompt: "an astronaut riding on a horse",
7272
});
7373

7474
console.log(prediction.status); // "starting"
@@ -91,7 +91,7 @@ await replicate
9191
)
9292
.createPrediction(
9393
{
94-
prompt: "painting of a cat by andy warhol",
94+
prompt: "an astronaut riding on a horse",
9595
},
9696
{
9797
// See https://replicate.com/docs/reference/http#create-prediction--webhook

0 commit comments

Comments
 (0)