if (FALSE) {
# Example 1: Landscape without specific exclusions
base_prompt <- "A peaceful mountain lake surrounded by pine trees"
removed_from_image <- ""
style_guidance <- "photorealistic, high detail"
res <- createImagePrompt_v2(Base_prompt = base_prompt,
removed_from_image = removed_from_image,
style_guidance = style_guidance,
len = 200)
print(res)
# Example 2: Portrait with specific exclusions
base_prompt <- "A portrait of a wise elderly person"
removed_from_image <- "hat, glasses, jewelry"
style_guidance <- "oil painting style"
res <- createImagePrompt_v2(Base_prompt = base_prompt,
removed_from_image = removed_from_image,
style_guidance = style_guidance)
print(res)
}
Run the code above in your browser using DataLab