โมเดลราคาองค์กร
500+ AI Model API ทั้งหมดในหนึ่ง API เพียงแค่ใน CometAPI
API โมเดล
นักพัฒนา
เริ่มต้นอย่างรวดเร็วเอกสารประกอบแดชบอร์ด API
บริษัท
เกี่ยวกับเราองค์กร
ทรัพยากร
โมเดล AIบล็อกบันทึกการเปลี่ยนแปลงสนับสนุน
ข้อกำหนดการให้บริการนโยบายความเป็นส่วนตัว
© 2026 CometAPI · All rights reserved
Home/Models/Flux/flux-kontext-max
F

flux-kontext-max

ต่อคำขอ:$0.096
ใช้งานเชิงพาณิชย์
ภาพรวม
คุณสมบัติ
ราคา
API

Technical Specifications of flux-kontext-max

SpecificationDetails
Model IDflux-kontext-max
Provider / model familyBlack Forest Labs FLUX.1 Kontext [max]
Primary modalityImage generation and image editing from text and image inputs
Core use caseIn-context image generation, local edits, full-scene transformations, and text-based image manipulation
Quality tierPremium / maximum-quality variant in the FLUX.1 Kontext family
Prompting inputsText prompts plus optional input images for editing and transformation workflows
Output resolutionFixed at 1 megapixel with flexible aspect ratios
Pricing reference8 credits per image, listed as $0.08 per image by Black Forest Labs
Concurrency noteBlack Forest Labs help documentation lists flux-kontext-max at 6 active tasks, lower than the default account concurrency of 24

What is flux-kontext-max?

flux-kontext-max is CometAPI’s platform identifier for Black Forest Labs’ FLUX.1 Kontext [max], a premium image model designed for both text-to-image generation and image editing within a single system. Rather than treating generation and editing as separate tools, the Kontext family is built for in-context workflows where users can provide text instructions, optionally include an image, and then refine, modify, or restyle the result across multiple turns.

The [max] variant is positioned as the highest-quality option in the FLUX.1 Kontext lineup. Black Forest Labs describes it as its premium model with maximum performance, improved prompt adherence, stronger typography generation, and premium consistency for editing, while still supporting fast iterative workflows.

In practice, flux-kontext-max is aimed at teams that need more than basic image synthesis. It is useful for brand-consistent visuals, character-preserving edits, localized changes to existing images, stylization, and text replacement inside scenes such as signs, labels, or UI-like visual elements.

Main features of flux-kontext-max

  • Unified generation and editing: Supports both creating images from prompts and editing existing images in the same model workflow, which simplifies application design for creative tools and production pipelines.
  • Maximum-quality Kontext tier: The [max] variant is the premium FLUX.1 Kontext offering, positioned for best output quality, stronger prompt adherence, and higher-end editing consistency.
  • Character consistency: Designed to preserve identity and recognizable visual traits across multiple scenes and iterative edits, which is valuable for storytelling, marketing assets, and multi-image campaigns.
  • Local precision editing: Can modify specific parts of an image while preserving the surrounding composition, enabling targeted object swaps, scene adjustments, or selective clean-up.
  • In-context scene transformation: Lets developers transform elements of an existing image while keeping their relationship to the broader scene coherent, rather than regenerating the whole image blindly.
  • Typography and text editing strengths: Black Forest Labs highlights improved typography generation, and its help documentation explicitly lists text editing and replacement in signs and labels as a key capability.
  • Flexible aspect ratios at fixed 1MP output: Outputs are generated at a fixed 1-megapixel resolution, with flexibility in aspect ratio selection for different product surfaces and creative formats.
  • Predictable per-image pricing: Black Forest Labs lists the model at 8 credits or $0.08 per image, making cost estimation straightforward for batch generation and editing workflows.

How to access and integrate flux-kontext-max

Step 1: Sign Up for API Key

To get started, create an account on CometAPI and generate your API key from the dashboard. After that, store the key securely as an environment variable so your application can authenticate requests to the API.

Step 2: Send Requests to flux-kontext-max API

Once you have an API key, send requests to CometAPI’s OpenAI-compatible endpoint and set the model field to flux-kontext-max.

curl --request POST \
  --url https://api.cometapi.com/v1/images/generations \
  --header "Authorization: Bearer $COMETAPI_API_KEY" \
  --header "Content-Type: application/json" \
  --data '{
    "model": "flux-kontext-max",
    "prompt": "Create a cinematic product-style image of a smartwatch on a reflective black surface with dramatic studio lighting"
  }'

You can also integrate it using the OpenAI SDK format:

import OpenAI from "openai";

const client = new OpenAI({
  apiKey: process.env.COMETAPI_API_KEY,
  baseURL: "https://api.cometapi.com/v1"
});

const result = await client.images.generate({
  model: "flux-kontext-max",
  prompt: "Create a cinematic product-style image of a smartwatch on a reflective black surface with dramatic studio lighting"
});

console.log(result);

Step 3: Retrieve and Verify Results

After submission, parse the API response and retrieve the generated image result returned by the platform. You should then verify output quality, prompt adherence, and any requested edits or typography details before using the result in production workflows. For high-volume usage, also account for provider-side concurrency behavior; Black Forest Labs documents a 6-active-task limit for flux-kontext-max.

คุณสมบัติสำหรับ flux-kontext-max

