Instructions to use ml-resources/FIBO with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use ml-resources/FIBO with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("ml-resources/FIBO", dtype=torch.bfloat16, device_map="cuda") prompt = "A man holding a goose while screaming" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Download examples/outputs/refine_edited.json from ml-resources/FIBO: direct link, hf CLI and curl.
- Browser
- Download file 4.28 kB
-
https://huggingface.co/ml-resources/FIBO/resolve/main/examples/outputs/refine_edited.json
- Command line
-
hf download hf://ml-resources/FIBO/examples/outputs/refine_edited.json
-
curl -L -o refine_edited.json https://huggingface.co/ml-resources/FIBO/resolve/main/examples/outputs/refine_edited.json
4.28 kB
| { | |
| "short_description": "A realistic image features an elephant standing on a concrete sidewalk next to a red fire hydrant. The elephant is positioned prominently in the center-right of the frame, facing towards the right with its head slightly lowered. The fire hydrant is in the bottom-left foreground. The background consists of a plain, light-colored wall, suggesting an urban or industrial setting. The lighting is even, highlighting the elephant's skin and the vibrant red of the hydrant.", | |
| "objects": [ | |
| { | |
| "description": "A large adult elephant with wrinkled, gray skin. Its trunk is curled slightly downwards, and its ears are large and fanned out. The elephant appears calm and massive.", | |
| "location": "center-right", | |
| "relationship": "The elephant is standing next to the fire hydrant, appearing to be observing it or simply pausing in its vicinity.", | |
| "relative_size": "large within frame", | |
| "shape_and_color": "Massive, bulky shape, predominantly gray with some brownish hues in the wrinkles.", | |
| "texture": "The elephant's skin is heavily wrinkled and appears thick and leathery. End of texture answer.", | |
| "appearance_details": "Its tusks are not visible, suggesting it might be a female or a younger individual. Its eyes are small and dark.", | |
| "number_of_objects": null, | |
| "pose": "Standing upright on all four legs, with its head slightly lowered and turned to its right.", | |
| "expression": "Calm and observant.", | |
| "clothing": null, | |
| "action": "Standing still.", | |
| "gender": "Unidentifiable.", | |
| "skin_tone_and_texture": null, | |
| "orientation": "Facing right." | |
| }, | |
| { | |
| "description": "A classic red fire hydrant, cylindrical in shape with various valves and caps. It has a chain connecting two of its components.", | |
| "location": "bottom-left foreground", | |
| "relationship": "The fire hydrant is situated on the sidewalk, directly in front of the elephant's left front leg.", | |
| "relative_size": "medium", | |
| "shape_and_color": "Cylindrical, bright red.", | |
| "texture": "The fire hydrant appears to have a smooth, painted metallic surface with some visible wear and tear. End of texture answer.", | |
| "appearance_details": "It has a slightly weathered appearance, with some dirt or grime near its base.", | |
| "number_of_objects": null, | |
| "pose": null, | |
| "expression": null, | |
| "clothing": null, | |
| "action": null, | |
| "gender": null, | |
| "skin_tone_and_texture": null, | |
| "orientation": "Upright." | |
| } | |
| ], | |
| "background_setting": "The background is a plain, light gray concrete wall, suggesting an urban environment. Below the wall, there is a narrow strip of what appears to be dry grass or dirt, indicating a small patch of nature in an otherwise man-made setting. The ground is a concrete sidewalk with a curb separating it from a darker asphalt road.", | |
| "lighting": { | |
| "conditions": "Bright daylight", | |
| "direction": "Evenly lit, possibly from above or slightly front-lit.", | |
| "shadows": "Subtle, soft shadows are visible beneath the elephant and the fire hydrant, indicating a clear day with diffused light." | |
| }, | |
| "aesthetics": { | |
| "composition": "Centered, with the elephant occupying the majority of the frame and the fire hydrant providing a contrasting element in the foreground.", | |
| "color_scheme": "Monochromatic (gray) for the elephant, contrasted with a vibrant red for the hydrant and neutral grays for the background.", | |
| "mood_atmosphere": "Surreal and intriguing, due to the unexpected presence of an elephant in an urban setting." | |
| }, | |
| "photographic_characteristics": { | |
| "depth_of_field": "Shallow, with the elephant and fire hydrant in sharp focus and the background slightly blurred.", | |
| "focus": "Sharp focus on subject.", | |
| "camera_angle": "Eye-level.", | |
| "lens_focal_length": "Standard." | |
| }, | |
| "style_medium": "photograph", | |
| "text_render": [], | |
| "context": "This is an art piece or conceptual photograph, likely created digitally, that plays on the juxtaposition of a wild animal in an unexpected urban environment. It could be used for advertising, editorial content, or as a standalone piece of art designed to provoke thought or amusement.", | |
| "artistic_style": "Surreal, realistic" | |
| } |