Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
pipeline_tag: image-to-image
|
3 |
+
---import Replicate from 'replicate';
|
4 |
+
const replicate = new Replicate();
|
5 |
+
|
6 |
+
const input = {
|
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 |
+
const output = await replicate.run("fofr/face-to-many:35cea9c3164d9fb7fbd48b51503eabdb39c9d04fdaef9a68f368bed8087ec5f9", { input });
|
14 |
+
console.log(output)
|
15 |
+
//=> ["https://replicate.delivery/pbxt/R1ayGe5efoQbaoRzgDEJdLs...
|