Instructions to use black-forest-labs/FLUX.1-Canny-dev with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use black-forest-labs/FLUX.1-Canny-dev 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-Canny-dev", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Diffusion Single File
How to use black-forest-labs/FLUX.1-Canny-dev with Diffusion Single File:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
Add Diffusers weights
Comic book cover in a dynamic, action-packed style featuring Spider-Man. The layout is vertical with a central focus on Spider-Man, depicted in a sleek, futuristic red and blue suit, standing heroically with arms outstretched. The background is a dramatic, angular cityscape in shades of blue and purple, creating a sense of depth and movement. Surrounding Spider-Man are numerous outstretched hands reaching towards him, adding tension and urgency. The title 'SPIDER-MAN NEO-GOTHIC' is prominently displayed at the top in bold, stylized white and red lettering, with a futuristic font. The Marvel logo is in the top left corner, circular and red with white text. The issue number '1' is next to the logo. At the bottom, the text 'IN THE RUINS OF OLD NEW YORK!' is in a jagged, distressed font, white with a red outline, enhancing the gritty atmosphere. The price '$4.99' is in a small white box in the bottom left corner.