Instructions to use cale/greeting-card-generator-flux with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use cale/greeting-card-generator-flux with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("cale/greeting-card-generator-flux") prompt = "<lora:Greeting_Card_Designer_FLUX:0.7> The image is a photograph showcasing a beautifully designed thank-you card held by a hand. The card features a warm, inviting design with a light beige background. The main text, \"THANKS FOR NOTHING,\" is written in a bold, elegant script in a deep brown color. Surrounding the text are stylized illustrations of flowers and leaves. The flowers are depicted in shades of pink and peach, with the leaves in varying shades of green and brown. The illustrations give the card a hand-drawn, watercolor-like appearance with a modern, whimsical touch. In the background, several other thank-you cards are visible. One card, partially visible, has text reading \"You're the worst.\" Another card, slightly obscured, has text that says \"I hate you.\" These cards are also adorned with similar floral and leaf designs, maintaining the consistent aesthetic of the main card." image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Commit ·
2e01e85
verified ·
0
Parent(s):
initial commit
Browse files- .gitattributes +55 -0
- README.md +159 -0
.gitattributes
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
| 2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
| 3 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
| 4 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
| 5 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
| 6 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
| 7 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
| 8 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
| 9 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
| 10 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
| 11 |
+
*.lz4 filter=lfs diff=lfs merge=lfs -text
|
| 12 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
| 13 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
| 14 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
| 15 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
| 16 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
| 17 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 18 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 19 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
| 20 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
| 21 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
| 22 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
| 23 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 24 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 25 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
| 26 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 27 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
| 28 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
| 29 |
+
*.tar filter=lfs diff=lfs merge=lfs -text
|
| 30 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
| 31 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
| 32 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
| 33 |
+
*.xz filter=lfs diff=lfs merge=lfs -text
|
| 34 |
+
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 35 |
+
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
# Audio files - uncompressed
|
| 38 |
+
*.pcm filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
*.sam filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
*.raw filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
# Audio files - compressed
|
| 42 |
+
*.aac filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
*.flac filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
*.mp3 filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
*.ogg filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
*.wav filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
# Image files - uncompressed
|
| 48 |
+
*.bmp filter=lfs diff=lfs merge=lfs -text
|
| 49 |
+
*.gif filter=lfs diff=lfs merge=lfs -text
|
| 50 |
+
*.png filter=lfs diff=lfs merge=lfs -text
|
| 51 |
+
*.tiff filter=lfs diff=lfs merge=lfs -text
|
| 52 |
+
# Image files - compressed
|
| 53 |
+
*.jpg filter=lfs diff=lfs merge=lfs -text
|
| 54 |
+
*.jpeg filter=lfs diff=lfs merge=lfs -text
|
| 55 |
+
*.webp filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,159 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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| 10 |
+
a beautifully designed thank-you card held by a hand. The card features a
|
| 11 |
+
warm, inviting design with a light beige background. The main text, "THANKS
|
| 12 |
+
FOR NOTHING," is written in a bold, elegant script in a deep brown color.
|
| 13 |
+
Surrounding the text are stylized illustrations of flowers and leaves. The
|
| 14 |
+
flowers are depicted in shades of pink and peach, with the leaves in varying
|
| 15 |
+
shades of green and brown. The illustrations give the card a hand-drawn,
|
| 16 |
+
watercolor-like appearance with a modern, whimsical touch. In the
|
| 17 |
+
background, several other thank-you cards are visible. One card, partially
|
| 18 |
+
visible, has text reading "You're the worst." Another card, slightly
|
| 19 |
+
obscured, has text that says "I hate you." These cards are also adorned with
|
| 20 |
+
similar floral and leaf designs, maintaining the consistent aesthetic of the
|
| 21 |
+
main card.
|
| 22 |
+
output:
|
| 23 |
+
url: images/00196-1382271233.png
|
| 24 |
+
- text: >-
|
| 25 |
+
<lora:Greeting_Card_Designer_FLUX:0.8> This is a photograph of a
|
| 26 |
+
Halloween-themed scene, showcasing a gothic-style greeting card featuring a
|
| 27 |
+
spooky, old church with pointed spires and a graveyard setting, along with
|
| 28 |
+
the text "Your Taxes Are Due!". The card is placed on a rustic, wooden
|
| 29 |
+
table, which is adorned with various Halloween decorations. The card itself
|
| 30 |
+
is intricately designed, with dark, atmospheric colors and eerie details,
|
| 31 |
+
including bats flying around a glowing, full moon. The background of the
|
| 32 |
+
card is a dark, misty night sky with skeletal trees and gravestones. To the
|
| 33 |
+
left of the card, a lit, orange candle flickers, casting a warm, soft glow.
|
| 34 |
+
Nearby, a glass jar with a candle inside adds to the eerie ambiance. In the
|
| 35 |
+
top left corner, a glass lantern with a flickering flame hangs from a
|
| 36 |
+
branch. On the right, a carved, glowing jack-o'-lantern with a wicked grin
|
| 37 |
+
sits next to a skull and a bundle of twine.
|
| 38 |
+
output:
|
| 39 |
+
url: images/00131-1468044398.png
|
| 40 |
+
- text: >-
|
| 41 |
+
<lora:Greeting_Card_Designer_FLUX:0.8> The image is a highly detailed,
|
| 42 |
+
CGI-rendered scene from a space exploration game or movie, showcasing a
|
| 43 |
+
futuristic spacecraft cockpit. The scene is set in outer space, with Earth's
|
| 44 |
+
atmosphere visible as a thin blue line curving away from the viewer. The
|
| 45 |
+
spacecraft, a sleek, silver, and black vessel with multiple engines and a
|
| 46 |
+
cockpit, is prominently featured in the background, flying towards the
|
| 47 |
+
right. The ship is equipped with various control panels and screens visible
|
| 48 |
+
on its surface. In the foreground, two futuristic, gloved hands hold a white
|
| 49 |
+
birthday card with a heart design on it. The heart is depicted in a
|
| 50 |
+
stylized, abstract manner with a red core and swirling patterns of blue and
|
| 51 |
+
purple, resembling a nebula. The text on the card reads "HAPPY BIRTHDAY" and
|
| 52 |
+
"FROM YOURSELF IN THE PAST". The interior of the cockpit is modern and
|
| 53 |
+
high-tech, with a metallic, slightly textured surface, and numerous control
|
| 54 |
+
panels and screens glowing with soft blue and white light.
|
| 55 |
+
output:
|
| 56 |
+
url: images/00112-3663406391.png
|
| 57 |
+
- text: >-
|
| 58 |
+
This is a highly detailed, digitally rendered image of a greeting card
|
| 59 |
+
featuring a McDonald's meal. The card depicts a large, juicy burger with a
|
| 60 |
+
sesame seed bun, topped with a slice of cheese, lettuce, tomatoes, pickles,
|
| 61 |
+
and a patty. Above the burger is the text "Happy Heart Attack!" Below the
|
| 62 |
+
burger, a side of crispy, golden French fries is shown in a red and yellow
|
| 63 |
+
McDonald's bag. To the left, a large, colorful milkshake with whipped cream,
|
| 64 |
+
sprinkles, and a red and white striped straw is positioned. The background
|
| 65 |
+
features a stylized, warm, and inviting restaurant interior with wooden
|
| 66 |
+
paneling and a modern, industrial-chic design. The walls are a light gray
|
| 67 |
+
with a white trim, and the ceiling has a wooden finish. There are several
|
| 68 |
+
pendant lights hanging from the ceiling, casting a warm glow. The seating
|
| 69 |
+
area includes high stools with dark, cushioned seats and backs. The counter
|
| 70 |
+
is visible with various items like napkins and a drink
|
| 71 |
+
dispenser.<lora:Greeting_Card_Designer_FLUX:0.8>
|
| 72 |
+
output:
|
| 73 |
+
url: images/00009-271640850.png
|
| 74 |
+
- text: >-
|
| 75 |
+
<lora:Greeting_Card_Designer_FLUX:0.8> The image is a high-resolution
|
| 76 |
+
photograph showcasing a serene, intimate setting designed to evoke a sense
|
| 77 |
+
of solemnity and respect. The central focus is a card with the word "It
|
| 78 |
+
Should Have Been You" prominently displayed in elegant, serif font at the
|
| 79 |
+
bottom. The card features a beautifully rendered floral arrangement,
|
| 80 |
+
primarily featuring cream-colored roses with green foliage, set against a
|
| 81 |
+
dark background, giving it a somber yet elegant appearance. The flowers are
|
| 82 |
+
arranged in a vase placed on a wooden table, which has a light, warm finish.
|
| 83 |
+
In the background, there's a large, dimly lit, ornate candle in a silver
|
| 84 |
+
holder, adding a touch of warmth and a sense of reverence. The candle is
|
| 85 |
+
placed on a small white ceramic plate, next to a smaller, partially burned
|
| 86 |
+
candle.
|
| 87 |
+
output:
|
| 88 |
+
url: images/00378-3637918452.png
|
| 89 |
+
- text: >-
|
| 90 |
+
<lora:Greeting_Card_Designer_FLUX:0.7> The image is a high-quality
|
| 91 |
+
photograph of a greeting card designed for a humorous retirement party. The
|
| 92 |
+
card features a digitally created illustration of an elderly dinosaur man,
|
| 93 |
+
lounging on a striped armchair with the text "Congrats on Surviving to
|
| 94 |
+
Retirement!". He is wearing a cozy, gray cardigan over a white shirt, and a
|
| 95 |
+
pipe is clenched in his mouth. The dinosaur has a playful, slightly
|
| 96 |
+
mischievous expression. The background of the card is a light green with
|
| 97 |
+
subtle, whimsical illustrations of asteroids and confetti. Text on bottom of
|
| 98 |
+
card in a different font: "scratch and sniff!" The card is placed on a
|
| 99 |
+
wooden table, adorned with a white, textured placemat with a subtle fringe
|
| 100 |
+
along its edges.
|
| 101 |
+
output:
|
| 102 |
+
url: images/00199-4150508319.png
|
| 103 |
+
- text: >-
|
| 104 |
+
This is a detailed, highly realistic CGI illustration with a dark, medieval
|
| 105 |
+
fantasy theme. The central object is a greeting card titled "IT'S AN
|
| 106 |
+
EXECUTION!" with a stylized, ornate cover. The card features a golden,
|
| 107 |
+
armored figure of a judge sitting on a throne, wearing a crown and holding
|
| 108 |
+
scales. The figure's armor is detailed with intricate patterns and textures,
|
| 109 |
+
giving it a regal and ominous appearance. The card s adorned with a golden
|
| 110 |
+
border and a dark, stone background, mimicking a medieval castle wall. The
|
| 111 |
+
background setting is a dimly lit, stone-walled dungeon, with iron bars
|
| 112 |
+
visible, indicating imprisonment. A lit, ornate lantern on the left casts a
|
| 113 |
+
warm, flickering glow, adding depth and contrast to the scene. To the right,
|
| 114 |
+
a metal lantern with a glass front stands, casting a soft light. A lit
|
| 115 |
+
candle in a metal holder on the right side adds to the eerie, medieval
|
| 116 |
+
atmosphere.<lora:Greeting_Card_Designer_FLUX:0.8>
|
| 117 |
+
output:
|
| 118 |
+
url: images/00018-3521366988.png
|
| 119 |
+
base_model: black-forest-labs/FLUX.1-dev
|
| 120 |
+
instance_prompt: >-
|
| 121 |
+
The image is a photograph of a (THEME/EVENT) greeting card displayed on a
|
| 122 |
+
shelf in a store. The card features a (CHARACTER/OBJECT) with the text
|
| 123 |
+
"(TEXT)".
|
| 124 |
+
license: wtfpl
|
| 125 |
+
---
|
| 126 |
+
# Greeting Card Generator
|
| 127 |
+
|
| 128 |
+
<Gallery />
|
| 129 |
+
|
| 130 |
+
## Model description
|
| 131 |
+
|
| 132 |
+
Wait, that event is happening tomorrow!? But I haven't even bought a card! How will people know I care just enough about this matter to supply them with a particular specific card tailored to it?
|
| 133 |
+
|
| 134 |
+
Skip the middle man and show them you care enough to spin up your overpriced GPU or one of the ones on Civitai to generate a fully custom designed/themed/worded greeting card in less than a minute. Now that's service!
|
| 135 |
+
|
| 136 |
+
Recommended Strength: 0.6 - 0.9
|
| 137 |
+
|
| 138 |
+
Usage: Remix or try out some mad libs!
|
| 139 |
+
|
| 140 |
+
EZmode:
|
| 141 |
+
|
| 142 |
+
The image is a photograph of a (THEME/EVENT) greeting card displayed on a (OBJECT) in a (LOCATION). The card features a (CHARACTER/OBJECT) with the text "(TEXT)!".
|
| 143 |
+
|
| 144 |
+
The background of the card is a gradient of (COLOUR) and (COLOUR), giving it a (THEME)-like atmosphere.
|
| 145 |
+
|
| 146 |
+
Even EZiermode:
|
| 147 |
+
|
| 148 |
+
The image is a photograph of a (THEME/EVENT) greeting card displayed on a shelf in a store. The card features a (CHARACTER/OBJECT) with the text "(TEXT)".
|
| 149 |
+
|
| 150 |
+
## Trigger words
|
| 151 |
+
|
| 152 |
+
You should use `The image is a photograph of a (THEME/EVENT) greeting card displayed on a shelf in a store. The card features a (CHARACTER/OBJECT) with the text "(TEXT)".` to trigger the image generation.
|
| 153 |
+
|
| 154 |
+
|
| 155 |
+
## Download model
|
| 156 |
+
|
| 157 |
+
Weights for this model are available in Safetensors format.
|
| 158 |
+
|
| 159 |
+
[Download](/cale/greeting-card-generator-flux/tree/main) them in the Files & versions tab.
|