Text-to-Image
Diffusers
Safetensors
MageFlowPipeline
image-generation
image-editing
diffusion
rectified-flow
mage-flow
Instructions to use SceneWorks/Mage-Flow-Base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use SceneWorks/Mage-Flow-Base with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("SceneWorks/Mage-Flow-Base", torch_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
File size: 709 Bytes
a160c0a | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | {
"in_channels": 128,
"out_channels": 128,
"vec_in_dim": 0,
"context_in_dim": 2560,
"hidden_size": 3072,
"mlp_ratio": 4.0,
"num_heads": 24,
"depth": 12,
"depth_single_blocks": 0,
"axes_dim": [
16,
56,
56
],
"theta": 10000,
"patch_size": 1,
"qkv_bias": true,
"guidance_embed": false,
"checkpoint": false,
"rope_type": "msrope",
"time_type": "qwen_proj",
"double_block_type": "double_stream",
"vec_type": null,
"apply_text_rotary_emb": false,
"_class_name": "MageFlow",
"txt_max_length": 2048,
"max_sequence_length": 2048,
"param_dtype": "bfloat16",
"packing": true,
"schedule_mode": "z-image",
"static_shift": 6.0,
"use_time_shift": false
} |