Tabiboott commited on
Commit
13780a1
·
verified ·
1 Parent(s): 8d1d631

Create README.md

Browse files

![IMG_9938.jpeg](https://cdn-uploads.huggingface.co/production/uploads/65fe3e507d7b55302c27fbf5/ZueHgaIErUfHUc5KhyOyH.jpeg)

Files changed (1) hide show
  1. README.md +15 -0
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...