生成履歴はまだありません。
Muse Image API 料金
隠れた費用のない透明な料金体系。使った分だけお支払い。
| モデル | ゴールド価格現在の価格 | プラチナ価格 | ダイヤモンド価格 | 公式価格 | 割引率 |
|---|---|---|---|---|---|
muse-image-ext | 0.048Credits(~$0.0048)/枚 | 0.0456Credits(~$0.0046)/枚 | 0.0432Credits(~$0.0043)/枚 | 0.06Credits(~$0.006)/枚 | 20% |
* 実際の費用は最終出力に基づきます。
Muse Image API で制作を始める
Muse Image API はプロンプトまたは最大 9 枚の参照画像から画像を生成します。対応する比率を指定するか参照画像の縦横比に合わせ、タスク API から WebP 画像を 1 枚取得できます。
Muse Image API の機能
生成モード、入力条件、出力仕様を確認してアプリに組み込めます。
Muse Image API でテキストから画像を生成
Muse Image API の参照画像
Muse Image の 7 種類の画面比率
Muse Image Model の WebP 出力
muse-image-ext を指定して呼び出す
Muse Image API の非同期タスク
Muse Image API の料金
Muse Image の結果を取得して保存
Muse Image API の活用例
制作目的に合ったブリーフを用意し、出力内容を確認しましょう。
Muse Image API で商品シーンを制作
Muse Image でキャンペーンを構想
Muse Image API で記事用画像を制作
muse-image-ext で参照画像を活用
Muse Image でソーシャル素材を制作
Muse Image API を画像ツールに導入
Muse Image API キーの取得と導入手順
キーを作成し、ブリーフを準備して、制作結果を整理しましょう。
Muse Image API キーを取得
APIMart にログインし、API Keys でキーを作成します。ブラウザーのコードや公開リポジトリには入れず、サーバーで保管してください。
明確な制作指示を準備
目指す結果と用途を記述します。修正を比較できるよう、リクエストと制作指示を一緒に保存しましょう。
出力を確認して活用
使用前に制作指示と出力を照合します。次の制作工程に向けて、選んだ素材を整理しましょう。
Muse Image API の呼び出し例と導入
muse-image-ext を /v1/images/generations に送信し、タスク ID を保存して GET /v1/tasks/{task_id} で結果を取得します。
- 1
Muse Image API の認証
API キーをサーバーに保存し、Authorization: Bearer <key> を送信します。新規生成ごとに Idempotency-Key を作成します。
- 2
muse-image-ext タスクの送信
model と prompt を /v1/images/generations に POST し、既定の応答の data[0].task_id を保存します。中断後の再試行では同じキーと本文を使います。
- 3
Muse Image の結果を取得
GET /v1/tasks/{task_id} で completed または failed まで照会します。成功時は data.result.images[0].url[0]、失敗時は data.error.message を確認します。画面の待機終了は失敗ではありません。
詳しい要求・応答の仕様はMuse Image API リファレンスをご覧ください。
IDEMPOTENCY_KEY="${IDEMPOTENCY_KEY:-$(uuidgen)}"
curl -X POST https://api.apimart.ai/v1/images/generations \
-H "Authorization: Bearer $APIMART_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $IDEMPOTENCY_KEY" \
-d '{
"model": "muse-image-ext",
"prompt": "A red ceramic cup on a white table, soft studio lighting, product photograph, no text",
"n": 1,
"aspect_ratio": "1:1"
}'import os
import time
import requests
import uuid
API_BASE = "https://api.apimart.ai"
headers = {"Authorization": f"Bearer {os.environ['APIMART_API_KEY']}"}
idempotency_key = os.environ.get("IDEMPOTENCY_KEY") or str(uuid.uuid4())
headers["Idempotency-Key"] = idempotency_key
print("Idempotency-Key:", idempotency_key)
# 1. Submit the generation task
payload = {
"model": "muse-image-ext",
"prompt": "A red ceramic cup on a white table, soft studio lighting, product photograph, no text",
"n": 1,
"aspect_ratio": "1:1"
}
resp = requests.post(f"{API_BASE}/v1/images/generations", headers=headers, json=payload, timeout=60)
resp.raise_for_status()
task_id = resp.json()["data"][0]["task_id"]
print("Task ID:", task_id)
# 2. Poll the task until it finishes
for _ in range(60):
task_resp = requests.get(f"{API_BASE}/v1/tasks/{task_id}", headers=headers, timeout=30)
task_resp.raise_for_status()
task = task_resp.json()["data"]
if task["status"] == "completed":
print(task["result"]["images"][0]["url"][0])
break
if task["status"] == "failed":
raise RuntimeError(task.get("error", {}).get("message", "generation failed"))
time.sleep(5)
else:
raise TimeoutError(f"task {task_id} did not finish in time; continue GET polling with this task ID")IDEMPOTENCY_KEY="${IDEMPOTENCY_KEY:-$(uuidgen)}"
curl -X POST https://api.apimart.ai/v1/images/generations \
-H "Authorization: Bearer $APIMART_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $IDEMPOTENCY_KEY" \
-d '{
"model": "muse-image-ext",
"prompt": "Keep the cup from the reference image and place it on a wooden cafe table in warm natural light",
"n": 1,
"image_urls": [
"https://example.com/reference.png"
]
}'TASK_ID="task_xxx" # replace with the task_id returned by the POST request
curl "https://api.apimart.ai/v1/tasks/$TASK_ID" \
-H "Authorization: Bearer $APIMART_API_KEY"Muse Image API のパラメータ
| パラメータ | 型 | 必須 | 既定値 | 説明 |
|---|---|---|---|---|
model | string | 必須 | 既定値: — | 必須のモデル識別子:muse-image-ext。 |
prompt | string | 必須 | 既定値: — | 前後の空白を除いて空でない文字列。英語・中国語に対応し、参照画像があっても必須です。 |
image_urls | string[] | 任意 | 既定値: — | 最大 9 件の画像 URL、Data URI、base64。元画像の合計は 11 MiB 以下で、参照画像がなければ省略します。 |
aspect_ratio | string | 任意 | 既定値: — | 1:1、16:9、9:16、4:3、3:4、3:2、2:3。自動では省略し、"auto" は送信しません。画像なしの既定値は 1:1、画像ありではその縦横比に従います。 |
n | integer | 任意 | 既定値: 1 | 数値の 1 のみ。1 リクエストで一つの結果を返します。 |
nsfw_check | boolean | 任意 | 既定値: false | 送信前の内容審査を有効にします。送信成功はすべての審査通過を保証しません。 |
Muse API を探す
制作するコンテンツに合った Muse のページを選びましょう。
Muse Image API のよくある質問
Muse Image API とは何ですか?
APIMart 経由でテキストや参照画像から画像を生成する API です。muse-image-ext は非同期タスクごとに WebP 画像を 1 枚返します。
Muse Image API のモデル ID は何ですか?
リクエストの model には -ext を含む muse-image-ext を指定してください。
Muse Image API キーはどこで取得できますか?
APIMart にログインして API Keys で作成します。サーバーに保存し、送信と照会に Authorization: Bearer <key> を付けてください。
Muse Image には何枚の参照画像を使えますか?
0〜9 枚、元画像の合計で 11 MiB までです。image_urls に URL、Data URI、base64 を指定し、参照画像がある場合もプロンプトを付けます。
Muse Image API はどの比率に対応しますか?
1:1、16:9、9:16、4:3、3:4、3:2、2:3 に対応します。自動では aspect_ratio を省略し、参照画像があればその縦横比、なければ 1:1 になります。
Muse Image の解像度やピクセルサイズは指定できますか?
できません。寸法はモデルが決め、WebP で返します。解像度の段階や 1024x1024 などのピクセルサイズは送信しないでください。
Muse Image API で複数生成やマスクを使えますか?
1 リクエストにつき 1 枚で、n は数値の 1 のみです。マスク、参照動画、参照音声には対応しません。
Muse Image API が画面の待機時間を超えたらどうしますか?
タスク ID を保存して後で再照会してください。ブラウザーのタイムアウトはタスクの取消ではなく、生成を自動的に再送しないでください。
Muse Image API はどのように課金されますか?
生成前にアカウントの最新料金を確認してください。最終料金はタスク費用と明細に従います。 各リクエストは画像 1 枚単位で課金されます。
Muse Image の結果は保存できますか?
必要なファイルはダウンロードまたは保管してください。expires_at が返された場合は期限前に保存し、URL の期限切れで新たな有料生成を自動実行しないでください。
関連モデル
同じカテゴリの他のモデルを探す。

