adirik/prompt-to-prompt-realvisxl-3.0 🔢🖼️📝❓ → 🖼️

▶️ 458 runs 📅 Feb 2024 ⚙️ Cog 0.8.3 📄 Paper ⚖️ License
image-editing image-to-image text-to-image

About

Image editing with Prompt-to-Prompt for RealVisXL-v3.0

Example Output

Output

Example outputExample output

Performance Metrics

21.55s Prediction Time
123.67s Total Time
All Input Parameters
{
  "seed": 864,
  "scheduler": "DPM++_SDE_Karras",
  "edited_prompt": "a pink dragon riding a bicycle on the beach",
  "guidance_scale": 2,
  "original_prompt": "a pink bear riding a bicycle on the beach",
  "prompt_edit_type": "Replacement",
  "self_replace_steps": 0.4,
  "cross_replace_steps": 0.8,
  "num_inference_steps": 25
}
Input Parameters
seed Type: integerRange: 0 - 65535
Random seed. Leave blank to randomize the seed for original output.
image Type: string
Optional input image. If provided, DDIM inversion is performed to retrieve initial latents for image generation.
local_edit Type: string
Comma seperated words to determine which area should be changed. If None, then the whole image can be changed.
edited_prompt Type: string
Prompt used for editing the original sdxl output image. If prompt_edit_type above is `Re-weight`, you can leave this empty.
guidance_scale Type: numberDefault: 7.5
Text guidance scale, use higher values for better alignment with input prompt.
equalizer_words Type: string
Words to be re-weighted (either enhancement or diminishment). Provide the words in the format of 'word1, word2, word3'. If you are not using reweight, leave this empty.
original_prompt (required) Type: string
Prompt to generate image with SDXL
prompt_edit_type (required)
Choose the type of the prompt editing, can be either of `Replacement`, `Refinement`, `Re-weight`
self_replace_steps Type: numberDefault: 0.4Range: 0 - 1
Number of diffusion steps in which self attention should be replaced
cross_replace_steps Type: numberDefault: 0.8Range: 0 - 1
Number of diffusion steps in which cross attention should be replaced
equalizer_strengths Type: string
Strengths for the words to be re-weighted. It can be positive or negative values. Provide the strengths in the format of 'strength1, strength2, strength3', for respective equalizer_words. If you are not using reweight, leave this empty.
num_inference_steps Type: integerDefault: 25Range: 0 - 100
Number of diffusion denoising steps for image generation.
num_inversion_steps Type: integerDefault: 25Range: 0 - 100
Number of diffusion denoising steps for inversion.
Output Schema

Output

Type: arrayItems Type: stringItems Format: uri

Example Execution Logs
Using seed: 864
Changing scheduler {self.config} to have `lower_order_final` set to True to handle uneven amount of inference steps. Please make sure to always use an even number of `num_inference steps when using `lower_order_final=False`.
  0%|          | 0/25 [00:00<?, ?it/s]
  4%|▍         | 1/25 [00:01<00:45,  1.90s/it]
  8%|▊         | 2/25 [00:02<00:22,  1.02it/s]
 12%|█▏        | 3/25 [00:02<00:17,  1.27it/s]
 16%|█▌        | 4/25 [00:03<00:14,  1.43it/s]
 20%|██        | 5/25 [00:03<00:12,  1.55it/s]
 24%|██▍       | 6/25 [00:04<00:11,  1.62it/s]
 28%|██▊       | 7/25 [00:05<00:10,  1.67it/s]
 32%|███▏      | 8/25 [00:05<00:09,  1.71it/s]
 36%|███▌      | 9/25 [00:06<00:09,  1.74it/s]
 40%|████      | 10/25 [00:06<00:08,  1.75it/s]
 44%|████▍     | 11/25 [00:07<00:07,  1.77it/s]
 48%|████▊     | 12/25 [00:07<00:07,  1.78it/s]
 52%|█████▏    | 13/25 [00:08<00:06,  1.79it/s]
 56%|█████▌    | 14/25 [00:08<00:06,  1.80it/s]
 60%|██████    | 15/25 [00:09<00:05,  1.80it/s]
 64%|██████▍   | 16/25 [00:10<00:04,  1.80it/s]
 68%|██████▊   | 17/25 [00:10<00:04,  1.81it/s]
 72%|███████▏  | 18/25 [00:11<00:03,  1.81it/s]
 76%|███████▌  | 19/25 [00:11<00:03,  1.81it/s]
 80%|████████  | 20/25 [00:12<00:02,  1.81it/s]
 84%|████████▍ | 21/25 [00:12<00:02,  1.81it/s]
 88%|████████▊ | 22/25 [00:13<00:01,  1.81it/s]
 92%|█████████▏| 23/25 [00:13<00:01,  1.81it/s]
 96%|█████████▌| 24/25 [00:14<00:00,  1.81it/s]
100%|██████████| 25/25 [00:14<00:00,  1.81it/s]
100%|██████████| 25/25 [00:14<00:00,  1.67it/s]
Number of output images: 2
Version Details
Version ID
f5de4e355ac44bca7fbdcf1518c6f74c1716e3883ed54d408c636ae716549c26
Version Created
March 16, 2024
Run on Replicate →