fofr/illusions 🔢🖼️📝❓ → 🖼️

▶️ 61.6K runs 📅 Nov 2023 ⚙️ Cog 0.8.6 🔗 GitHub
image-inpainting image-to-image text-to-image

About

Create illusions with img2img and masking support

Example Output

Prompt:

"a painting of a 19th century town"

Output

Example output

Performance Metrics

2.56s Prediction Time
2.57s Total Time
All Input Parameters
{
  "seed": -1,
  "image": "https://replicate.delivery/pbxt/JouANiZNiW2mwouIgIk1VySvjL9MBmaPD6Ib8HyfW81CJzRR/out-0-44.png",
  "width": 768,
  "height": 768,
  "prompt": "a painting of a 19th century town",
  "num_outputs": 1,
  "control_image": "https://replicate.delivery/pbxt/JouAO2zaHgb66YVChJagSYz0LcGqv3QgG4BS71mioFbBHWTZ/spiral_black_transparent-2513050263.jpg",
  "controlnet_end": 1,
  "guidance_scale": 7.5,
  "negative_prompt": "ugly, disfigured, low quality, blurry, nsfw",
  "prompt_strength": 0.75,
  "sizing_strategy": "width/height",
  "controlnet_start": 0,
  "num_inference_steps": 40,
  "controlnet_conditioning_scale": 0.75
}
Input Parameters
seed Type: integerDefault: null
image Type: stringDefault: null
Optional img2img
width Type: integerDefault: 768
height Type: integerDefault: 768
prompt Type: stringDefault: a painting of a 19th century town
mask_image Type: stringDefault: null
Optional mask for inpainting
num_outputs Type: integerDefault: 1
Number of outputs
control_image Type: stringDefault: null
Control image
controlnet_end Type: numberDefault: 1
When controlnet conditioning ends
guidance_scale Type: numberDefault: 7.5
Scale for classifier-free guidance
negative_prompt Type: stringDefault: ugly, disfigured, low quality, blurry, nsfw
The negative prompt to guide image generation.
prompt_strength Type: numberDefault: 0.8
Prompt strength when using img2img / inpaint. 1.0 corresponds to full destruction of information in image
sizing_strategy Default: width/height
Decide how to resize images – use width/height, resize based on input image or control image
controlnet_start Type: numberDefault: 0
When controlnet conditioning starts
num_inference_steps Type: integerDefault: 40
Number of diffusion steps
controlnet_conditioning_scale Type: numberDefault: 0.75
How strong the controlnet conditioning is
Output Schema

Output

Type: arrayItems Type: stringItems Format: uri

Example Execution Logs
Using seed: 3311311052
img2img mode
Using given dimensions
  0%|          | 0/30 [00:00<?, ?it/s]
  3%|▎         | 1/30 [00:00<00:03,  8.15it/s]
 10%|█         | 3/30 [00:00<00:02, 12.79it/s]
 17%|█▋        | 5/30 [00:00<00:01, 14.25it/s]
 23%|██▎       | 7/30 [00:00<00:01, 14.90it/s]
 30%|███       | 9/30 [00:00<00:01, 15.31it/s]
 37%|███▋      | 11/30 [00:00<00:01, 15.55it/s]
 43%|████▎     | 13/30 [00:00<00:01, 15.67it/s]
 50%|█████     | 15/30 [00:00<00:00, 15.76it/s]
 57%|█████▋    | 17/30 [00:01<00:00, 15.83it/s]
 63%|██████▎   | 19/30 [00:01<00:00, 15.86it/s]
 70%|███████   | 21/30 [00:01<00:00, 15.88it/s]
 77%|███████▋  | 23/30 [00:01<00:00, 15.89it/s]
 83%|████████▎ | 25/30 [00:01<00:00, 15.90it/s]
 90%|█████████ | 27/30 [00:01<00:00, 15.90it/s]
 97%|█████████▋| 29/30 [00:01<00:00, 15.89it/s]
100%|██████████| 30/30 [00:01<00:00, 15.45it/s]
Version Details
Version ID
579b32db82b24584c3c6155fe3ae12e8fce50ba28b575c23e8a1f5f3a5e99ed8
Version Created
November 6, 2023
Run on Replicate →