モデルライブラリに戻る

画像 / MODEL API

Alibaba

Z-Image-Turbo

出力 $10 / 100万トークン

OVERVIEW

モデル概要

Z-Image is a powerful and highly efficient image generation model family with 6B parameters. Currently there are four variants: 🚀 Z-Image-Turbo – A distilled version of Z-Image that matches or exceeds leading competitors with only 8 NFEs (Number of Function Evaluations). It offers ⚡️sub-second inference latency⚡️ on enterprise-grade H800 GPUs and fits comfortably within 16G VRAM consumer devices. It excels in photorealistic image generation, bilingual text rendering (English & Chinese), and robust instruction adherence. 🎨 Z-Image – The foundation model behind Z-Image-Turbo. Z-Image focuses on high-quality generation, rich aesthetics, strong diversity, and controllability, well-suited for creative generation, fine-tuning, and downstream development. It supports a wide range of artistic styles, effective negative prompting, and high diversity across identities, poses, compositions, and layouts. 🧱 Z-Image-Omni-Base – The versatile foundation model capable of both generation and editing tasks. By releasing this checkpoint, we aim to unlock the full potential for community-driven fine-tuning and custom development, providing the most "raw" and diverse starting point for the open-source community. ✍️ Z-Image-Edit – A variant fine-tuned on Z-Image specifically for image editing tasks. It supports creative image-to-image generation with impressive instruction-following capabilities, allowing for precise edits based on natural language prompts.

モデル仕様

カテゴリー
画像
入力モダリティ
text
出力モダリティ
image

MODEL PRICING

モデルAPI料金

画像

100万トークンあたりの米ドル料金
画像 — 100万トークンあたりの米ドル料金
モデル入力出力
AlibabaZ-Image-Turbo—$10

公開料金は5分間隔で更新されます。「—」は料金が提供されていないことを示し、無料を意味しません。実際の請求額はコンソールでご確認ください。

BUILT FOR YOUR STACK

API呼び出しサンプル

開発ドキュメントを見る

まず接続設定を開き、準備コマンドを実行してください。その後、PythonまたはcURLのサンプルを保存して実行できます。

接続設定と準備コマンドAPIアドレス、モデルID、環境変数
APIアドレス
https://api.evermo.com/v1
APIモデルID
z-image-turbo

YOUR_API_KEYをコンソールで発行した推論APIキー全体に置き換えてください。準備コマンドはmacOS/Linuxまたは互換シェルで実行します。cURLのJSONサンプルでは、Python標準ライブラリを使ってリクエスト本文を生成します。

Terminal
python -m pip install openai
export EVERMO_API_BASE_URL='https://api.evermo.com/v1'
export EVERMO_MODEL_ID='z-image-turbo'
export EVERMO_API_KEY="YOUR_API_KEY"

EVERMO_API_KEYは環境変数名です。値にはコンソールで発行した推論APIキーを設定してください。OpenAIが発行したAPIキーは使用しません。 APIキーを発行

quickstart.py
import osfrom openai import OpenAIMODEL_ID = os.environ["EVERMO_MODEL_ID"]client = OpenAI(    base_url=os.environ["EVERMO_API_BASE_URL"],    api_key=os.environ["EVERMO_API_KEY"],)import base64response = client.images.generate(    model=MODEL_ID,    prompt="A sunset over mountains",    response_format="b64_json",)with open("image.png", "wb") as output:    output.write(base64.b64decode(response.data[0].b64_json))

同じカテゴリーのモデル

すべてのモデルを見る