text to image
Z-Image-Lora
by qujincheng
license: apache-2.0
86,187 downloads1 likes
Get API KeyAPI Usage
Endpoint
POST https://api.gpu.fm/v1/inferenceRequest
curl -X POST https://api.gpu.fm/v1/inference \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "qujincheng/Z-Image-Lora",
"inputs": "A serene mountain landscape at sunset, photorealistic",
"parameters": {
"max_new_tokens": 256
}
}'Response
{
"result": [base64 encoded image data],
"usage": {
"inputTokens": 12,
"outputTokens": 128
},
"pricing": {
"total": "0.000018"
}
}Python SDK
import requests
response = requests.post(
"https://api.gpu.fm/v1/inference",
headers={"Authorization": "Bearer YOUR_API_KEY"},
json={
"model": "qujincheng/Z-Image-Lora",
"inputs": "A serene mountain landscape at sunset, photorealistic",
"parameters": {"max_new_tokens": 256}
}
)
result = response.json()
print(result["result"])Model Documentation
Full documentation available on HuggingFace →
Pricing
Per Image$0.0026/image
Billed from your prepaid credits. No minimum commitment.
Details
- Model ID
- qujincheng/Z-Image-Lora
- Library
- diffusers
- Pipeline
- text to image
- Updated
- 8/16/2026
Tags
diffuserstext-to-imagelorasafetensorsz-imagebase_model:Tongyi-MAI/Z-Imagebase_model:adapter:Tongyi-MAI/Z-Imagelicense:apache-2.0region:us