Logo Tongyi-MAITongyi-MAIGambar1 rute

API Z-Image Base

Buat gambar dengan Z-Image Base lewat MartLLM.

Tampilkan lebih banyak

Dibuat oleh Tongyi-MAI. MartLLM tidak menjalankan model ini. Di sini, penjual melayaninya lewat akun penyedia mereka sendiri.

Harga Z-Image Base

Harga resmi% di bawah harga resmiPenawaran termurah
$0.01 per gambar4.8%$0.0095 per gambar

Permintaan

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"

Atur UBERLLM_API_KEY ke API key Anda. Unduh link tersebut dengan key Anda. Permintaan yang gagal tidak dikenai biaya. Panduan API lengkap

Opsi

Resolusi
1k
Rasio
1:1, 4:3, 3:4, 3:2, 2:3, 16:9, 9:16
LoRA Anda
Hingga 3
ID model
tongyi-mai/z-image-base

Coba Z-Image Base

Pengaturan

Tautan ke file .safetensors, atau tautan LoRA yang Anda latih di sini. Hingga 3 di tab JSON.

Sekitar $0.0095 Sebelum mulai, Anda bisa melihat biaya maksimalnya. Jika gagal, tidak ada biaya.

Permintaan yang sama dengan pengaturan di kiri, siap disalin.

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"

Contoh untuk memulai

01

Foto produk

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

Hanya prompt · 1:1

02

Poster wisata

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

Hanya prompt · 2:3

03

Potret cahaya alami

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

Hanya prompt

Parameter API Z-Image Base

ParameterTipeFungsinya
modeltongyi-mai/z-image-baseWajib
promptstringWajib. What to make.
resolution1kOpsional. Detail level.
aspect_ratio1:1, 4:3, 3:4, 3:2, 2:3, 16:9, 9:16Opsional. Shape of the picture.
ninteger, 1 sampai 10Opsional · 1. How many pictures.
response_formaturl, b64_jsonOpsional · url
lorasarray<object>, Maks. 3Opsional. 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.

Diambil dari GET https://api.martllm.com/v1/models/tongyi-mai/z-image-base: aturan yang sama yang dipakai API untuk memvalidasi setiap permintaan.

FAQ API Z-Image Base

How much does Z-Image Base cost per image?

On November 28, 2026, Z-Image Base costs $0.0095 per image through MartLLM, 4.8% below its list price of $0.01. Prices come from sellers on the MartLLM market and change during the day. A picture that fails costs nothing, and MartLLM adds no fee.

Bagaimana cara membuat gambar dengan Z-Image Base?

Send a POST to https://api.martllm.com/v1/images/generations with your MartLLM key, model "tongyi-mai/z-image-base" and a prompt. The image comes back in the answer.

Apakah ada biaya lain?

MartLLM tidak menambahkan biaya ke harga model. Biaya kartu 5,5% + $0.50 dikenakan saat Anda isi saldo, dan permintaan yang gagal tidak ditagih.

Panduan

Bandingkan dengan model serupa

Sematkan harga ini

Tampilkan harga ini di situs Anda sendiri. Tabel mengambil harga terkini dari MartLLM, jadi selalu up to date.

Skrip: tabel mengatur tingginya sendiri

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

Iframe biasa, untuk situs yang tidak mengizinkan skrip

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

Badge harga untuk 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)

Semua opsi ada di dokumentasi embed.