Image · Alibaba

Z Image API

超高速テキスト→画像、フォトリアリスティックな結果、短い推論パス向けにZ Image APIにアクセスできます。

稼働中 · 1 endpoints · から $0.010
runapi.ai
curl -X POST https://runapi.ai/api/v1/z_image/text_to_image \
  -H "Authorization: Bearer $RUNAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "z-image",
  "prompt": "グラデーション背景のスタジオライティングで白いスニーカーのクリーンな商品ショットを生成してください。"
}'
import { ZImageClient } from "@runapi.ai/z-image";

const client = new ZImageClient();
const result = await client.textToImage.run({
    model: "z-image",
    prompt: "グラデーション背景のスタジオライティングで白いスニーカーのクリーンな商品ショットを生成してください。",
});
<?php

require __DIR__ . "/vendor/autoload.php";

use RunApi\ZImage\ZImageClient;

$client = new ZImageClient();
$result = $client->textToImage->run([
        'model' => 'z-image',
        'prompt' => 'グラデーション背景のスタジオライティングで白いスニーカーのクリーンな商品ショットを生成してください。',
]);
require "runapi/z_image"

client = RunApi::ZImage::Client.new
result = client.text_to_image.run(
    model: "z-image",
    prompt: "グラデーション背景のスタジオライティングで白いスニーカーのクリーンな商品ショットを生成してください。"
)
npx skills add runapi-ai/z-image -g
# Claude Code
claude mcp add runapi -s user -- npx -y @runapi.ai/mcp

# Codex
codex plugin install runapi-mcp@agents

# Cursor / Windsurf / VS Code
npx @runapi.ai/mcp init cursor
@runapi.ai/z-image v1
概要

Z ImageはAlibabaの超高速テキスト→画像モデルで、わずか8つの推論ステップを使用して約1秒で画像を生成します。整合性の高い高品質な出力を維持しながら生成速度を優先します。

  • 品質とレイテンシ目標に合わせたモデルバリアント
  • 統合 API key
  • Model skill に docs、schema、セットアップメモを同梱
  • 失敗した生成は課金されません
料金

料金

失敗した生成は課金されません
Text to image
$0.01 / image
仕様

仕様

モデル ID z-image
プロバイダー Alibaba
モダリティ image
タスク種別 asynchronous
課金 call
Endpoint /api/v1/z_image/text_to_image
商用利用 はい
カタログステータス 稼働中
MODELS

アプリ開発用に Z Image skill をインストール

モデル docs、schema、料金メモ、セットアップ手順をコード作業環境に読み込みます。

# Install the model skill for app development workflows
npx skills add runapi-ai/z-image -g
Installs docs, schemas, pricing context, and setup notes into your developer workspace.
Or use this setup request in your coding tool:
Install the Z Image skill for this app:

1. Add runapi-ai/z-image with the skills installer.
2. Load SKILL.md in this workspace.
3. Use its docs, schemas, pricing notes, and setup steps when adding model features.
4. Confirm the install path when done.
仕組み

この model skill で構築する方法

01

モデルを選ぶ

出力タイプ、品質基準、レイテンシ目標に合うモデルとバリアントを選びます。

02

一度だけ認証

対応するすべてのモデルに RunAPI key を使います。

03

skill をインストール

機能実装の前に model skill をコード作業環境へ追加します。

04

出力を受け取る

task ID でポーリングするか、生成完了時の callback を処理します。

背景

Z Image の位置づけ

Z ImageはAlibabaの速度最適化テキスト→画像モデルで、約1秒で結果を生成します。RunAPI経由では、すべてのAlibabaモデルと同じAPIの形式と課金を共有します。

Provider
Alibaba
Modality
Image
RUNAPI を選ぶ理由

RunAPI 経由で Z Image を使う理由

1つの API key

モデルやプロバイダーをまたいで同じ認証情報を使えます。

Skill-ready

model skill に schema、セットアップメモ、料金コンテキスト、モデル ID が含まれます。

予測しやすい請求

呼び出し前に従量料金を確認できます。

FAQ

よくある質問

このモデルはどう呼び出しますか?

model skill をインストールし、RunAPI key とセットアップメモに従ってください。

失敗した生成は課金されますか?

失敗した生成は課金されません

アプリケーションから呼び出せますか?

はい。コード作業環境に model skill をインストールし、モデル機能を追加するときに利用してください。

今すぐ開始

Z Image で構築を開始。