Nami Z-Image T2I Spicy
nami-zimage-t2i-spicy
テキストプロンプトから画像を生成します。幅、高さ、プロンプト最適化、シードを設定できます。
サンプル
パラメータ
| 名前 | 型 | 既定 | 制約 | 説明 |
|---|---|---|---|---|
| prompt *プロンプト | textarea | — | — | |
| width幅 | slider | 1024 | 256 ~ 1536 · step 1 | |
| height高さ | slider | 1536 | 256 ~ 1536 · step 1 | |
| prompt_extendプロンプトを最適化 | boolean | true | — | |
| seedシード | number | — | ≥ 0 · step 1 | 任意の整数シード。空欄の場合はランダムです。 |
出力フィールド
| フィールド | 型 | 説明 |
|---|---|---|
| images | array<string> | Generated image URLs |
API
統一 REST API でこのモデルを呼び出せます。API Keys ページでキーを取得してください。
cURL
# 1) Submit — returns { "task_uuid": "..." }
curl -X POST "https://www.namifusion.com/api/v1/marketplace/run/nami-zimage-t2i-spicy" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"prompt": "A cinematic portrait, dramatic rim light, shallow depth of field",
"width": 1024,
"height": 1536,
"prompt_extend": true
}
}'
# 2) Poll until status is "completed", then read the output URLs
curl "https://www.namifusion.com/api/v1/marketplace/run/tasks/TASK_UUID" \
-H "Authorization: Bearer YOUR_API_KEY"Python
import time, requests
API_KEY = "YOUR_API_KEY"
HEADERS = {"Authorization": f"Bearer {API_KEY}"}
# 1) Submit
resp = requests.post(
"https://www.namifusion.com/api/v1/marketplace/run/nami-zimage-t2i-spicy",
headers=HEADERS,
json={
"input": {
"prompt": "A cinematic portrait, dramatic rim light, shallow depth of field",
"width": 1024,
"height": 1536,
"prompt_extend": True
}
},
)
resp.raise_for_status() # 401/402/429/5xx stop here instead of polling a bad task
task = resp.json()
# 2) Poll until a terminal state (completed / failed / cancelled).
# This model is allowed up to 300s server-side.
deadline = time.time() + 360
while task.get("status") not in ("completed", "failed", "cancelled"):
if time.time() > deadline:
raise TimeoutError(f"still {task.get('status')} — keep the task_uuid and poll later")
time.sleep(3)
poll = requests.get(f"https://www.namifusion.com/api/v1/marketplace/run/tasks/{task['task_uuid']}", headers=HEADERS)
poll.raise_for_status()
task = poll.json()
print(task["status"], task.get("output"))JavaScript
const API_KEY = "YOUR_API_KEY";
const HEADERS = { Authorization: `Bearer ${API_KEY}` };
// 1) Submit
const resp = await fetch("https://www.namifusion.com/api/v1/marketplace/run/nami-zimage-t2i-spicy", {
method: "POST",
headers: { ...HEADERS, "Content-Type": "application/json" },
body: JSON.stringify({
"input": {
"prompt": "A cinematic portrait, dramatic rim light, shallow depth of field",
"width": 1024,
"height": 1536,
"prompt_extend": true
}
}),
});
if (!resp.ok) throw new Error(`submit failed: ${resp.status} ${await resp.text()}`);
let task = await resp.json();
// 2) Poll until a terminal state (completed / failed / cancelled).
// This model is allowed up to 300s server-side.
const deadline = Date.now() + 360 * 1000;
while (!["completed", "failed", "cancelled"].includes(task.status)) {
if (Date.now() > deadline) throw new Error(`still ${task.status} — keep the task_uuid and poll later`);
await new Promise((r) => setTimeout(r, 3000));
const poll = await fetch(`https://www.namifusion.com/api/v1/marketplace/run/tasks/${task.task_uuid}`, { headers: HEADERS });
if (!poll.ok) throw new Error(`poll failed: ${poll.status}`);
task = await poll.json();
}
console.log(task.status, task.output);ドキュメント
Nami Z-Image T2I Spicy
テキストプロンプトから画像を生成します。結果は images 配列で返されます。
パラメータ
prompt(必須):生成する画像を記述します。width(既定値1024):256〜1536px。height(既定値1536):256〜1536px。prompt_extend(既定値true):生成前にプロンプトを最適化します。seed(任意):整数シード。省略するとランダムになります。
料金
画像生成は1.3 creditsです。プロンプト最適化を有効にすると0.1 creditが加算されます。
関連モデル
OpenAI GPT Image 2 テキストから画像生成
OpenAI の GPT Image 2 テキストから画像生成モデルは、自然言語プロンプトから高品質な画像を生成します。すぐに使える REST 推論 API、最高のパフォーマンス、コールドスタートなし、手頃な価格。
OpenAI GPT Image 2 Edit 画像編集
OpenAI の GPT Image 2 Edit は、自然言語の指示と1枚以上の参照画像を使用して画像編集を可能にします。すぐに使える REST 推論 API、最高のパフォーマンス、コールドスタートなし、手頃な価格。
Nano Banana テキストから画像
Gemini 2.5 Flash Image。軽量かつ高速。大量生成やプロトタイピングに最適な、最も手頃なモデル。
Nano Banana Pro テキストから画像
Gemini 3.0 Pro Image。4K 高画質、多言語テキスト描画、プロ仕様のカメラ制御に対応したハイエンドモデル。
Nano Banana Pro テキストから画像
Gemini 3.0 Pro Image。4K 高画質、多言語テキスト描画、プロ仕様のカメラ制御に対応したハイエンドモデル。
Google Nano Banana Lite テキストから画像生成 API
Google Nano Banana 2 Lite Text to Image は、テキストのプロンプトから高品質な画像を低レイテンシで生成できます。柔軟なアスペクト比に対応し、クリエイティブ制作や実運用のワークフローで素早く画像を作成できます。すぐに使える REST 推論 API、優れたパフォーマンス、コールドスタートなし、手頃な価格。
Seedream V5.0 Pro テキストから画像生成 API
ByteDance の Seedream V5.0 Pro テキストから画像生成モデルは、テキストプロンプトから高品質な画像を生成できます。アスペクト比の選択、優れたプロンプト追従性、1K / 2K の出力階層に対応し、柔軟な画像作成が可能です。すぐに使える REST 推論 API で、高性能、コールドスタートなし、手頃な価格を実現しています。
Seedream 5.0 Lite Sequential
Seedream 5.0 Lite Sequential は、複数の画像セットを生成し、キャラクターやオブジェクトの一貫性を保ちながら、配色、ライティング、スタイルを統一します。最大 4K の出力をサポートし、キャンペーン、ストーリーボード、製品ラインに最適です。すぐに使用可能な REST 推論 API を提供し、最高のパフォーマンス、コールドスタートなし、手頃な価格を実現。