File size: 1,969 Bytes
774e03a
 
 
 
 
 
 
 
 
470ac8f
 
774e03a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
470ac8f
 
 
774e03a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
49
50
51
52
53
54
55
56
57
58
59
60
61
---
license: apache-2.0
language:
  - en
tags:
  - text-to-image
  - z-image
  - api
  - apimodels
  - not-for-all-audiences
  - nsfw
---

# Z-Image — hosted API access

This repository is **not the model weights** — it documents running **Z-Image** through a
hosted API on **[apimodels.app](https://apimodels.app)**, a multi-model gateway where one key and one
OpenAI-compatible endpoint reach 110+ image, video, audio and language models.

- Original model & weights: **https://huggingface.co/Tongyi-MAI/Z-Image**
- Authors: Tongyi-MAI (Alibaba)
- License: Apache-2.0

Independent hosted-API integration. Not affiliated with or endorsed by the authors; does not
redistribute their weights. All credit for the model is theirs.

## What it does

A fast, efficient open text-to-image model. This page exposes it as the z-image-spicy tiers on the API —
the relaxed-moderation ("Spicy") line, so outputs may include adult content and the repository carries the
`not-for-all-audiences` tag. The API is for adults only; the model's own safety systems still apply upstream.

![Z-Image — hosted API access sample](sample-zimage.png)

*A sample produced through the apimodels.app API.*

## Use it via API

On apimodels.app the model is served as **z-image-spicy and z-image-spicy-pro**. Get a key at https://apimodels.app, then:

```bash
# text-to-image (sync: pass a WxH size, get the image inline)
curl -X POST https://api.apimodels.app/v1/images/generations \
  -H "Authorization: Bearer YOUR_API_KEY" -H "Content-Type: application/json" \
  -d '{ "model": "z-image-spicy", "prompt": "a cozy bookstore cafe, warm light", "size": "1360x768" }'
```

## Pricing

| Tier | Price |
| --- | --- |
| z-image-spicy | $0.015 / image (flat) |
| z-image-spicy-pro | $0.03 / image (flat) |

Failed jobs are not charged. Result files are kept for 7 days.

## Links

- Run it: **[apimodels.app](https://apimodels.app)**
- Original model: https://huggingface.co/Tongyi-MAI/Z-Image