lightweight-ai/model1 🖼️🔢📝✓❓ → 🖼️

▶️ 242.6K runs 📅 Nov 2024 ⚙️ Cog 0.13.0
image-inpainting image-to-image text-to-image

About

flux_schnell model img2img inference

Example Output

Prompt:

"A fluffy, orange tabby cat curled up asleep in a sunbeam streaming through a window, its soft fur glowing with the warmth of the light; highly detailed 8K UHD photorealistic rendering, natural lighting, warm and inviting atmosphere, focus on softness and texture."

Output

Example output

Performance Metrics

3.20s Prediction Time
45.81s Total Time
All Input Parameters
{
  "width": 1024,
  "height": 1024,
  "prompt": "A fluffy, orange tabby cat curled up asleep in a sunbeam streaming through a window, its soft fur glowing with the warmth of the light; highly detailed 8K UHD photorealistic rendering, natural lighting, warm and inviting atmosphere, focus on softness and texture.",
  "num_outputs": 1,
  "output_format": "png",
  "output_quality": 100,
  "prompt_strength": 0.8,
  "num_inference_steps": 4
}
Input Parameters
mask Type: string
Upload a mask image for inpainting. White areas (255) indicate regions to be inpainted, while black areas (0) will be preserved from the original image.
seed Type: integer
Random seed. Set for reproducible generation
image Type: string
Upload an image for inpainting. This will be the base image that will be partially modified.
loras Type: arrayDefault:
Lora list (Realism, Karina, IU)
width Type: integerDefault: 1024
Width of output image
height Type: integerDefault: 1024
Height of output image
prompt Type: stringDefault: A bohemian-style female travel blogger with sun-kissed skin and messy beach waves
Prompt for generated image
lora_scales Type: arrayDefault:
Lora scales
num_outputs Type: integerDefault: 1Range: 1 - 4
Number of images to output.
nsfw_chekcer Type: booleanDefault: false
output_format Default: png
Format of the output images
guidance_scale Type: numberDefault: 3.5
output_quality Type: integerDefault: 100Range: 0 - 100
Quality when saving the output images, from 0 to 100. 100 is best quality, 0 is lowest quality. Not relevant for .png outputs
prompt_strength Type: numberDefault: 0.8Range: 0 - 1
Prompt strength (or denoising strength) when using image to image. 1.0 corresponds to full destruction of information in image.
num_inference_steps Type: integerDefault: 28Range: 1 - 50
Number of inference steps
Output Schema

Output

Type: arrayItems Type: stringItems Format: uri

Example Execution Logs
Using seed: 9166
Prompt: A fluffy, orange tabby cat curled up asleep in a sunbeam streaming through a window, its soft fur glowing with the warmth of the light; highly detailed 8K UHD photorealistic rendering, natural lighting, warm and inviting atmosphere, focus on softness and texture.
txt2img mode
  0%|          | 0/4 [00:00<?, ?it/s]
 25%|██▌       | 1/4 [00:00<00:01,  1.92it/s]
 50%|█████     | 2/4 [00:00<00:00,  2.54it/s]
 75%|███████▌  | 3/4 [00:01<00:00,  2.35it/s]
100%|██████████| 4/4 [00:01<00:00,  2.27it/s]
100%|██████████| 4/4 [00:01<00:00,  2.28it/s]
Version Details
Version ID
34d8026aba732bcac524406abbe9a18d2232e3ecf128838ec00582814b6fdd5f
Version Created
April 1, 2025
Run on Replicate →