expa-ai/cloudflare-hack 🔢🖼️📝❓✓ → 🖼️

▶️ 6.3K runs 📅 May 2023 ⚙️ Cog 0.9.5
image-editing image-to-image text-to-image

About

Example Output

Prompt:

"30 year old woman, tousled pixie cut with long side fringe, silver-grey hair, blue-green eyes, delicate features, fair skin with freckles, warm smile, fuzzy light pink sweater, blurred pastel background, natural window lighting, ultra hd portrait photo, carefree feminine style"

Output

Example output

Performance Metrics

22.18s Prediction Time
22.22s Total Time
All Input Parameters
{
  "image": "https://replicate.delivery/pbxt/KtyErKSr4GYg3VUiPO3cEgsjJLxDUIsPORgit8VA2XJMmomV/Image%20%2810%29.jpeg",
  "width": 1080,
  "height": 1280,
  "prompt": "30 year old woman, tousled pixie cut with long side fringe, silver-grey hair, blue-green eyes, delicate features, fair skin with freckles, warm smile, fuzzy light pink sweater, blurred pastel background, natural window lighting, ultra hd portrait photo, carefree feminine style",
  "refine": "base_image_refiner",
  "scheduler": "K_EULER",
  "num_outputs": 1,
  "refine_steps": 10,
  "apply_brand_bg": true,
  "guidance_scale": 7.5,
  "apply_watermark": false,
  "negative_prompt": "low quality, jpeg artifacts, blurry ,poorly drawn, ugly, worst quality, face asymmetry, eyes asymmetry, deformed eyes, open mouth, octane render, render, drawing, anime, bad photo, bad photography, worst quality, low quality, blurry, bad teeth, deformed teeth, deformed lips, bad anatomy, bad proportions, deformed iris, deformed pupils, deformed eyes, bad eyes, deformed face, ugly face, bad face, deformed hands, bad hands, fused fingers, morbid, mutilated, mutation, disfigured",
  "num_inference_steps": 30
}
Input Parameters
seed Type: integer
Random seed. Leave blank to randomize the seed
image Type: string
Input image from User.
width Type: integerDefault: 1080
Width of output image
height Type: integerDefault: 1280
Height of output image
prompt Type: stringDefault: An astronaut riding a rainbow unicorn
Input prompt
refine Default: no_refiner
Which refine style to use
scheduler Default: K_EULER
scheduler
num_outputs Type: integerDefault: 1Range: 1 - 4
Number of images to output
refine_steps Type: integer
For base_image_refiner, the number of steps to refine, defaults to num_inference_steps
apply_brand_bg Type: booleanDefault: true
Applies a brand background.
guidance_scale Type: numberDefault: 7.5Range: 1 - 50
Scale for classifier-free guidance
apply_watermark Type: booleanDefault: true
Applies a watermark to enable determining if an image is generated in downstream applications. If you have other provisions for generating or deploying images safely, you can use this to disable watermarking.
negative_prompt Type: stringDefault:
Negative Prompt
num_inference_steps Type: integerDefault: 30Range: 1 - 500
Number of denoising steps
Output Schema

Output

Type: arrayItems Type: stringItems Format: uri

Example Execution Logs
Starting Face Analysis
Face analysis done in: 0.02s
Face Found
Using seed: 2294554089
Prompt: 30 year old woman, tousled pixie cut with long side fringe, silver-grey hair, blue-green eyes, delicate features, fair skin with freckles, warm smile, fuzzy light pink sweater, blurred pastel background, natural window lighting, ultra hd portrait photo, carefree feminine style
  0%|          | 0/30 [00:00<?, ?it/s]
  3%|▎         | 1/30 [00:00<00:09,  3.01it/s]
  7%|▋         | 2/30 [00:00<00:09,  3.01it/s]
 10%|█         | 3/30 [00:00<00:08,  3.00it/s]
 13%|█▎        | 4/30 [00:01<00:08,  3.00it/s]
 17%|█▋        | 5/30 [00:01<00:08,  3.00it/s]
 20%|██        | 6/30 [00:02<00:08,  3.00it/s]
 23%|██▎       | 7/30 [00:02<00:07,  2.99it/s]
 27%|██▋       | 8/30 [00:02<00:07,  2.99it/s]
 30%|███       | 9/30 [00:03<00:07,  2.99it/s]
 33%|███▎      | 10/30 [00:03<00:06,  2.99it/s]
 37%|███▋      | 11/30 [00:03<00:06,  2.99it/s]
 40%|████      | 12/30 [00:04<00:06,  2.98it/s]
 43%|████▎     | 13/30 [00:04<00:05,  2.98it/s]
 47%|████▋     | 14/30 [00:04<00:05,  2.98it/s]
 50%|█████     | 15/30 [00:05<00:05,  2.98it/s]
 53%|█████▎    | 16/30 [00:05<00:04,  2.98it/s]
 57%|█████▋    | 17/30 [00:05<00:04,  2.98it/s]
 60%|██████    | 18/30 [00:06<00:04,  2.98it/s]
 63%|██████▎   | 19/30 [00:06<00:03,  2.98it/s]
 67%|██████▋   | 20/30 [00:06<00:03,  2.98it/s]
 70%|███████   | 21/30 [00:07<00:03,  2.98it/s]
 73%|███████▎  | 22/30 [00:07<00:02,  2.98it/s]
 77%|███████▋  | 23/30 [00:07<00:02,  2.98it/s]
 80%|████████  | 24/30 [00:08<00:02,  2.98it/s]
 83%|████████▎ | 25/30 [00:08<00:01,  2.98it/s]
 87%|████████▋ | 26/30 [00:08<00:01,  2.97it/s]
 90%|█████████ | 27/30 [00:09<00:01,  2.97it/s]
 93%|█████████▎| 28/30 [00:09<00:00,  2.98it/s]
 97%|█████████▋| 29/30 [00:09<00:00,  2.98it/s]
100%|██████████| 30/30 [00:10<00:00,  2.98it/s]
100%|██████████| 30/30 [00:10<00:00,  2.98it/s]
Inference took: 10.12s
  0%|          | 0/3 [00:00<?, ?it/s]
 33%|███▎      | 1/3 [00:00<00:00,  2.83it/s]
 67%|██████▋   | 2/3 [00:00<00:00,  2.82it/s]
100%|██████████| 3/3 [00:01<00:00,  2.81it/s]
100%|██████████| 3/3 [00:01<00:00,  2.82it/s]
Faceswap process Start
Swapped faces in: 0.15s
Restored faces in: 3.47s
Brand background process Start
Image composition took: 0.06s
Brand background process took total: 4.94s
Prediction took: 20.25s
Version Details
Version ID
70c6e79ba15f2e9ec26c696ad7eb9f5f0ffe2ae32deadfe9e1e7b17333984201
Version Created
May 11, 2024
Run on Replicate →