Z-Image-Turbo Model

Coming SoonSageMaker

Fast text-to-image generation with legible text, on a SageMaker endpoint in your own AWS account

What you get

  • Photorealistic and illustrated images with legible text from Z-Image-Turbo, in about eight steps

  • Runs on a SageMaker endpoint in your own AWS account - prompts are never sent to a third-party API

  • Safety filter on every prompt and image; a seed in every response for repeatable results

About this product

Runs inside your own AWS account: prompts are processed on a SageMaker endpoint you control, and are never sent to a third-party API. The container runs in network isolation with the model weights inside.

What you get

Z-Image-Turbo is a 6-billion-parameter distilled text-to-image model from Tongyi-MAI (Alibaba) that makes an image in about eight transformer passes. It handles photorealistic scenes, illustration and legible text in images.

Send a JSON request to /invocations, either an OpenAI images body ({"prompt": "...", "size": "1024x1024", "n": 1, "seed": 7}) or {"inputs": "prompt", "parameters": {...}}. The response carries each image as base64 PNG, JPEG or WebP with the seed used, so you can reproduce a result. Sizes from 512x512 to 1280x720 and 1024x1024 are supported, square, portrait and landscape. Use ml.g6e.xlarge, which has one NVIDIA L40S GPU. ml.g6e.2xlarge has the same GPU and is an alternative when xlarge capacity is tight.

Every prompt is screened before generation and every generated image is checked by an image classifier. A refused prompt or a blocked image returns a 400 with the error code content_policy_violation.

Typical uses are marketing and product imagery, illustrations for documents and presentations, concept art, and images generated by your own applications.

Pricing

You pay $0.10 per instance-hour for the software, billed by AWS Marketplace, plus the ml.g6e.xlarge instance, storage and data transfer in your own account. ml.g6e.2xlarge costs more per hour for the same GPU. There are no per-image fees. A 5-day free trial covers the software fee.

Speed, measured by us

About 4 seconds per 1024x1024 image at the default 9 steps, measured with this container on one NVIDIA L40S (the same GPU as ml.g6e.xlarge), about 0.25 images per second. That measured throughput is the performance metric we publish; we make no claim about accuracy of output, because image quality is subjective and depends on the prompt. One request is processed at a time per endpoint; add endpoints for more throughput.

Security and data handling

  • Prompts and generated images stay in your account. The endpoint runs with no network access and cannot call a third-party image API.
  • The container includes model weights and a safety classifier. Nothing is downloaded when the endpoint starts.
  • This listing does not receive prompts, images or API keys from your endpoint.

Known limitations

  • Real-time responses are limited to 6 MB by SageMaker: at 1024x1024 PNG, request at most 3 images at a time.
  • One request is processed at a time per instance. Add instances for more throughput.
  • Text-to-image only: no image editing, inpainting or image input.
  • The safety filter can refuse harmless prompts and can miss unwanted content. Review generated images before you publish them.
  • English prompts are the most reliable. Other languages are not evaluated.

Model and licence

Z-Image-Turbo by Tongyi-MAI (Alibaba), Apache-2.0, served as published except that the transformer weights are stored in bfloat16. The authors describe the model and its training data at https://huggingface.co/Tongyi-MAI/Z-Image-Turbo. We did not train or fine-tune it and do not publish an independent quality score. Safety classifier: Falconsai/nsfw_image_detection, Apache-2.0. This product is not made or endorsed by Alibaba or Tongyi-MAI.

We welcome your feedback at [email protected].

How it ships

  • SageMakerSageMaker model package

    Z-Image-Turbo Model

    Listing coming soon

Categories and keywords

Categories
Generative AIComputer Vision
Keywords
text-to-imageimage generationZ-Image-TurbodiffusionSageMaker