Tongyi-MAIのロゴTongyi-MAI画像1ルート

Z-Image Base API

MartLLMならZ-Image Baseで画像を生成できます。

tongyi-mai/z-image-baseClaudeに接続APIキーを取得
もっと見る

開発元:Tongyi-MAI。 このモデルはMartLLMが運用しているものではありません。 MartLLMでは、販売者が自身のプロバイダーアカウントを通じて提供しています。

Z-Image Baseの料金

公式価格公式価格からの割引率最安の出品
画像1枚あたり$0.014.8%画像1枚あたり$0.0095

リクエスト

curl https://api.martllm.com/v1/images/generations \
  -H "Authorization: Bearer $UBERLLM_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "tongyi-mai/z-image-base",
  "prompt": "Studio product photo of a matte black water bottle on a stone pedestal, soft shadows, warm rim light, beige background, high detail, e-commerce hero image",
  "resolution": "1k",
  "n": 1
}'

# → {"created": …, "data": [{"url": "https://api.martllm.com/v1/media/artifacts/<id>/0"}]}

# Download it
curl -L -o image.png -H "Authorization: Bearer $UBERLLM_API_KEY" "https://api.martllm.com/v1/media/artifacts/<id>/0"

UBERLLM_API_KEYにAPIキーを設定してください。 キーを使ってリンクをダウンロードします。失敗したリクエストは無料です。 API詳細ガイド

オプション

解像度
1k
アスペクト比
1:1, 4:3, 3:4, 3:2, 2:3, 16:9, 9:16
あなたのLoRA
最大3
モデルID
tongyi-mai/z-image-base

Z-Image Baseを試す

設定

.safetensors ファイルへのリンク、またはここで学習したLoRAのリンク。JSONタブなら3つまで指定できます。

約$0.0095 開始前に最大料金が表示されます。失敗した場合、料金はかかりません。

左の設定と同じリクエストです。そのままコピーできます。

curl https://api.martllm.com/v1/images/generations \
  -H "Authorization: Bearer $UBERLLM_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "tongyi-mai/z-image-base",
  "prompt": "",
  "resolution": "1k",
  "n": 1
}'

# → {"created": …, "data": [{"url": "https://api.martllm.com/v1/media/artifacts/<id>/0"}]}

# Download it
curl -L -o image.png -H "Authorization: Bearer $UBERLLM_API_KEY" "https://api.martllm.com/v1/media/artifacts/<id>/0"

サンプルから始める

01

商品写真

Studio product photo of a matte black water bottle on a stone pedestal, soft shadows, warm rim light, beige background, high detail, e-commerce hero image

プロンプトのみ · 1:1

02

旅行ポスター

Minimal travel poster of Kyoto in autumn, flat illustration, red maple leaves, a pagoda at sunset, large clean title space at the top

プロンプトのみ · 2:3

03

自然光のポートレート

Natural-light portrait of a smiling barista in a small coffee shop, 85mm lens look, shallow depth of field, warm tones, candid moment

プロンプトのみ

Z-Image Base APIパラメーター

パラメーター型説明
modeltongyi-mai/z-image-base必須
promptstring必須. What to make.
resolution1k任意. Detail level.
aspect_ratio1:1, 4:3, 3:4, 3:2, 2:3, 16:9, 9:16任意. Shape of the picture.
ninteger, 1〜10任意 · 1. How many pictures.
response_formaturl, b64_json任意 · url
lorasarray<object>, 最大3任意. Optional: up to 3 LoRAs to apply (a style or a person you trained). Each path is an https:// link to the weights, a file id from POST /v1/files (.safetensors), or the file link of your own finished training job.

GET https://api.martllm.com/v1/models/tongyi-mai/z-image-baseから取得。APIが各リクエストの検証に使うのと同じルールです。

Z-Image Base APIのよくある質問

Z-Image Baseの画像1枚あたりの料金はいくらですか?

2026年11月28日では、MartLLM経由のZ-Image Baseは画像1枚あたり$0.0095で、公式価格の$0.01より4.8%安くなっています。価格はMartLLMマーケットの販売者によって提示され、1日の中で変動します。生成に失敗した画像に料金はかからず、MartLLMの手数料も発生しません。

Z-Image Baseで画像を生成するには?

MartLLMキー、モデル「tongyi-mai/z-image-base」、プロンプトを指定してhttps://api.martllm.com/v1/images/generationsにPOSTリクエストを送信します。レスポンスとして画像が返ってきます。

ほかに手数料はかかりますか?

MartLLMはモデル料金に手数料を上乗せしません。クレジット購入時にはカード手数料(5.5% + $0.50)がかかります。失敗したリクエストは課金されません。

ガイド

類似モデルと比較

この価格を埋め込む

この価格を自分のサイトに表示できます。表はMartLLMから現在の価格を読み込むので、常に最新です。

スクリプト(表の高さを自動調整)

<script async src="https://martllm.com/embed.js" data-models="tongyi-mai/z-image-base" data-lang="ja"></script>

通常のiframe(スクリプトを使えないサイト向け)

<iframe src="https://martllm.com/embed/prices?models=tongyi-mai/z-image-base&amp;lang=ja" title="AIモデルのAPI価格" width="100%" height="127" loading="lazy" style="border:0;max-width:720px"></iframe>

README用の価格バッジ(Markdown)

[![Z-Image Base API price on MartLLM](https://api.martllm.com/api/v1/public/badge/tongyi-mai/z-image-base.svg)](https://martllm.com/models/tongyi-mai/z-image-base?utm_source=embed&utm_medium=referral&utm_campaign=price-badge)

すべてのオプションは埋め込みのドキュメントをご覧ください。