ファミリー最高の品質
Flux 2 ラインナップで最も高い忠実度とフォトリアリズムを実現し、最終的な本番品質の成果物に向けて設計されています。
Black Forest Labs の Flux 2 ファミリー最上位モデル(2025年11月)。最高品質のバリアントで、最も忠実なプロンプト追従、最も一貫した編集、そしてウェブからリアルタイム情報を取得できる独自の能力を備えています。
Flux 2 Max を1回のAPIコールで統合できます。1つのキー、1つの統一エンドポイント、そしてApiframe上のすべてのモデルで共通の請求。
model: "flux-2-max"
Flux 2 ラインナップで最も高い忠実度とフォトリアリズムを実現し、最終的な本番品質の成果物に向けて設計されています。
複雑で詳細な長い指示を Pro や Flex バリアントより正確に再現し、最大32kトークンのプロンプトに対応します。
際立った機能として、ウェブを検索してリアルタイムの文脈を取得できます。参照素材を手作業で用意しなくても、トレンドの製品・時事・天気・最新のスタイルをビジュアル化できます。
色・ライティング・顔・テキスト・オブジェクトを卓越した忠実度で保持するため、編集やバリエーションが「作り直し」ではなく自然な仕上がりになります。
最大10枚の参照画像を使い、大量の出力にわたってアイデンティティ・製品・スタイルを安定して保ちます。
形状やジオメトリを保ったまま製品を新しい素材・色・仕上げに置き換えられ、HEXコードで正確なブランドカラーを指定できます。
Apiframeの Flux 2 Max API で生成した出力例です。
A polished photo of a ceramic pour-over coffee set on a clean white surface, soft studio lighting, sharp detail.
Search the internet. A weather card for Lisbon today: an isometric 3D miniature of the city with current conditions, the title 'Lisbon', a weather icon, the date, and the temperature.
Using these reference images of our character, show her presenting on stage, reading at a desk, and walking outdoors, keeping her face and outfit consistent.
Show this sofa in tan leather, dark green velvet, and light grey linen, keeping the exact shape and lighting.
A cinematic key frame of a lone astronaut on a red desert planet at dusk, dramatic rim lighting, film grain, widescreen.
From this single product image, generate three new views: front, three-quarter, and top-down, with consistent materials and lighting.
APIキーを添えて POST /v2/images/generate に1回リクエストを送るだけで Flux 2 Max による生成が始まります。レスポンスには、ポーリングまたはWebhookで受け取れる jobId が返ります。
curl -X POST https://api.apiframe.ai/v2/images/generate \
-H "X-API-Key: afk_your_api_key_here" \
-H "Content-Type: application/json" \
-d '{
"prompt": "a sleek silver sports car on a coastal highway at sunset, hyper-realistic",
"model": "flux-2-max",
"fluxParams": {
"resolution": "2MP",
"image_prompt": "https://example.com/input.jpg",
"image_prompt_strength": 0.5,
"output_format": "jpg"
}
}'import requests
response = requests.post(
"https://api.apiframe.ai/v2/images/generate",
headers={
"X-API-Key": "afk_your_api_key_here",
"Content-Type": "application/json",
},
json={
"prompt": "a sleek silver sports car on a coastal highway at sunset, hyper-realistic",
"model": "flux-2-max",
"fluxParams": {
"resolution": "2MP",
"image_prompt": "https://example.com/input.jpg",
"image_prompt_strength": 0.5,
"output_format": "jpg"
}
},
)
print(response.json()) # { "jobId": "...", "status": "QUEUED" }const response = await fetch("https://api.apiframe.ai/v2/images/generate", {
method: "POST",
headers: {
"X-API-Key": "afk_your_api_key_here",
"Content-Type": "application/json",
},
body: JSON.stringify({
"prompt": "a sleek silver sports car on a coastal highway at sunset, hyper-realistic",
"model": "flux-2-max",
"fluxParams": {
"resolution": "2MP",
"image_prompt": "https://example.com/input.jpg",
"image_prompt_strength": 0.5,
"output_format": "jpg"
}
}),
});
const { jobId } = await response.json();
console.log(jobId);生成は非同期で行われます。送信が成功すると 202 Accepted と jobId が返ります。ステータスが COMPLETED になるまで GET /v2/jobs/{id} をポーリングする(または webhook_url を指定する)と、result フィールドに出力URLが格納されます。
{
"jobId": "b2c3d4e5-f6a7-8901-bcde-f23456789012",
"status": "QUEUED"
}curl https://api.apiframe.ai/v2/jobs/JOB_ID \
-H "X-API-Key: afk_your_api_key_here"import requests, time
while True:
job = requests.get(
"https://api.apiframe.ai/v2/jobs/JOB_ID",
headers={"X-API-Key": "afk_your_api_key_here"},
).json()
if job["status"] in ("COMPLETED", "FAILED"):
break
time.sleep(2)
print(job["result"])let job;
do {
await new Promise((r) => setTimeout(r, 2000));
job = await fetch("https://api.apiframe.ai/v2/jobs/JOB_ID", {
headers: { "X-API-Key": "afk_your_api_key_here" },
}).then((r) => r.json());
} while (job.status !== "COMPLETED" && job.status !== "FAILED");
console.log(job.result);Flux 2 Max エンドポイントが受け付けるリクエストパラメータです。モデル固有のオプションは、下記のパラメータオブジェクトの中にネストされます。
| パラメータ | 型 | 必須 | デフォルト | 許可値 / 範囲 | 説明 |
|---|---|---|---|---|---|
| prompt | string | 必須 | — | — | 生成する内容のテキスト説明。 |
| model | string | 必須 | "flux-2-max" | "flux-2-max" | このエンドポイントのモデル識別子。 |
| fluxParams.resolution | string | 任意 | "2MP" | "0.5MP", "1MP", "2MP", "4MP" | Resolution |
| fluxParams.image_prompt | string (URL) | 任意 | — | — | Reference image (URL) |
| fluxParams.image_prompt_strength | number | 任意 | 0.5 | min 0, max 1, step 0.05 | How closely to follow the reference image (0–1). |
| fluxParams.output_format | string | 任意 | "jpg" | "jpg", "png", "webp" | Output format |
| fluxParams.output_quality | number | 任意 | 90 | min 0, max 100, step 1 | Output quality |
| fluxParams.prompt_upsampling | boolean | 任意 | false | — | Let the model rewrite your prompt for better quality. |
| fluxParams.seed | number | 任意 | — | step 1 | Reuse a number to reproduce the same result. |
Flux 2 Max APIに関するよくある質問をまとめました。
Max はプレミアムティアで、最高品質・最強のプロンプト追従・最も一貫した編集を備えます。Pro は本番運用の主力、Flex はタイポグラフィ向けにパラメータを制御できる選択肢です。
モデルがリアルタイムのウェブ文脈を画像に取り込める機能です。参照素材を自分で用意しなくても、時事・天気・トレンド製品をビジュアル化できます。
1メガピクセルあたり約 $0.07 で、Flux 2 ファミリーで最も高価なティアです。
同時に最大10枚まで使用でき、強力なキャラクター・製品・スタイルの一貫性を実現します。
製品マーケティングと EC、ブランド・キャラクターの一貫性、リテクスチャ、インテリアデザイン、動画用のシネマティックなキーフレームなどです。
Apiframe のほか、BFL API や主要なホスティングパートナーから利用できます。
解決しませんでしたか?
APIキーを取得すれば数分で Flux 2 Max を統合できます — 従量課金。
ご質問はありますか? Discordに参加 または 営業に問い合わせる。