matsuitran/sdxl-anime-schoolboy 🖼️🔢📝❓✓ → 🖼️

▶️ 356 runs 📅 Jan 2024 ⚙️ Cog 0.8.6
image-inpainting image-to-image text-to-image

About

Stable Diffusion XL fine-tunned in the theme of Anime Schoolboy

Example Output

Prompt:

"A photo of a boy, in the style of TOK"

Output

Example output

Performance Metrics

18.38s Prediction Time
21.64s Total Time
All Input Parameters
{
  "image": "https://c01b-2a09-bac5-d46e-16dc-00-247-27.ngrok-free.app/assets/input/sdxl-anime-schoolboy-input-01.png",
  "width": 1024,
  "height": 1024,
  "prompt": "A photo of a boy, in the style of TOK",
  "refine": "expert_ensemble_refiner",
  "scheduler": "K_EULER",
  "lora_scale": 0.95,
  "num_outputs": 1,
  "guidance_scale": 7.5,
  "apply_watermark": false,
  "negative_prompt": "ugly, deformed, bad hands, bad legs, bad limbs",
  "prompt_strength": 0.75,
  "num_inference_steps": 30,
  "disable_safety_checker": true
}
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: 1490
Ensuring enough disk space...
Free disk space: 2038447157248
Downloading weights: https://replicate.delivery/pbxt/56JF3yuTml6mJZD4YeZrLdc2jkmrnu8eSaDPLlWv0dh8Q1ISA/trained_model.tar
2024-01-03T18:33:31Z | INFO  | [ Initiating ] dest=/src/weights-cache/02a75fa51f15af46 minimum_chunk_size=150M url=https://replicate.delivery/pbxt/56JF3yuTml6mJZD4YeZrLdc2jkmrnu8eSaDPLlWv0dh8Q1ISA/trained_model.tar
2024-01-03T18:33:38Z | INFO  | [ Complete ] dest=/src/weights-cache/02a75fa51f15af46 size="186 MB" total_elapsed=7.214s url=https://replicate.delivery/pbxt/56JF3yuTml6mJZD4YeZrLdc2jkmrnu8eSaDPLlWv0dh8Q1ISA/trained_model.tar
b''
Downloaded weights in 7.366888999938965 seconds
Loading fine-tuned model
Does not have Unet. assume we are using LoRA
Loading Unet LoRA
Prompt: A photo of a boy, in the style of <s0><s1>
img2img mode
  0%|          | 0/15 [00:00<?, ?it/s]
  7%|▋         | 1/15 [00:00<00:03,  3.69it/s]
 13%|█▎        | 2/15 [00:00<00:03,  3.69it/s]
 20%|██        | 3/15 [00:00<00:03,  3.69it/s]
 27%|██▋       | 4/15 [00:01<00:02,  3.69it/s]
 33%|███▎      | 5/15 [00:01<00:02,  3.69it/s]
 40%|████      | 6/15 [00:01<00:02,  3.69it/s]
 47%|████▋     | 7/15 [00:01<00:02,  3.69it/s]
 53%|█████▎    | 8/15 [00:02<00:01,  3.69it/s]
 60%|██████    | 9/15 [00:02<00:01,  3.69it/s]
 67%|██████▋   | 10/15 [00:02<00:01,  3.70it/s]
 73%|███████▎  | 11/15 [00:02<00:01,  3.70it/s]
 80%|████████  | 12/15 [00:03<00:00,  3.70it/s]
 87%|████████▋ | 13/15 [00:03<00:00,  3.71it/s]
 93%|█████████▎| 14/15 [00:03<00:00,  3.71it/s]
100%|██████████| 15/15 [00:04<00:00,  3.70it/s]
100%|██████████| 15/15 [00:04<00:00,  3.70it/s]
  0%|          | 0/7 [00:00<?, ?it/s]
 14%|█▍        | 1/7 [00:00<00:01,  4.33it/s]
 29%|██▊       | 2/7 [00:00<00:01,  4.30it/s]
 43%|████▎     | 3/7 [00:00<00:00,  4.29it/s]
 57%|█████▋    | 4/7 [00:00<00:00,  4.28it/s]
 71%|███████▏  | 5/7 [00:01<00:00,  4.27it/s]
 86%|████████▌ | 6/7 [00:01<00:00,  4.27it/s]
100%|██████████| 7/7 [00:01<00:00,  4.28it/s]
100%|██████████| 7/7 [00:01<00:00,  4.28it/s]
Version Details
Version ID
1605245a6a34b1b3dbf092ad86c918e9bcdb21971ea2ee0d424cae8dbba45f6c
Version Created
January 3, 2024
Run on Replicate →