Instructions to use diffusers-internal-dev/ideogram-character-generator with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use diffusers-internal-dev/ideogram-character-generator with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("diffusers-internal-dev/ideogram-character-generator", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -21,7 +21,7 @@ image = character_pipe(
|
|
| 21 |
prompt=(
|
| 22 |
'''Youtube thumbnail of a women texting on iphone. Graphic overlay of text bubble "🤗"'''
|
| 23 |
),
|
| 24 |
-
character_image=load_image(
|
| 25 |
output="image"
|
| 26 |
)
|
| 27 |
|
|
|
|
| 21 |
prompt=(
|
| 22 |
'''Youtube thumbnail of a women texting on iphone. Graphic overlay of text bubble "🤗"'''
|
| 23 |
),
|
| 24 |
+
character_image=load_image(PATH_TO_IMAGE),
|
| 25 |
output="image"
|
| 26 |
)
|
| 27 |
|