-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathz-image.json
More file actions
48 lines (48 loc) · 1.76 KB
/
Copy pathz-image.json
File metadata and controls
48 lines (48 loc) · 1.76 KB
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
{
"variables": {
"prompt": "prompt:zimage/kidney_trade_in",
"negative_prompt": "colorful, photorealistic faces, modern UI, flat design, white background, sharp clean edges, high saturation, lens flare, bloom overexposed",
"num_images_per_prompt": 4,
"num_inference_steps": 9,
"guidance_scale": 0.0,
"width": 960,
"height": 544,
"seed": 42
},
"seed": "variable:seed",
"id": "ZImage",
"description": "Text-to-image with Z-Image Turbo - photorealistic output in nine steps.",
"cost": [
{"device": "cuda", "name": "RTX 3090", "vram_gb": 24, "minutes": 1.4}
],
"configures": "templates/text-to-image",
"steps": [
{
"name": "txt2img",
"pipeline": {
"configuration": {
"component_type": "ZImagePipeline",
"offload": "sequential"
},
"from_pretrained_arguments": {
"model_name": "Tongyi-MAI/Z-Image-Turbo",
"torch_dtype": "torch.bfloat16",
"low_cpu_mem_usage": true
},
"arguments": {
"prompt": "variable:prompt",
"negative_prompt": "variable:negative_prompt",
"num_inference_steps": "variable:num_inference_steps",
"num_images_per_prompt": "variable:num_images_per_prompt",
"width": "variable:width",
"height": "variable:height",
"guidance_scale": "variable:guidance_scale"
}
},
"result": {
"content_type": "image/jpeg",
"embed_metadata": true
}
}
]
}