Skip to content

Commit 5eccd13

Browse files
committed
Use horse riding astronauts as the example
1 parent 49eb84a commit 5eccd13

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
@@ -26,11 +26,11 @@ const prediction = await replicate
2626
"stability-ai/stable-diffusion:db21e45d3f7023abc2a46ee38a23973f6dce16bb082a930b0c49861f96d1e5bf"
2727
)
2828
.predict({
29-
prompt: "painting of a cat by andy warhol",
29+
prompt: "an astronaut riding on a horse",
3030
});
3131

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

3636
If you want to do something like updating progress while the prediction is
@@ -45,7 +45,7 @@ await replicate
4545
)
4646
.predict(
4747
{
48-
prompt: "painting of a cat by andy warhol",
48+
prompt: "an astronaut riding on a horse",
4949
},
5050
{
5151
onUpdate: (prediction) => {
@@ -66,7 +66,7 @@ const prediction = await replicate
6666
"stability-ai/stable-diffusion:db21e45d3f7023abc2a46ee38a23973f6dce16bb082a930b0c49861f96d1e5bf"
6767
)
6868
.createPrediction({
69-
prompt: "painting of a cat by andy warhol",
69+
prompt: "an astronaut riding on a horse",
7070
});
7171

7272
console.log(prediction.status); // "starting"
@@ -89,7 +89,7 @@ await replicate
8989
)
9090
.createPrediction(
9191
{
92-
prompt: "painting of a cat by andy warhol",
92+
prompt: "an astronaut riding on a horse",
9393
},
9494
{
9595
// See https://replicate.com/docs/reference/http#create-prediction--webhook

0 commit comments

Comments
 (0)