zeekay commited on
Commit
3701df4
·
verified ·
1 Parent(s): bfa2578

Update model card: add zen/zenlm tags, fix branding

Browse files
Files changed (1) hide show
  1. README.md +36 -52
README.md CHANGED
@@ -1,80 +1,64 @@
1
  ---
2
- license: mit
3
- language:
4
- - en
5
- pipeline_tag: text-to-image
6
  tags:
7
- - diffusers
8
- - text-to-image
9
- - image-generation
10
- - zen
11
- - zen3
12
- - zenlm
13
- - hanzo
14
  library_name: diffusers
15
  ---
16
 
17
  # Zen3 Image Dev
18
 
19
- **Zen3 Image Dev** is a high-fidelity text-to-image generation model developed by [Hanzo AI](https://hanzo.ai) as part of the Zen model family. It produces photorealistic and artistically detailed images with exceptional prompt adherence.
20
 
21
  ## Overview
22
 
23
- Zen3 Image Dev prioritizes image quality and prompt fidelity over speed. It excels at generating detailed, coherent images across a wide range of styles and subjects, making it the premium choice for quality-critical applications.
24
 
25
- ### Key Features
26
 
27
- - **Exceptional image quality**: State-of-the-art visual fidelity
28
- - **Strong prompt adherence**: Accurately renders complex descriptions
29
- - **Versatile style range**: Photorealism, illustration, 3D, and more
30
- - **High resolution**: Native 1024x1024 with support for other aspect ratios
31
-
32
- ## Usage
33
 
34
  ```python
35
  from diffusers import AutoPipelineForText2Image
36
  import torch
37
 
38
- pipe = AutoPipelineForText2Image.from_pretrained(
39
- "zenlm/zen3-image-dev",
40
- torch_dtype=torch.bfloat16
41
- )
42
- pipe.to("cuda")
43
-
44
- image = pipe(
45
- "A majestic mountain landscape reflected in a crystal clear alpine lake at golden hour",
46
- num_inference_steps=28,
47
- guidance_scale=5.0,
48
- height=1024,
49
- width=1024,
50
- ).images[0]
51
 
 
52
  image.save("output.png")
53
  ```
54
 
55
- ## Model Details
56
-
57
- | Property | Value |
58
- |----------|-------|
59
- | Architecture | Diffusion Transformer |
60
- | Precision | bfloat16 |
61
- | License | MIT |
62
-
63
  ## API Access
64
 
65
- ```bash
66
- curl https://api.hanzo.ai/v1/images/generations \
67
- -H "Authorization: Bearer $HANZO_API_KEY" \
68
- -H "Content-Type: application/json" \
69
- -d '{"model": "zen3-image-dev", "prompt": "A majestic mountain landscape"}'
70
- ```
71
 
72
- Get your API key at [console.hanzo.ai](https://console.hanzo.ai) — $5 free credit on signup.
 
 
 
 
 
 
 
73
 
74
- ## License
75
 
76
- MIT
 
 
 
 
 
77
 
78
- ---
79
 
80
- *Zen LM is developed by [Hanzo AI](https://hanzo.ai) — Frontier AI infrastructure.*
 
1
  ---
2
+ language: en
3
+ license: apache-2.0
 
 
4
  tags:
5
+ - zen
6
+ - zenlm
7
+ - hanzo
8
+ - zen3
9
+ - text-to-image
10
+ - diffusion
11
+ pipeline_tag: text-to-image
12
  library_name: diffusers
13
  ---
14
 
15
  # Zen3 Image Dev
16
 
17
+ Developer variant of Zen3 Image for research and fine-tuning workflows.
18
 
19
  ## Overview
20
 
21
+ Built on **Zen MoDE (Mixture of Distilled Experts)** architecture with 12B parameters.
22
 
23
+ Developed by [Hanzo AI](https://hanzo.ai) and the [Zoo Labs Foundation](https://zoo.ngo).
24
 
25
+ ## Quick Start
 
 
 
 
 
26
 
27
  ```python
28
  from diffusers import AutoPipelineForText2Image
29
  import torch
30
 
31
+ model_id = "zenlm/zen3-image-dev"
32
+ pipe = AutoPipelineForText2Image.from_pretrained(model_id, torch_dtype=torch.bfloat16)
33
+ pipe = pipe.to("cuda")
 
 
 
 
 
 
 
 
 
 
34
 
35
+ image = pipe("A serene mountain landscape at sunset, photorealistic").images[0]
36
  image.save("output.png")
37
  ```
38
 
 
 
 
 
 
 
 
 
39
  ## API Access
40
 
41
+ ```python
42
+ from openai import OpenAI
 
 
 
 
43
 
44
+ client = OpenAI(base_url="https://api.hanzo.ai/v1", api_key="your-api-key")
45
+ response = client.images.generate(
46
+ model="zen3-image-dev",
47
+ prompt="A serene mountain landscape at sunset",
48
+ size="1024px",
49
+ )
50
+ print(response.data[0].url)
51
+ ```
52
 
53
+ ## Model Details
54
 
55
+ | Attribute | Value |
56
+ |-----------|-------|
57
+ | Parameters | 12B |
58
+ | Architecture | Zen MoDE |
59
+ | Max Resolution | 1024px |
60
+ | License | Apache 2.0 |
61
 
62
+ ## License
63
 
64
+ Apache 2.0