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

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

About

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

Example Output

Prompt:

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

Output

Example output

Performance Metrics

18.61s Prediction Time
21.68s Total Time
All Input Parameters
{
  "image": "https://c01b-2a09-bac5-d46e-16dc-00-247-27.ngrok-free.app/assets/input/01.png",
  "width": 1024,
  "height": 1024,
  "prompt": "A photo of a girl, 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.7,
  "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: 38228
Ensuring enough disk space...
Free disk space: 2786829348864
Downloading weights: https://replicate.delivery/pbxt/ae8Igf7HfbUv1JHPvLjNdtFMCYIKbc5YvzGtogUGxFYWFlRkA/trained_model.tar
2024-01-03T15:52:11Z | INFO  | [ Initiating ] dest=/src/weights-cache/6b88656ea508aac2 minimum_chunk_size=150M url=https://replicate.delivery/pbxt/ae8Igf7HfbUv1JHPvLjNdtFMCYIKbc5YvzGtogUGxFYWFlRkA/trained_model.tar
2024-01-03T15:52:17Z | INFO  | [ Complete ] dest=/src/weights-cache/6b88656ea508aac2 size="186 MB" total_elapsed=5.978s url=https://replicate.delivery/pbxt/ae8Igf7HfbUv1JHPvLjNdtFMCYIKbc5YvzGtogUGxFYWFlRkA/trained_model.tar
b''
Downloaded weights in 6.12461256980896 seconds
Loading fine-tuned model
Does not have Unet. assume we are using LoRA
Loading Unet LoRA
Prompt: A photo of a girl, in the style of <s0><s1>
img2img mode
  0%|          | 0/14 [00:00<?, ?it/s]
  7%|▋         | 1/14 [00:00<00:03,  3.64it/s]
 14%|█▍        | 2/14 [00:00<00:03,  3.64it/s]
 21%|██▏       | 3/14 [00:00<00:03,  3.63it/s]
 29%|██▊       | 4/14 [00:01<00:02,  3.63it/s]
 36%|███▌      | 5/14 [00:01<00:02,  3.63it/s]
 43%|████▎     | 6/14 [00:01<00:02,  3.63it/s]
 50%|█████     | 7/14 [00:01<00:01,  3.63it/s]
 57%|█████▋    | 8/14 [00:02<00:01,  3.63it/s]
 64%|██████▍   | 9/14 [00:02<00:01,  3.62it/s]
 71%|███████▏  | 10/14 [00:02<00:01,  3.62it/s]
 79%|███████▊  | 11/14 [00:03<00:00,  3.62it/s]
 86%|████████▌ | 12/14 [00:03<00:00,  3.63it/s]
 93%|█████████▎| 13/14 [00:03<00:00,  3.62it/s]
100%|██████████| 14/14 [00:03<00:00,  3.62it/s]
100%|██████████| 14/14 [00:03<00:00,  3.63it/s]
  0%|          | 0/7 [00:00<?, ?it/s]
 14%|█▍        | 1/7 [00:00<00:01,  4.03it/s]
 29%|██▊       | 2/7 [00:00<00:01,  4.12it/s]
 43%|████▎     | 3/7 [00:00<00:00,  4.15it/s]
 57%|█████▋    | 4/7 [00:00<00:00,  4.16it/s]
 71%|███████▏  | 5/7 [00:01<00:00,  4.17it/s]
 86%|████████▌ | 6/7 [00:01<00:00,  4.17it/s]
100%|██████████| 7/7 [00:01<00:00,  4.18it/s]
100%|██████████| 7/7 [00:01<00:00,  4.16it/s]
Version Details
Version ID
14f487e69ea8b154f06da55c4ff6906b7eac7ec4873c002d2af92eaedb24c378
Version Created
January 3, 2024
Run on Replicate →