fofr/face-to-sticker πŸ”’πŸ–ΌοΈπŸ“βœ“ β†’ πŸ–ΌοΈ

▢️ 1.6M runs πŸ“… Feb 2024 βš™οΈ Cog 0.8.6 πŸ”— GitHub βš–οΈ License
background-removal image-style-transfer image-to-image sticker-generation

About

Turn a face into a sticker

Example Output

Prompt:

"arnold"

Output

Example outputExample output

Performance Metrics

4.83s Prediction Time
4.83s Total Time
All Input Parameters
{
  "image": "https://replicate.delivery/pbxt/KU1AG0cit5nc3xIG1BBZ6DKkhunvvGsZXmEZzuW9HPYVkj8o/MTk4MTczMTkzNzI1Mjg5NjYy.webp",
  "steps": 20,
  "width": 1024,
  "height": 1024,
  "prompt": "arnold",
  "upscale": false,
  "upscale_steps": 10,
  "negative_prompt": "",
  "prompt_strength": 4.5,
  "ip_adapter_noise": 0.5,
  "ip_adapter_weight": 0.2,
  "instant_id_strength": 0.7
}
Input Parameters
seed Type: integer
Fix the random seed for reproducibility
image Type: string
An image of a person to be converted to a sticker
steps Type: integerDefault: 20
width Type: integerDefault: 1024
height Type: integerDefault: 1024
prompt Type: stringDefault: a person
upscale Type: booleanDefault: false
2x upscale the sticker
upscale_steps Type: integerDefault: 10
Number of steps to upscale
negative_prompt Type: stringDefault:
Things you do not want in the image
prompt_strength Type: numberDefault: 7
Strength of the prompt. This is the CFG scale, higher numbers lead to stronger prompt, lower numbers will keep more of a likeness to the original.
ip_adapter_noise Type: numberDefault: 0.5Range: 0 - 1
How much noise is added to the IP adapter input
ip_adapter_weight Type: numberDefault: 0.2Range: 0 - 1
How much the IP adapter will influence the image
instant_id_strength Type: numberDefault: 1Range: 0 - 1
How strong the InstantID will be.
Output Schema

Output

Type: array β€’ Items Type: string β€’ Items Format: uri

Example Execution Logs
Random seed set to: 627633395
Checking inputs
βœ… /tmp/inputs/input.webp
====================================
Running workflow
got prompt
Executing node 4, title: KSampler (Efficient), class type: KSampler (Efficient)
  0%|          | 0/20 [00:00<?, ?it/s]
  5%|β–Œ         | 1/20 [00:00<00:04,  4.13it/s]
 10%|β–ˆ         | 2/20 [00:00<00:04,  4.05it/s]
 15%|β–ˆβ–Œ        | 3/20 [00:00<00:04,  4.04it/s]
 20%|β–ˆβ–ˆ        | 4/20 [00:00<00:03,  4.04it/s]
 25%|β–ˆβ–ˆβ–Œ       | 5/20 [00:01<00:03,  4.06it/s]
 30%|β–ˆβ–ˆβ–ˆ       | 6/20 [00:01<00:03,  4.10it/s]
 35%|β–ˆβ–ˆβ–ˆβ–Œ      | 7/20 [00:01<00:03,  4.14it/s]
 40%|β–ˆβ–ˆβ–ˆβ–ˆ      | 8/20 [00:01<00:02,  4.15it/s]
 45%|β–ˆβ–ˆβ–ˆβ–ˆβ–Œ     | 9/20 [00:02<00:02,  4.16it/s]
 50%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆ     | 10/20 [00:02<00:02,  4.16it/s]
 55%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Œ    | 11/20 [00:02<00:02,  4.16it/s]
 60%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ    | 12/20 [00:02<00:01,  4.47it/s]
 65%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Œ   | 13/20 [00:03<00:01,  4.70it/s]
 70%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ   | 14/20 [00:03<00:01,  4.87it/s]
 75%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Œ  | 15/20 [00:03<00:01,  5.00it/s]
 80%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  | 16/20 [00:03<00:00,  5.09it/s]
 85%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Œ | 17/20 [00:03<00:00,  5.16it/s]
 90%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ | 18/20 [00:03<00:00,  5.22it/s]
 95%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Œ| 19/20 [00:04<00:00,  5.42it/s]
100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 20/20 [00:04<00:00,  5.58it/s]
100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 20/20 [00:04<00:00,  4.64it/s]
Executing node 5, title: Save Image, class type: SaveImage
Executing node 9, title: 🧹BRIA RMBG, class type: BRIA_RMBG_Zho
Executing node 10, title: Save Image, class type: SaveImage
Prompt executed in 4.72 seconds
outputs:  {'47': {'images': [{'filename': 'ComfyUI_temp_zjblz_00001_.png', 'subfolder': '', 'type': 'temp'}]}, '4': {'images': []}, '5': {'images': [{'filename': 'ComfyUI_00001_.png', 'subfolder': '', 'type': 'output'}]}, '10': {'images': [{'filename': 'ComfyUI_00002_.png', 'subfolder': '', 'type': 'output'}]}}
====================================
Contents of /tmp/outputs:
ComfyUI_00001_.png
ComfyUI_00002_.png
Version Details
Version ID
764d4827ea159608a07cdde8ddf1c6000019627515eb02b6b449695fd547e5ef
Version Created
March 1, 2024
Run on Replicate β†’