fofr/sdxl-sonic-2-hd 🖼️🔢📝❓✓ → 🖼️

▶️ 176 runs 📅 Oct 2023 ⚙️ Cog 0.8.6
game-asset-generation image-inpainting image-to-image text-to-image

About

Example Output

Prompt:

"A TOK screenshot of a beach level, video game, platformer"

Output

Example output

Performance Metrics

9.14s Prediction Time
12.04s Total Time
All Input Parameters
{
  "mask": null,
  "seed": null,
  "image": null,
  "width": 1152,
  "height": 768,
  "prompt": "A TOK screenshot of a beach level, video game, platformer",
  "refine": "expert_ensemble_refiner",
  "scheduler": "K_EULER",
  "lora_scale": 0.6,
  "num_outputs": 1,
  "refine_steps": null,
  "guidance_scale": 7.5,
  "apply_watermark": false,
  "high_noise_frac": 0.8,
  "negative_prompt": "ugly, distorted, repeating patterns, disfigured, text, numbers",
  "prompt_strength": 0.8,
  "num_inference_steps": 30
}
Input Parameters
mask Type: string
Input mask for inpaint mode. Black areas will be preserved, white areas will be inpainted.
seed Type: integer
Random seed. Leave blank to randomize the seed
image Type: string
Input image for img2img or inpaint mode
width Type: integerDefault: 1024
Width of output image
height Type: integerDefault: 1024
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
lora_scale Type: numberDefault: 0.6Range: 0 - 1
LoRA additive scale. Only applicable on trained models.
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
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.
high_noise_frac Type: numberDefault: 0.8Range: 0 - 1
For expert_ensemble_refiner, the fraction of noise to use
negative_prompt Type: stringDefault:
Input Negative Prompt
prompt_strength Type: numberDefault: 0.8Range: 0 - 1
Prompt strength when using img2img / inpaint. 1.0 corresponds to full destruction of information in image
replicate_weights Type: string
Replicate LoRA weights to use. Leave blank to use the default weights.
num_inference_steps Type: integerDefault: 50Range: 1 - 500
Number of denoising steps
disable_safety_checker Type: booleanDefault: false
Disable safety checker for generated images. This feature is only available through the API. See https://replicate.com/docs/how-does-replicate-work#safety
Output Schema

Output

Type: arrayItems Type: stringItems Format: uri

Example Execution Logs
Using seed: 63627
Ensuring enough disk space...
Free disk space: 1526832726016
Downloading weights: https://pbxt.replicate.delivery/VCyfGxkUGk3LFaJ9keWqbe2kWksLzEFzxgHAhyi7pd85h9mjA/trained_model.tar
b'Downloaded 186 MB bytes in 0.259s (718 MB/s)\nExtracted 186 MB in 0.068s (2.7 GB/s)\n'
Downloaded weights in 0.43831610679626465 seconds
Loading fine-tuned model
Does not have Unet. assume we are using LoRA
Loading Unet LoRA
Prompt: A <s0><s1> screenshot of a beach level, video game, platformer
txt2img mode
  0%|          | 0/23 [00:00<?, ?it/s]
  4%|▍         | 1/23 [00:00<00:05,  4.08it/s]
  9%|▊         | 2/23 [00:00<00:04,  4.22it/s]
 13%|█▎        | 3/23 [00:00<00:04,  4.26it/s]
 17%|█▋        | 4/23 [00:00<00:04,  4.28it/s]
 22%|██▏       | 5/23 [00:01<00:04,  4.29it/s]
 26%|██▌       | 6/23 [00:01<00:03,  4.29it/s]
 30%|███       | 7/23 [00:01<00:03,  4.30it/s]
 35%|███▍      | 8/23 [00:01<00:03,  4.29it/s]
 39%|███▉      | 9/23 [00:02<00:03,  4.30it/s]
 43%|████▎     | 10/23 [00:02<00:03,  4.29it/s]
 48%|████▊     | 11/23 [00:02<00:02,  4.29it/s]
 52%|█████▏    | 12/23 [00:02<00:02,  4.29it/s]
 57%|█████▋    | 13/23 [00:03<00:02,  4.29it/s]
 61%|██████    | 14/23 [00:03<00:02,  4.29it/s]
 65%|██████▌   | 15/23 [00:03<00:01,  4.29it/s]
 70%|██████▉   | 16/23 [00:03<00:01,  4.30it/s]
 74%|███████▍  | 17/23 [00:03<00:01,  4.31it/s]
 78%|███████▊  | 18/23 [00:04<00:01,  4.31it/s]
 83%|████████▎ | 19/23 [00:04<00:00,  4.32it/s]
 87%|████████▋ | 20/23 [00:04<00:00,  4.32it/s]
 91%|█████████▏| 21/23 [00:04<00:00,  4.32it/s]
 96%|█████████▌| 22/23 [00:05<00:00,  4.32it/s]
100%|██████████| 23/23 [00:05<00:00,  4.32it/s]
100%|██████████| 23/23 [00:05<00:00,  4.30it/s]
  0%|          | 0/7 [00:00<?, ?it/s]
 14%|█▍        | 1/7 [00:00<00:01,  5.19it/s]
 29%|██▊       | 2/7 [00:00<00:00,  5.38it/s]
 43%|████▎     | 3/7 [00:00<00:00,  5.45it/s]
 57%|█████▋    | 4/7 [00:00<00:00,  5.49it/s]
 71%|███████▏  | 5/7 [00:00<00:00,  5.50it/s]
 86%|████████▌ | 6/7 [00:01<00:00,  5.48it/s]
100%|██████████| 7/7 [00:01<00:00,  5.49it/s]
100%|██████████| 7/7 [00:01<00:00,  5.46it/s]
Version Details
Version ID
da4ceb19689e32bba34374d8ff6bc2bac88cd2bf473a6b9f8e6c38fc5dfa0bd0
Version Created
October 30, 2023
Run on Replicate →