Instructions to use kingjones777/Ming-Image-0.1-Design-ROCm-INT8 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use kingjones777/Ming-Image-0.1-Design-ROCm-INT8 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("kingjones777/Ming-Image-0.1-Design-ROCm-INT8", 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
- Local Apps Settings
- Draw Things
- DiffusionBee
Download samples/info_water.json from kingjones777/Ming-Image-0.1-Design-ROCm-INT8: direct link, hf CLI and curl.
- Browser
- Download file 8.29 kB
-
https://huggingface.co/kingjones777/Ming-Image-0.1-Design-ROCm-INT8/resolve/main/samples/info_water.json
- Command line
-
hf download hf://kingjones777/Ming-Image-0.1-Design-ROCm-INT8/samples/info_water.json
-
curl -L -o info_water.json https://huggingface.co/kingjones777/Ming-Image-0.1-Design-ROCm-INT8/resolve/main/samples/info_water.json
8.29 kB
| { | |
| "canvas_settings": { | |
| "aspect_ratio": "1:1", | |
| "ambient_lighting": "Bright, even white studio illumination with soft pastel gradients and no cast shadows.", | |
| "image_style": "Clean flat-vector educational infographic with rounded geometry, thin white outlines, and a centered four-stage cycle." | |
| }, | |
| "layers": [ | |
| { | |
| "description": "Solid white square background with generous margins around a centered water-cycle infographic.", | |
| "coordinates": "cx: 0.500, cy: 0.500, w: 1.000, h: 1.000", | |
| "hierarchy_and_relation": "Base layer beneath every illustration, arrow, panel, and text element.", | |
| "color_specs": [ | |
| "#FFFFFF" | |
| ] | |
| }, | |
| { | |
| "description": "Large circular ocean-evaporation scene: a blue sun with short radial yellow rays rises over layered turquoise and deep-blue water. White-capped waves fill the lower half; a pale blue dashed vertical path rises from the water toward the top of the circle.", | |
| "coordinates": "cx: 0.247, cy: 0.258, w: 0.333, h: 0.333", | |
| "hierarchy_and_relation": "Occupies the upper-left cycle position; its top edge is partially occluded by the adjacent upward arrow, and it sits behind the stage label below.", | |
| "color_specs": [ | |
| "#29A9E2", | |
| "#7ED6F4", | |
| "#087FC1", | |
| "#075E91", | |
| "#FFFFFF", | |
| "#FFD547" | |
| ] | |
| }, | |
| { | |
| "description": "Large circular cloud-formation scene: a pale blue sky contains several white and light-gray puffy clouds, with a darker gray rain cloud near the lower center. A pale blue dashed vertical path descends from the upper cloud area.", | |
| "coordinates": "cx: 0.750, cy: 0.258, w: 0.333, h: 0.333", | |
| "hierarchy_and_relation": "Occupies the upper-right cycle position; its left edge is partially occluded by the incoming arrow from the evaporation stage and its lower edge is partially occluded by the downward arrow.", | |
| "color_specs": [ | |
| "#B9E5F5", | |
| "#FFFFFF", | |
| "#D9D9D9", | |
| "#858585", | |
| "#29A9E2" | |
| ] | |
| }, | |
| { | |
| "description": "Large circular rainfall scene: dark blue-gray storm clouds and falling blue raindrops fill the upper portion above a vivid turquoise-blue water surface with small white wave marks.", | |
| "coordinates": "cx: 0.750, cy: 0.742, w: 0.333, h: 0.333", | |
| "hierarchy_and_relation": "Occupies the lower-right cycle position; receives the downward arrow from the cloud stage and sends a curved arrow toward the collection stage.", | |
| "color_specs": [ | |
| "#555F68", | |
| "#747D85", | |
| "#29A9E2", | |
| "#087FC1", | |
| "#FFFFFF" | |
| ] | |
| }, | |
| { | |
| "description": "Large circular land-collection scene: green hills and grassy banks surround a blue lake or river. Dark evergreen trees stand on the left and right banks, pale gray mountains recede in the distance, and a small white cloud floats at upper left.", | |
| "coordinates": "cx: 0.247, cy: 0.742, w: 0.333, h: 0.333", | |
| "hierarchy_and_relation": "Occupies the lower-left cycle position; receives the curved arrow from rainfall and sends a long curved arrow upward toward evaporation.", | |
| "color_specs": [ | |
| "#238F38", | |
| "#56A94B", | |
| "#087FC1", | |
| "#29A9E2", | |
| "#A9C7D8", | |
| "#FFFFFF", | |
| "#4F7E35" | |
| ] | |
| }, | |
| { | |
| "description": "Thick curved directional arrows with rounded shafts and triangular heads: one rises from the upper-left circle toward the upper-right circle, one descends from the upper-right circle toward the lower-right circle, one curves from the lower-right circle toward the lower-left circle, and one curves from the lower-left circle toward the upper-left circle. Each arrow is medium blue with a white outline.", | |
| "coordinates": "cx: 0.500, cy: 0.500, w: 0.744, h: 0.744", | |
| "hierarchy_and_relation": "Overlays the gaps between the four circular scenes, visually linking them into a clockwise cycle while remaining behind the stage labels.", | |
| "color_specs": [ | |
| "#29A9E2", | |
| "#FFFFFF" | |
| ] | |
| }, | |
| { | |
| "description": "Bold dark-blue uppercase stage heading 'EVAPORATION', centered above the upper-left circular scene. The heading forms the first row of a centered two-row label group, stacked directly above its explanatory copy.", | |
| "coordinates": "cx: 0.247, cy: 0.070, w: 0.245, h: 0.031", | |
| "hierarchy_and_relation": "Topmost label for the evaporation stage, positioned above and not touching the circular water illustration.", | |
| "color_specs": [ | |
| "#075E91" | |
| ] | |
| }, | |
| { | |
| "description": "Two centered lines of small dark-gray explanatory copy beneath the upper-left heading: first line 'The sun heats up water', second line 'and it turns into vapor.'. The two occurrences form a compact stacked pair on separate rows, share a common center axis, and sit directly beneath the heading.", | |
| "coordinates": "cx: 0.247, cy: 0.111, w: 0.190, h: 0.043", | |
| "hierarchy_and_relation": "Secondary text block directly below the evaporation heading and above the ocean scene.", | |
| "color_specs": [ | |
| "#333333" | |
| ] | |
| }, | |
| { | |
| "description": "Bold dark-blue uppercase stage heading 'CONDENSATION', centered above the upper-right circular scene. The heading forms the first row of a centered two-row label group, stacked directly above its explanatory copy.", | |
| "coordinates": "cx: 0.750, cy: 0.070, w: 0.245, h: 0.031", | |
| "hierarchy_and_relation": "Topmost label for the condensation stage, positioned above the cloud illustration.", | |
| "color_specs": [ | |
| "#075E91" | |
| ] | |
| }, | |
| { | |
| "description": "Two centered lines of small dark-gray explanatory copy beneath the upper-right heading: first line 'Water vapor cools', second line 'and forms clouds.'. The two occurrences form a compact stacked pair on separate rows, share a common center axis, and sit directly beneath the heading.", | |
| "coordinates": "cx: 0.750, cy: 0.111, w: 0.170, h: 0.043", | |
| "hierarchy_and_relation": "Secondary text block directly below the condensation heading and above the cloud scene.", | |
| "color_specs": [ | |
| "#333333" | |
| ] | |
| }, | |
| { | |
| "description": "Bold dark-blue uppercase stage heading 'PRECIPITATION', centered beside the lower-right circular scene. The heading forms the first row of a centered two-row label group, stacked directly above its explanatory copy.", | |
| "coordinates": "cx: 0.750, cy: 0.918, w: 0.245, h: 0.031", | |
| "hierarchy_and_relation": "Topmost label below the rainfall illustration, aligned to its horizontal center.", | |
| "color_specs": [ | |
| "#075E91" | |
| ] | |
| }, | |
| { | |
| "description": "Two centered lines of small dark-gray explanatory copy beneath the lower-right heading: first line 'Water falls as rain,', second line 'snow, or hail.'. The two occurrences form a compact stacked pair on separate rows, share a common center axis, and sit directly beneath the heading.", | |
| "coordinates": "cx: 0.750, cy: 0.959, w: 0.170, h: 0.043", | |
| "hierarchy_and_relation": "Secondary text block directly below the precipitation heading and above the bottom canvas margin.", | |
| "color_specs": [ | |
| "#333333" | |
| ] | |
| }, | |
| { | |
| "description": "Bold dark-blue uppercase stage heading 'COLLECTION', centered above the lower-left circular scene. The heading forms the first row of a centered two-row label group, stacked directly above its explanatory copy.", | |
| "coordinates": "cx: 0.247, cy: 0.918, w: 0.200, h: 0.031", | |
| "hierarchy_and_relation": "Topmost label below the land-and-water illustration, aligned to its horizontal center.", | |
| "color_specs": [ | |
| "#075E91" | |
| ] | |
| }, | |
| { | |
| "description": "Two centered lines of small dark-gray explanatory copy beneath the lower-left heading: first line 'Water collects in rivers, lakes,', second line 'and oceans.'. The two occurrences form a compact stacked pair on separate rows, share a common center axis, and sit directly beneath the heading.", | |
| "coordinates": "cx: 0.247, cy: 0.959, w: 0.220, h: 0.043", | |
| "hierarchy_and_relation": "Secondary text block directly below the collection heading and above the bottom canvas margin.", | |
| "color_specs": [ | |
| "#333333" | |
| ] | |
| } | |
| ] | |
| } | |