สำรวจคุณสมบัติหลักของ flux-kontext-max ที่ออกแบบมาเพื่อเพิ่มประสิทธิภาพและความสะดวกในการใช้งาน ค้นพบว่าความสามารถเหล่านี้สามารถเป็นประโยชน์ต่อโครงการของคุณและปรับปรุงประสบการณ์ของผู้ใช้ได้อย่างไร

ราคาสำหรับ flux-kontext-max

สำรวจราคาที่แข่งขันได้สำหรับ flux-kontext-max ที่ออกแบบมาให้เหมาะสมกับงบประมาณและความต้องการการใช้งานที่หลากหลาย แผนการบริการที่ยืดหยุ่นของเรารับประกันว่าคุณจะจ่ายเฉพาะสิ่งที่คุณใช้เท่านั้น ทำให้สามารถขยายขนาดได้ง่ายเมื่อความต้องการของคุณเพิ่มขึ้น ค้นพบว่า flux-kontext-max สามารถยกระดับโปรเจกต์ของคุณได้อย่างไรในขณะที่ควบคุมต้นทุนให้อยู่ในระดับที่จัดการได้
ราคา Comet (USD / M Tokens)ราคาทางการ (USD / M Tokens)ส่วนลด
ต่อคำขอ:$0.096
ต่อคำขอ:$0.12
-20%

โค้ดตัวอย่างและ API สำหรับ flux-kontext-max

เข้าถึงโค้ดตัวอย่างที่ครอบคลุมและทรัพยากร API สำหรับ flux-kontext-max เพื่อปรับปรุงกระบวนการผสานรวมของคุณ เอกสารประกอบที่มีรายละเอียดของเราให้คำแนะนำทีละขั้นตอน ช่วยให้คุณใช้ประโยชน์จากศักยภาพเต็มรูปแบบของ flux-kontext-max ในโครงการของคุณ

โมเดลเพิ่มเติม

G

Nano Banana 2

อินพุต:$0.4/M
เอาต์พุต:$2.4/M
ภาพรวมความสามารถหลัก: ความละเอียด: สูงสุด 4K (4096×4096) เทียบเท่า Pro. ความสม่ำเสมอของภาพอ้างอิง: รองรับภาพอ้างอิงได้สูงสุด 14 ภาพ (วัตถุ 10 รายการ + ตัวละคร 4 ตัว), รักษาความสม่ำเสมอของสไตล์/ตัวละคร. อัตราส่วนภาพแบบสุดโต่ง: เพิ่มอัตราส่วนใหม่ 1:4, 4:1, 1:8, 8:1 เหมาะสำหรับภาพแนวยาว, โปสเตอร์ และแบนเนอร์. การเรนเดอร์ข้อความ: การสร้างข้อความขั้นสูง เหมาะสำหรับอินโฟกราฟิกและเลย์เอาต์โปสเตอร์สำหรับการตลาด. การปรับปรุงการค้นหา: ผสาน Google Search + การค้นหาด้วยภาพ. การยึดโยง: มีกระบวนการคิดในตัว; ทำการให้เหตุผลกับพรอมป์ตที่ซับซ้อนก่อนการสร้าง.
C

Claude Opus 4.7

อินพุต:$4/M
เอาต์พุต:$20/M
โมเดลที่ฉลาดที่สุดสำหรับเอเจนต์และการเขียนโค้ด
C

Claude Opus 4.6

อินพุต:$4/M
เอาต์พุต:$20/M
Claude Opus 4.6 เป็นโมเดลภาษาขนาดใหญ่ระดับ “Opus” ของ Anthropic เปิดตัวในเดือนกุมภาพันธ์ 2026. ถูกวางตำแหน่งให้เป็นกำลังหลักสำหรับงานเชิงความรู้และเวิร์กโฟลว์การวิจัย — ปรับปรุงการให้เหตุผลในบริบทยาว การวางแผนหลายขั้นตอน การใช้เครื่องมือ (รวมถึงเวิร์กโฟลว์ซอฟต์แวร์เชิงตัวแทน) และงานการใช้คอมพิวเตอร์ เช่น การสร้างสไลด์และสเปรดชีตอัตโนมัติ.
A

Claude Sonnet 4.6

อินพุต:$2.4/M
เอาต์พุต:$12/M
Claude Sonnet 4.6 เป็นโมเดล Sonnet ที่มีความสามารถมากที่สุดเท่าที่เคยมีมา เป็นการอัปเกรดเต็มรูปแบบของทักษะของโมเดล ครอบคลุมการเขียนโค้ด การใช้งานคอมพิวเตอร์ การให้เหตุผลในบริบทยาว การวางแผนของเอเจนต์ งานด้านความรู้ และการออกแบบ Sonnet 4.6 ยังมาพร้อมกับหน้าต่างบริบทขนาด 1M โทเค็นในเวอร์ชันเบต้า
O

GPT-5.4 nano

อินพุต:$0.16/M
เอาต์พุต:$1/M
GPT-5.4 nano ถูกออกแบบมาสำหรับงานที่ความเร็วและต้นทุนมีความสำคัญสูงสุด เช่น การจำแนกประเภท การสกัดข้อมูล การจัดอันดับ และเอเจนต์ย่อย.
O

GPT-5.4 mini

อินพุต:$0.6/M
เอาต์พุต:$3.6/M
GPT-5.4 mini นำจุดแข็งของ GPT-5.4 มาสู่โมเดลที่เร็วกว่าและมีประสิทธิภาพมากขึ้น ซึ่งออกแบบมาสำหรับภาระงานปริมาณมาก