
Z-Image Turbo API by Alibaba
Z-Image-Turbo is a 6 billion parameter text-to-image model that generates photorealistic images in sub-second time. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.
इनपुट
आउटपुट
निष्क्रियआपके अनुरोध की लागत $0.01 प्रति रन होगी। $10 के साथ आप इस मॉडल को लगभग 1000 बार चला सकते हैं।
आगे आप यह कर सकते हैं:
कोड उदाहरण
import requests
import time
# Step 1: Start image generation
generate_url = "https://api.atlascloud.ai/api/v1/model/generateImage"
headers = {
"Content-Type": "application/json",
"Authorization": "Bearer $ATLASCLOUD_API_KEY"
}
data = {
"model": "z-image/turbo",
"prompt": "A beautiful landscape with mountains and lake",
"width": 512,
"height": 512,
"steps": 20,
"guidance_scale": 7.5,
}
generate_response = requests.post(generate_url, headers=headers, json=data)
generate_result = generate_response.json()
prediction_id = generate_result["data"]["id"]
# Step 2: Poll for result
poll_url = f"https://api.atlascloud.ai/api/v1/model/prediction/{prediction_id}"
def check_status():
while True:
response = requests.get(poll_url, headers={"Authorization": "Bearer $ATLASCLOUD_API_KEY"})
result = response.json()
if result["data"]["status"] == "completed":
print("Generated image:", result["data"]["outputs"][0])
return result["data"]["outputs"][0]
elif result["data"]["status"] == "failed":
raise Exception(result["data"]["error"] or "Generation failed")
else:
# Still processing, wait 2 seconds
time.sleep(2)
image_url = check_status()इंस्टॉल करें
अपनी प्रोग्रामिंग भाषा के लिए आवश्यक पैकेज इंस्टॉल करें।
pip install requestsप्रमाणीकरण
सभी API अनुरोधों के लिए API कुंजी के माध्यम से प्रमाणीकरण आवश्यक है। आप अपनी API कुंजी Atlas Cloud डैशबोर्ड से प्राप्त कर सकते हैं।
export ATLASCLOUD_API_KEY="your-api-key-here"HTTP हेडर
import os
API_KEY = os.environ.get("ATLASCLOUD_API_KEY")
headers = {
"Content-Type": "application/json",
"Authorization": f"Bearer {API_KEY}"
}क्लाइंट-साइड कोड या सार्वजनिक रिपॉज़िटरी में अपनी API कुंजी कभी उजागर न करें। इसके बजाय एनवायरनमेंट वेरिएबल या बैकएंड प्रॉक्सी का उपयोग करें।
अनुरोध सबमिट करें
import requests
url = "https://api.atlascloud.ai/api/v1/model/generateImage"
headers = {
"Content-Type": "application/json",
"Authorization": "Bearer $ATLASCLOUD_API_KEY"
}
data = {
"model": "your-model",
"prompt": "A beautiful landscape"
}
response = requests.post(url, headers=headers, json=data)
print(response.json())अनुरोध सबमिट करें
एक असिंक्रोनस जनरेशन अनुरोध सबमिट करें। API एक प्रेडिक्शन ID लौटाता है जिसका उपयोग आप स्थिति जाँचने और परिणाम प्राप्त करने के लिए कर सकते हैं।
/api/v1/model/generateImageअनुरोध बॉडी
import requests
url = "https://api.atlascloud.ai/api/v1/model/generateImage"
headers = {
"Content-Type": "application/json",
"Authorization": "Bearer $ATLASCLOUD_API_KEY"
}
data = {
"model": "z-image/turbo",
"input": {
"prompt": "A beautiful landscape with mountains and lake"
}
}
response = requests.post(url, headers=headers, json=data)
result = response.json()
print(f"Prediction ID: {result['id']}")
print(f"Status: {result['status']}")प्रतिक्रिया
{
"id": "pred_abc123",
"status": "processing",
"model": "model-name",
"created_at": "2025-01-01T00:00:00Z"
}स्थिति जाँचें
अपने अनुरोध की वर्तमान स्थिति जाँचने के लिए प्रेडिक्शन एंडपॉइंट को पोल करें।
/api/v1/model/prediction/{prediction_id}पोलिंग उदाहरण
import requests
import time
prediction_id = "pred_abc123"
url = f"https://api.atlascloud.ai/api/v1/model/prediction/{prediction_id}"
headers = { "Authorization": "Bearer $ATLASCLOUD_API_KEY" }
while True:
response = requests.get(url, headers=headers)
result = response.json()
status = result["data"]["status"]
print(f"Status: {status}")
if status in ["completed", "succeeded"]:
output_url = result["data"]["outputs"][0]
print(f"Output URL: {output_url}")
break
elif status == "failed":
print(f"Error: {result['data'].get('error', 'Unknown')}")
break
time.sleep(3)स्थिति मान
processingअनुरोध अभी भी प्रोसेस हो रहा है।completedजनरेशन पूर्ण हो गया है। आउटपुट उपलब्ध हैं।succeededजनरेशन सफल रहा। आउटपुट उपलब्ध हैं।failedजनरेशन विफल हो गया। एरर फ़ील्ड जाँचें।पूर्ण प्रतिक्रिया
{
"data": {
"id": "pred_abc123",
"status": "completed",
"outputs": [
"https://storage.atlascloud.ai/outputs/result.png"
],
"metrics": {
"predict_time": 8.3
},
"created_at": "2025-01-01T00:00:00Z",
"completed_at": "2025-01-01T00:00:10Z"
}
}फ़ाइलें अपलोड करें
Atlas Cloud स्टोरेज पर फ़ाइलें अपलोड करें और एक URL प्राप्त करें जिसका उपयोग आप अपने API अनुरोधों में कर सकते हैं। अपलोड के लिए multipart/form-data का उपयोग करें।
/api/v1/model/uploadMediaअपलोड उदाहरण
import requests
url = "https://api.atlascloud.ai/api/v1/model/uploadMedia"
headers = { "Authorization": "Bearer $ATLASCLOUD_API_KEY" }
with open("image.png", "rb") as f:
files = {"file": ("image.png", f, "image/png")}
response = requests.post(url, headers=headers, files=files)
result = response.json()
download_url = result["data"]["download_url"]
print(f"File URL: {download_url}")प्रतिक्रिया
{
"data": {
"download_url": "https://storage.atlascloud.ai/uploads/abc123/image.png",
"file_name": "image.png",
"content_type": "image/png",
"size": 1024000
}
}Input Schema
अनुरोध बॉडी में निम्नलिखित पैरामीटर स्वीकार किए जाते हैं।
कोई पैरामीटर उपलब्ध नहीं है।
अनुरोध बॉडी का उदाहरण
{
"model": "z-image/turbo"
}Output Schema
API जनरेट किए गए आउटपुट URL के साथ एक प्रेडिक्शन प्रतिक्रिया लौटाता है।
प्रतिक्रिया का उदाहरण
{
"id": "pred_abc123",
"status": "completed",
"model": "model-name",
"outputs": [
"https://storage.atlascloud.ai/outputs/result.png"
],
"metrics": {
"predict_time": 8.3
},
"created_at": "2025-01-01T00:00:00Z",
"completed_at": "2025-01-01T00:00:10Z"
}Atlas Cloud Skills
Atlas Cloud Skills 300+ AI मॉडल को सीधे आपके AI कोडिंग असिस्टेंट में इंटीग्रेट करता है। इंस्टॉल करने के लिए एक कमांड, फिर इमेज, वीडियो जनरेट करने और LLM के साथ चैट करने के लिए प्राकृतिक भाषा का उपयोग करें।
समर्थित क्लाइंट
इंस्टॉल करें
npx skills add AtlasCloudAI/atlas-cloud-skillsAPI कुंजी सेटअप करें
Atlas Cloud डैशबोर्ड से अपनी API कुंजी प्राप्त करें और इसे एनवायरनमेंट वेरिएबल के रूप में सेट करें।
export ATLASCLOUD_API_KEY="your-api-key-here"क्षमताएँ
एक बार इंस्टॉल होने के बाद, आप सभी Atlas Cloud मॉडल तक पहुँचने के लिए अपने AI असिस्टेंट में प्राकृतिक भाषा का उपयोग कर सकते हैं।
MCP Server
Atlas Cloud MCP Server आपके IDE को Model Context Protocol के माध्यम से 300+ AI मॉडल से जोड़ता है। किसी भी MCP-संगत क्लाइंट के साथ काम करता है।
समर्थित क्लाइंट
इंस्टॉल करें
npx -y atlascloud-mcpकॉन्फ़िगरेशन
अपने IDE की MCP सेटिंग्स फ़ाइल में निम्नलिखित कॉन्फ़िगरेशन जोड़ें।
{
"mcpServers": {
"atlascloud": {
"command": "npx",
"args": [
"-y",
"atlascloud-mcp"
],
"env": {
"ATLASCLOUD_API_KEY": "your-api-key-here"
}
}
}
}उपलब्ध टूल
API स्कीमा
स्कीमा उपलब्ध नहींअनुरोध इतिहास देखने के लिए कृपया साइन इन करें
अपने मॉडल अनुरोध इतिहास तक पहुंचने के लिए आपको साइन इन करना होगा।
साइन इन करेंZ-Image Turbo - बिजली की तरह तेज़ टेक्स्ट-टू-इमेज जनरेशन
नयाAlibaba TONGYIMAI से 6 बिलियन पैरामीटर मॉडल
Z-Image Turbo नंबर 1 रैंक किया गया ओपन-सोर्स टेक्स्ट-टू-इमेज मॉडल है, जो Artificial Analysis Image Arena पर FLUX.2 [dev], HunyuanImage 3.0, और Qwen-Image से आगे निकल गया है। Alibaba की Tongyi-MAI टीम द्वारा निर्मित (Qwen/Wan से अलग डिवीजन), यह 6 बिलियन पैरामीटर मॉडल उन्नत Decoupled-DMD डिस्टिलेशन के माध्यम से एक सेकंड से कम समय में जनरेशन प्राप्त करता है जबकि फोटोरियलिस्टिक गुणवत्ता बनाए रखता है। केवल 8 इन्फेरेंस स्टेप्स के साथ, यह 16GB VRAM में फिट होता है और स्पीड-क्रिटिकल प्रोडक्शन एनवायरनमेंट के लिए अनुकूलित पेशेवर परिणाम प्रदान करता है।
- केवल 8 इन्फेरेंस स्टेप्स (प्रतियोगियों के लिए 20-50 बनाम)
- H800 GPU पर एक सेकंड से कम जनरेशन
- Qwen Image से प्रति स्टेप 1.31-1.41× तेज़
- 16GB VRAM में फिट (RTX 3060/4090)
- AI Arena पर नंबर 1 रैंक किया गया ओपन-सोर्स मॉडल
- द्विभाषी टेक्स्ट रेंडरिंग (अंग्रेजी और चीनी)
- मजबूत निर्देश पालन
- सभी श्रेणियों में FLUX.1 [dev] और Qwen को हराता है
Alibaba का रणनीतिक मॉडल पोर्टफोलियो
Alibaba तीन विशेष AI इमेज जनरेशन सिस्टम प्रदान करता है, प्रत्येक विभिन्न उपयोग के मामलों के लिए अनुकूलित
Z-Image Turbo
Tongyi-MAI टीम
- ⚡ सबसे तेज़: 8 स्टेप्स, एक सेकंड से कम जनरेशन
- 🏆 नंबर 1 रैंक किया गया ओपन-सोर्स मॉडल
- 💰 सबसे अधिक लागत-प्रभावी ($0.005/इमेज)
- 🎯 तेज़ इटरेशन के लिए अनुकूलित
Qwen-Image
Qwen टीम
- 🎨 बेजोड़ फोटोरियलिज्म और स्किन टेक्सचर
- 💡 बेहतर लाइटिंग इंटरैक्शन
- ⏱️ धीमा (20 सेकंड बनाम Z-Image के लिए 5-10 सेकंड)
- 🎯 हाई-एंड प्रोडक्शन वर्क के लिए सर्वश्रेष्ठ
Wan 2.5/2.6
Wan टीम
- 🎬 टेक्स्ट-टू-वीडियो + इमेज-टू-वीडियो
- 📹 मल्टी-रिज़ॉल्यूशन सपोर्ट (480P-720P)
- 🔄 ऑडियो-विज़ुअल सिंक्रनाइज़ेशन
- 🎯 क्रॉस-मोडल कंटेंट जनरेशन
Key Insight: Z-Image Turbo, Qwen-Image से प्रति स्टेप 1.31-1.41× तेज़ है, जो इसे तेज़ जनरेशन की आवश्यकता वाले एप्लिकेशन के लिए आदर्श बनाता है। जबकि Qwen-Image अंतिम रेंडर के लिए थोड़ा बेहतर फोटोरियलिज्म प्रदान करता है, Z-Image Turbo प्रोडक्शन एनवायरनमेंट के लिए स्पीड और गुणवत्ता का सर्वोत्तम संतुलन प्रदान करता है।
तकनीकी हाइलाइट्स
Single-Stream Diffusion Transformer (S3-DiT) आर्किटेक्चर को अपनाता है जो विभिन्न कंडीशनल इनपुट की प्रोसेसिंग को एकीकृत करता है। यह 6 बिलियन पैरामीटर डिज़ाइन बड़े मॉडल के कम्प्यूटेशनल ओवरहेड के बिना पेशेवर परिणाम प्राप्त करता है जबकि अत्याधुनिक गुणवत्ता बनाए रखता है।
CFG Augmentation और Distribution Matching तंत्र के साथ उन्नत डिस्टिलेशन एल्गोरिदम 8-स्टेप इन्फेरेंस सक्षम करता है (प्रतियोगियों के लिए 20-50 बनाम)। H800 GPU पर एक सेकंड से कम जनरेशन प्राप्त करता है और 16GB VRAM के साथ कंज्यूमर RTX 3060/4090 पर सुचारू रूप से चलता है।
Artificial Analysis Image Arena पर नंबर 1 ओपन-सोर्स मॉडल के रूप में रैंक किया गया, FLUX.2 [dev], HunyuanImage 3.0, और Qwen-Image को हराता है। द्विभाषी टेक्स्ट रेंडरिंग (अंग्रेजी और चीनी), फोटोरियलिस्टिक जनरेशन, और मजबूत निर्देश पालन में उत्कृष्ट। वाणिज्यिक उपयोग के लिए Apache 2.0 लाइसेंस के तहत जारी किया गया।
के लिए बिल्कुल सही
Z-Image Turbo क्यों चुनें
तत्काल परिणाम
शून्य कोल्ड स्टार्ट लेटेंसी के साथ एक सेकंड से कम जनरेशन। बिना किसी प्रतीक्षा के तुरंत अपनी इमेज प्राप्त करें।लागत-प्रभावी
प्रति इमेज $0.005 की किफायती कीमत। बजट तोड़े बिना अपने रचनात्मक प्रोजेक्ट्स को स्केल करें।रेडी-टू-यूज़ API
सरल REST API इंटीग्रेशन। हमारे व्यापक दस्तावेज़ीकरण के साथ मिनटों में इमेज जनरेट करना शुरू करें।तकनीकी विनिर्देश
Z-Image Turbo के साथ बनाना शुरू करें
आज ही बिजली की तरह तेज़, फोटोरियलिस्टिक इमेज जनरेशन का अनुभव करें। कोई सेटअप आवश्यक नहीं, बस हमारे API को कॉल करें और बनाना शुरू करें।
Z-Image-Turbo — 6B-parameter, ultra-fast text-to-image
Z-Image-Turbo is a 6B-parameter text-to-image model from Tongyi-MAI, engineered for production workloads where latency and throughput really matter. It uses only 8 sampling steps to render a full image, achieving sub-second latency on data-center GPUs and running comfortably on many 16 GB VRAM consumer cards.
Ultra-fast generation with production-ready quality
Where many diffusion models need dozens of steps, Z-Image-Turbo is aggressively optimised around an 8-step sampler. That keeps inference extremely fast while still delivering photorealistic images and reliable on-image text, making it a strong fit for interactive products, dashboards, and large-scale backends—not just offline batch jobs.
Why it looks so good?
- Photorealistic output at speed Generates high-fidelity, realistic images that work for product photos, hero banners, and UI visuals without multi-second waits.
- Bilingual prompts and text Understands prompts in English and Chinese, and can render multilingual text directly in the image—helpful for cross-market campaigns, posters, and screenshots.
- Low-latency, low-step design Only 8 function evaluations per image deliver extremely low latency, ideal for chatbots, configuration tools, design assistants, and any “click → image” experience.
- Friendly VRAM footprint Runs well in 16 GB VRAM environments, reducing hardware costs and making local or edge deployments more realistic.
- Scales for bulk generation Its efficiency makes large jobs—catalogues, continuous feed images, or auto-generated thumbnails—practical without blowing up compute budgets.
- Reproducible generations A controllable seed parameter lets you recreate a previous image or generate small, controlled variations for brand safety and experimentation.
How to use
- prompt – natural-language description of the scene, style, and any on-image text (English or Chinese).
- size (width / height) – choose the output resolution; supports square and rectangular images up to high resolutions (for example, 1536 × 1536).
- seed – set to -1 for random results, or use a fixed integer to make outputs reproducible.
Pricing
Simple per-image billing:
- Without prompt rewriting (prompt_extend=false): $0.015 per generated image
- With prompt rewriting (prompt_extend=true): $0.03 per generated image
Try more models and see their difference!
- Nano Banana Pro – Text-to-Image – Google’s Nano Banana Pro (Gemini 3.0 Pro Image family) delivers high-quality multi-image generation with extremely low cost per image, ideal for large-scale applications.
- Seedream V4 – Text-to-Image – ByteDance’s high-resolution text-to-image model with rich detail and diverse styles, well suited for creative illustration and commercial visuals.
- FLUX.2 [dev] – Text-to-Image – A lightweight FLUX.2-based base model hosted by AtlasCloud, optimised for efficient inference and LoRA-friendly training.






