lucataco/ssd-1b 🖼️🔢📝❓✓ → 🖼️

▶️ 1.1M runs 📅 Oct 2023 ⚙️ Cog 0.8.5 🔗 GitHub 📄 Paper ⚖️ License
image-inpainting image-to-image text-to-image

About

Segmind Stable Diffusion Model (SSD-1B) is a distilled 50% smaller version of SDXL, offering a 60% speedup while maintaining high-quality text-to-image generation capabilities

Example Output

Prompt:

"with smoke, half ice and half fire and ultra realistic in detail.wolf, typography, dark fantasy, wildlife photography, vibrant, cinematic and on a black background"

Output

Example output

Performance Metrics

1.40s Prediction Time
1.41s Total Time
All Input Parameters
{
  "seed": 36446545872,
  "width": 768,
  "height": 768,
  "prompt": "with smoke, half ice and half fire and ultra realistic in detail.wolf, typography, dark fantasy, wildlife photography, vibrant, cinematic and on a black background",
  "scheduler": "K_EULER",
  "lora_scale": 0.6,
  "num_outputs": 1,
  "batched_prompt": false,
  "guidance_scale": 9,
  "apply_watermark": true,
  "negative_prompt": "scary, cartoon, painting",
  "prompt_strength": 0.8,
  "num_inference_steps": 25
}
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: 768
Width of output image
height Type: integerDefault: 768
Height of output image
prompt Type: stringDefault: with smoke, half ice and half fire and ultra realistic in detail.wolf, typography, dark fantasy, wildlife photography, vibrant, cinematic and on a black background
Input prompt
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.
batched_prompt Type: booleanDefault: false
When active, your prompt will be split by newlines and images will be generated for each individual line
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: scary, cartoon, painting
Negative Input 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: 25Range: 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: 36446545872
Prompt: with smoke, half ice and half fire and ultra realistic in detail.wolf, typography, dark fantasy, wildlife photography, vibrant, cinematic and on a black background
txt2img mode
  0%|          | 0/25 [00:00<?, ?it/s]
  8%|▊         | 2/25 [00:00<00:01, 17.04it/s]
 20%|██        | 5/25 [00:00<00:00, 22.00it/s]
 32%|███▏      | 8/25 [00:00<00:00, 23.40it/s]
 44%|████▍     | 11/25 [00:00<00:00, 24.11it/s]
 56%|█████▌    | 14/25 [00:00<00:00, 24.51it/s]
 68%|██████▊   | 17/25 [00:00<00:00, 24.73it/s]
 80%|████████  | 20/25 [00:00<00:00, 24.86it/s]
 92%|█████████▏| 23/25 [00:00<00:00, 24.92it/s]
100%|██████████| 25/25 [00:01<00:00, 24.23it/s]
Version Details
Version ID
b19e3639452c59ce8295b82aba70a231404cb062f2eb580ea894b31e8ce5bbb6
Version Created
November 8, 2023
Run on Replicate →