Update README.md
Browse files
README.md
CHANGED
@@ -1,15 +1,15 @@
|
|
1 |
-
|
2 |
-
pipeline_tag: image-to-image
|
3 |
-
---import Replicate from 'replicate';
|
4 |
-
const replicate = new Replicate();
|
5 |
|
6 |
-
|
7 |
-
image: "https://replicate.delivery/pbxt/KW7Getr2zD5ECxySdBZtLmPa322lNkXrpkMdKcmxeaDmq2b1/MTk4MTczMTkzNzI1Mjg5NjYy.webp",
|
8 |
-
style: "Clay",
|
9 |
-
prompt: "a person in a post apocalyptic war game",
|
10 |
-
instant_id_strength: 0.8
|
11 |
-
}
|
12 |
|
13 |
-
|
14 |
-
|
15 |
-
|
|
|
|
|
|
|
|
1 |
+
import replicate
|
|
|
|
|
|
|
2 |
|
3 |
+
input = {
|
4 |
+
"image": "https://replicate.delivery/pbxt/KW7Getr2zD5ECxySdBZtLmPa322lNkXrpkMdKcmxeaDmq2b1/MTk4MTczMTkzNzI1Mjg5NjYy.webp",
|
5 |
+
"style": "Clay",
|
6 |
+
"prompt": "a person in a post apocalyptic war game",
|
7 |
+
"instant_id_strength": 0.8
|
8 |
+
}
|
9 |
|
10 |
+
output = replicate.run(
|
11 |
+
"fofr/face-to-many:35cea9c3164d9fb7fbd48b51503eabdb39c9d04fdaef9a68f368bed8087ec5f9",
|
12 |
+
input=input
|
13 |
+
)
|
14 |
+
print(output)
|
15 |
+
#=> ["https://replicate.delivery/pbxt/R1ayGe5efoQbaoRzgDEJdLs...
|