Z-Image Turbo API for Developers

Z-Image Turbo API

Generate images instantly with Z-Image Turbo via API. Ultra-fast, high-quality text-to-image for rapid iteration and everyday use — no GPU setup required.

Free credits on signup
Transparent per-credit pricing
No watermarks on paid plans
Subscription or usage-based
Auto-scaling
Z-Image Turbo example: activewear portrait with dynamic pose and layered jacket
Fitness fashion
Z-Image Turbo example: vintage-style orange suit on stone steps outdoors
Retro orange suit
Z-Image Turbo example: runner in athletic wear on a grassy path at golden hour
Outdoor runner
Z-Image Turbo example: commuter between open subway car doors
Subway commuter
Z-Image Turbo example: handcrafted wood and metal robot on a neutral backdrop
Wooden toy robot
Z-Image Turbo example: stylized dog portrait with chain and cool-toned lighting
Cyberpunk Doberman
Z-Image Turbo example: dark room filled with glowing green monitors and data walls
Cyber security hub
Z-Image Turbo example: classic pickup in a field with barn and tree
Vintage farm truck

Trusted by teams at

meta
nba
loreal
puma
cisco
deel
shopify
decathlon
dallas-mavericks
pittsburgh-pirates
tala
dyson
dazn
wsc-sports

Everything You Need to Ship Z-Image Turbo

Ultra-fast text-to-image with batch generation and free tier access.

Ultra-Fast Generation
Industry-leading speed for text-to-image — get results in seconds for rapid iteration.
High Quality Output
Production-grade image quality despite fast generation times.
Batch Generation
Generate up to 4 images per request for quick comparison and selection.
Free Tier Available
Available on the free plan at 1K resolution — test before committing.
Auto-Scaling Infrastructure
Scales compute to match demand automatically. No GPU provisioning or cold starts.
Commercial-Ready
Paid plans support non-watermarked outputs for commercial delivery.

Integrate in 3 Steps

Add ultra-fast image generation to your app in minutes.

1
Get Your API Key
Sign up free and generate an API key from the Developer dashboard. You get free credits to start.
2
Send Your Request
Pass a text prompt to the AI image generator endpoint and select the z-image-turbo model.
3
Get Results & Scale
Receive generated images via response. Deploy to production — infrastructure scales automatically.
Get Started Free

Code Examples

Z-Image Turbo in a few lines of code. Install an SDK or use the REST API directly.

from magic_hour import Client
from os import getenv

client = Client(token=getenv("API_TOKEN"))
res = client.v1.ai_image_generator.generate(
    image_count=1,
    style={
        "prompt": "A surreal landscape at golden hour with layered clouds",
        "tool": "general",
    },
    aspect_ratio="16:9",
    model="z-image-turbo",
    name="Z-Image Turbo",
    resolution="1k",
)
API Docs

Estimate Your API Costs

Build with model-specific APIs for video, image generation, and image editing. Compare inputs, examples, and capabilities across Magic Hour's supported models.
Images Per Month
10 images
images
Recommended plan
Creator Annual
$120
/year
120,000 credits per year
Up to 1.4 hours of video
Up to 12,000 images
PRO ANNUAL covers your usage
Estimated usage
2,500credits / month
Included
25,000credits / month
Remaining headroom
22,500credits / month
TOTAL BILL
$300
/year

Z-Image Turbo API Pricing

Subscription plans for standard usage.

Prefer usage-based pricing?

Email us or message us in Intercom and we will set up your usage-based pricing.

Built for Builders

See how developers use the Z-Image Turbo API to power real products.

Rapid Concepting
Quickly generate visual concepts and mood boards for creative direction.
Social Media Assets
Produce social media images at scale with fast turnaround.
Marketing Creative
Generate ad creative variations rapidly for A/B testing.
Content Automation
Power automated image generation pipelines with sub-second latency.
Product Mockups
Create product visualization mockups quickly for stakeholder review.
App & Game Art
Generate concept art and assets rapidly during development sprints.
Try before integrating

Try Z-Image Turbo Free — No Code Required

Test quality first with the free tool, then plug the same output quality into your app with the API when you are ready.

Z-Image Turbo API — Frequently Asked Questions

Magic Hour's Z-Image Turbo API lets developers generate images using the Z-Image Turbo model via REST API with SDKs for Python, Node.js, Go, and Rust.

Z-Image Turbo is one of the fastest text-to-image models available — generating images in seconds.

Yes. Free users can generate at 1K resolution. Paid plans unlock 2K output.

Up to 4 images per request for quick comparison and selection.

1K and 2K. 4K is not available on this model.

5 credits per image at 1K, 10 credits at 2K. One of the most affordable image models.

Official SDKs for Python, Node.js, Go, and Rust.

Z-Image Turbo is generation-only. Use Nano Banana or Qwen Edit for image editing workflows.

Magic Hour offers subscription plans starting at $15/month (Creator), $39/month (Pro), and $99/month (Business), each including a monthly credit allotment. Credits are consumed per generation based on output length and model. You can also contact us to set up usage-based (pay-as-you-go) pricing. A free tier with credits is available on signup — no credit card required.

Sign up at magichour.ai/developer — no credit card required. You'll receive free credits and an API key immediately. The key works across all Magic Hour API endpoints including Z-Image Turbo. Start making API calls in minutes using our Python, Node.js, Go, or Rust SDKs.

Yes. Every new Magic Hour account gets free credits on signup that work across all API endpoints. No credit card is required to get started. Paid plans unlock higher credit limits, higher concurrency, and commercial use rights.

Start Building with the Magic Hour Z-Image Turbo API

Free credits on signup. SDKs for Python, Node.js, Go, and Rust. Production-ready in minutes.