fofr/become-image 🔢🖼️📝✓ → 🖼️

▶️ 709.0K runs 📅 Mar 2024 ⚙️ Cog 0.8.6 🔗 GitHub ⚖️ License
image-consistent-character-generation image-style-transfer image-to-image

About

Adapt any picture of a face into another image

Example Output

Prompt:

"a person"

Output

Example output

Performance Metrics

1.68s Prediction Time
1.69s Total Time
All Input Parameters
{
  "image": "https://replicate.delivery/pbxt/KYEdDz93eyPMIR0zltb9SzZ4lLTQkH0CfMcmnaGD5wHbA7Dt/MTk4MTczMTkzNzI1Mjg5NjYy.webp",
  "prompt": "a person",
  "image_to_become": "https://replicate.delivery/pbxt/KYEdDanJM7WAO228dBjJllUErGYq0ysQXgencMcVMDtNW9sf/cHJpdmF0ZS9sci9pbWFnZXMvd2Vic2l0ZS8yMDIyLTA1L2pvYjU4NS12MjE2LXRhbmctYXVtLTAxMC1leWUtYXJ0cHJpbnRzLmpwZw.webp",
  "negative_prompt": "",
  "prompt_strength": 2,
  "number_of_images": 1,
  "denoising_strength": 1,
  "instant_id_strength": 1,
  "image_to_become_noise": 0.3,
  "control_depth_strength": 0.8,
  "image_to_become_strength": 0.75
}
Input Parameters
seed Type: integer
Fix the random seed for reproducibility
image Type: string
An image of a person to be converted
prompt Type: stringDefault: a person
image_to_become Type: string
Any image to convert the person to
negative_prompt Type: stringDefault:
Things you do not want in the image
prompt_strength Type: numberDefault: 2Range: 0 - 3
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.
number_of_images Type: integerDefault: 2Range: 1 - 10
Number of images to generate
denoising_strength Type: numberDefault: 1Range: 0 - 1
How much of the original image of the person to keep. 1 is the complete destruction of the original image, 0 is the original image
instant_id_strength Type: numberDefault: 1Range: 0 - 1
How strong the InstantID will be.
image_to_become_noise Type: numberDefault: 0.3Range: 0 - 1
How much noise to add to the style image before processing. An alternative way of controlling stength.
control_depth_strength Type: numberDefault: 0.8Range: 0 - 1
Strength of depth controlnet. The bigger this is, the more controlnet affects the output.
disable_safety_checker Type: booleanDefault: false
Disable safety checker for generated images
image_to_become_strength Type: numberDefault: 0.75Range: 0 - 1
How strong the style will be applied
Output Schema

Output

Type: arrayItems Type: stringItems Format: uri

Example Execution Logs
Random seed set to: 1458577306
Checking inputs
✅ /tmp/inputs/image_of_face.webp
✅ /tmp/inputs/image_to_become.webp
====================================
Running workflow
got prompt
Executing node 75, title: KSampler, class type: KSampler
  0%|          | 0/4 [00:00<?, ?it/s]
 25%|██▌       | 1/4 [00:00<00:01,  2.99it/s]
 50%|█████     | 2/4 [00:00<00:00,  2.98it/s]
 75%|███████▌  | 3/4 [00:01<00:00,  3.00it/s]
100%|██████████| 4/4 [00:01<00:00,  3.74it/s]
100%|██████████| 4/4 [00:01<00:00,  3.42it/s]
Executing node 76, title: VAE Decode, class type: VAEDecode
Executing node 5, title: Save Image, class type: SaveImage
Prompt executed in 1.40 seconds
outputs:  {'5': {'images': [{'filename': 'ComfyUI_00001_.png', 'subfolder': '', 'type': 'output'}]}}
====================================
Contents of /tmp/outputs:
ComfyUI_00001_.png
Version Details
Version ID
8d0b076a2aff3904dfcec3253c778e0310a68f78483c4699c7fd800f3051d2b3
Version Created
March 19, 2024
Run on Replicate →