Hy Image V3.5 Preview
HY Image 3.5 Preview is an image generation and editing model developed by Tencent Hunyuan. It supports text-to-image creation, reference-based generation, and multi-turn editing, allowing users to refine images through conversational instructions. With support for up to 4K output and flexible image dimensions, it offers a versatile tool for creating and refining visual content.
0.192Credits~$0.0192節約 20%
LFlux 3 Image Klein
FLUX 3 Image Klein is a compact, open-weight image generation and editing model developed by Black Forest Labs. It combines text-to-image creation, image editing, and composition using up to 10 reference images in a single model. With support for up to 4K resolution and bounding-box layout control, it gives creators flexible tools to bring their ideas to life.
0.072Credits~$0.0072節約 20%
Mai Image 2.6
MAI-Image-2.6 is Microsoft's image model for text-to-image, single-image editing and composition with up to 5 reference images. It is available in high-quality and Flash versions, with 1K and 2K output and sharp text rendering.
0.32Credits~$0.032節約 20%
Mai Image 2.6 Flash
MAI-Image-2.6 Flash is the Flash version of Microsoft MAI-Image-2.6 for text-to-image and image editing with up to 5 references, 1K/2K PNG output and optional Bing grounding, billed by actual token usage.
0.16Credits~$0.016節約 20%