adirik/t2i-adapter-sdxl-canny 🖼️📝❓🔢 → 🖼️

▶️ 139.9K runs 📅 Sep 2023 ⚙️ Cog 0.8.3 🔗 GitHub 📄 Paper ⚖️ License
image-editing image-to-image

About

Modify images using canny edges

Example Output

Prompt:

"Mystical fairy in real, magic, 4k picture, high quality"

Output

Example outputExample output

Performance Metrics

11.96s Prediction Time
98.75s Total Time
All Input Parameters
{
  "image": "https://replicate.delivery/pbxt/Jbn8dWczMIyZiWFABt3p78K3mSEwR1d7LK6LQ8KqUyKuBPYd/org_canny.jpg",
  "prompt": "Mystical fairy in real, magic, 4k picture, high quality",
  "scheduler": "K_EULER_ANCESTRAL",
  "num_samples": 1,
  "guidance_scale": 7.5,
  "negative_prompt": "extra digit, fewer digits, cropped, worst quality, low quality, glitch, deformed, mutated, ugly, disfigured",
  "num_inference_steps": 30,
  "adapter_conditioning_scale": 0.8,
  "adapter_conditioning_factor": 1
}
Input Parameters
image (required) Type: string
Input image
prompt Type: stringDefault: Mystical fairy in real, magic, 4k picture, high quality
Input prompt
scheduler Default: K_EULER_ANCESTRAL
Which scheduler to use
num_samples Type: integerDefault: 1Range: 1 - 4
Number of outputs to generate
random_seed Type: integer
Random seed for reproducibility, leave blank to randomize output
guidance_scale Type: numberDefault: 7.5Range: 0 - 10
Guidance scale to match the prompt
negative_prompt Type: stringDefault: anime, cartoon, graphic, text, painting, crayon, graphite, abstract, glitch, deformed, mutated, ugly, disfigured
Specify things to not see in the output
num_inference_steps Type: integerDefault: 30Range: 0 - 100
Number of diffusion steps
adapter_conditioning_scale Type: numberDefault: 0.8Range: 0 - 5
Conditioning scale
adapter_conditioning_factor Type: numberDefault: 1Range: 0 - 1
Factor to scale image by
Output Schema

Output

Type: arrayItems Type: stringItems Format: uri

Example Execution Logs
0%|          | 0/30 [00:00<?, ?it/s]
  3%|▎         | 1/30 [00:00<00:04,  6.43it/s]
  7%|▋         | 2/30 [00:00<00:05,  4.88it/s]
 10%|█         | 3/30 [00:00<00:06,  4.46it/s]
 13%|█▎        | 4/30 [00:00<00:06,  4.28it/s]
 17%|█▋        | 5/30 [00:01<00:05,  4.17it/s]
 20%|██        | 6/30 [00:01<00:05,  4.11it/s]
 23%|██▎       | 7/30 [00:01<00:05,  4.08it/s]
 27%|██▋       | 8/30 [00:01<00:05,  4.06it/s]
 30%|███       | 9/30 [00:02<00:05,  4.04it/s]
 33%|███▎      | 10/30 [00:02<00:04,  4.03it/s]
 37%|███▋      | 11/30 [00:02<00:04,  4.02it/s]
 40%|████      | 12/30 [00:02<00:04,  4.02it/s]
 43%|████▎     | 13/30 [00:03<00:04,  4.01it/s]
 47%|████▋     | 14/30 [00:03<00:03,  4.01it/s]
 50%|█████     | 15/30 [00:03<00:03,  4.00it/s]
 53%|█████▎    | 16/30 [00:03<00:03,  4.00it/s]
 57%|█████▋    | 17/30 [00:04<00:03,  4.00it/s]
 60%|██████    | 18/30 [00:04<00:03,  3.99it/s]
 63%|██████▎   | 19/30 [00:04<00:02,  3.99it/s]
 67%|██████▋   | 20/30 [00:04<00:02,  3.99it/s]
 70%|███████   | 21/30 [00:05<00:02,  3.99it/s]
 73%|███████▎  | 22/30 [00:05<00:02,  3.99it/s]
 77%|███████▋  | 23/30 [00:05<00:01,  3.99it/s]
 80%|████████  | 24/30 [00:05<00:01,  3.99it/s]
 83%|████████▎ | 25/30 [00:06<00:01,  3.98it/s]
 87%|████████▋ | 26/30 [00:06<00:01,  3.98it/s]
 90%|█████████ | 27/30 [00:06<00:00,  3.98it/s]
 93%|█████████▎| 28/30 [00:06<00:00,  3.99it/s]
 97%|█████████▋| 29/30 [00:07<00:00,  3.98it/s]
100%|██████████| 30/30 [00:07<00:00,  3.98it/s]
100%|██████████| 30/30 [00:07<00:00,  4.05it/s]
Version Details
Version ID
920125481b35694832310ddf4d80dcf2a44616c69fcc4747ebbf899aed3f28a9
Version Created
October 30, 2023
Run on Replicate →