ModelsPricingEnterprise
500+ AI Model API, All In One API.Just In CometAPI
Models API
Developer
Quick StartDocumentationAPI Dashboard
Company
About usEnterprise
Resources
AI ModelsBlogChangelogSupport
Terms of ServicePrivacy Policy
© 2026 CometAPI · All rights reserved
Home/Models/Replicate/black-forest-labs/flux-kontext-max
R

black-forest-labs/flux-kontext-max

Per Request:$0.096
black-forest-labs/flux-kontext-max is a context-conditioned image generation model in the FLUX line, built to create images from text with optional reference inputs. It enables grounded synthesis, style or subject preservation, and controlled variations guided by supplied visual context. Typical applications include brand-consistent creatives, product mockups, character continuity, and moodboard-driven ideation. Technical highlights include diffusion-based generation and multimodal conditioning with text and reference inputs suitable for reference-guided workflows.
Commercial Use
Overview
Features
Pricing
API

Technical Specifications of black-forest-labs/flux-kontext-max

ItemDetails
Model IDblack-forest-labs/flux-kontext-max
ProviderBlack Forest Labs
CategoryImage generation
Primary capabilityContext-conditioned image generation from text with optional reference inputs
Input modalitiesText, reference image inputs
Output modalityGenerated images
Core approachDiffusion-based generation with multimodal conditioning
Best forBrand-consistent creatives, product mockups, character continuity, moodboard-driven ideation
Workflow styleReference-guided image synthesis and controlled variation generation

What is black-forest-labs/flux-kontext-max?

black-forest-labs/flux-kontext-max is a context-conditioned image generation model in the FLUX line, designed to produce images from text prompts while optionally incorporating reference inputs. This makes it well suited for workflows where image outputs need to stay grounded in a supplied visual direction rather than relying on text alone.

The model supports reference-guided generation use cases such as preserving style cues, maintaining subject consistency, and creating controlled variations based on existing images or moodboards. By combining text instructions with visual context, it helps teams generate outputs that are more aligned with brand, product, or creative requirements.

Typical use cases include marketing asset creation, product visualization, concept exploration, and character or scene continuity across multiple generations. Its diffusion-based architecture and multimodal conditioning make it a practical option for pipelines that need both creative flexibility and tighter visual control.

Main features of black-forest-labs/flux-kontext-max

  • Context-conditioned generation: Creates images from text prompts while leveraging optional reference inputs to steer composition, style, or subject matter.
  • Reference-guided workflows: Supports image generation tasks where supplied visual context helps ground outputs and reduce drift from the intended creative direction.
  • Style preservation: Helps maintain a consistent aesthetic across generations, which is useful for brand-aligned creative production and iterative campaigns.
  • Subject continuity: Enables more stable visual treatment of recurring products, characters, or design motifs across multiple outputs.
  • Controlled variations: Makes it easier to produce alternate versions of an image concept while retaining important visual anchors from references.
  • Multimodal conditioning: Combines text instructions with reference imagery for more directed synthesis than text-only prompting.
  • Creative production support: Fits use cases such as mockups, ideation boards, campaign concepts, and visually consistent asset generation.

How to access and integrate black-forest-labs/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. This key will authenticate your requests and let you access the black-forest-labs/flux-kontext-max API.

Step 2: Send Requests to black-forest-labs/flux-kontext-max API

Once you have your API key, send requests to the CometAPI endpoint using black-forest-labs/flux-kontext-max as the model identifier. Include your prompt and any supported input parameters, such as reference inputs, according to your application needs.

curl --request POST \
  --url https://api.cometapi.com/v1/responses \
  --header "Authorization: Bearer YOUR_COMETAPI_KEY" \
  --header "Content-Type: application/json" \
  --data '{
    "model": "black-forest-labs/flux-kontext-max",
    "input": [
      {
        "role": "user",
        "content": [
          { "type": "input_text", "text": "Generate a polished product hero image with a premium studio look." }
        ]
      }
    ]
  }'

Step 3: Retrieve and Verify Results

After submission, CometAPI will return the generation result payload for black-forest-labs/flux-kontext-max. Parse the response in your application, retrieve the generated image output, and verify that the result matches your requested prompt, reference context, and quality expectations before using it in production workflows.

Features for black-forest-labs/flux-kontext-max

Explore the key features of black-forest-labs/flux-kontext-max, designed to enhance performance and usability. Discover how these capabilities can benefit your projects and improve user experience.

Pricing for black-forest-labs/flux-kontext-max

Explore competitive pricing for black-forest-labs/flux-kontext-max, designed to fit various budgets and usage needs. Our flexible plans ensure you only pay for what you use, making it easy to scale as your requirements grow. Discover how black-forest-labs/flux-kontext-max can enhance your projects while keeping costs manageable.
Comet Price (USD / M Tokens)Official Price (USD / M Tokens)Discount
Per Request:$0.096
Per Request:$0.12
-20%

Sample code and API for black-forest-labs/flux-kontext-max

Access comprehensive sample code and API resources for black-forest-labs/flux-kontext-max to streamline your integration process. Our detailed documentation provides step-by-step guidance, helping you leverage the full potential of black-forest-labs/flux-kontext-max in your projects.

More Models

O

GPT Image 2

Input:$6.4/M
Output:$24/M
GPT Image 2 is openai state-of-the-art image generation model for fast, high-quality image generation and editing. It supports flexible image sizes and high-fidelity image inputs.
D

Doubao-Seedance-2-0

Per Second:$0.07
Seedance 2.0 is ByteDance’s next-generation multimodal video foundation model focused on cinematic, multi-shot narrative video generation. Unlike single-shot text-to-video demos, Seedance 2.0 emphasizes reference-based control (images, short clips, audio), coherent character/style consistency across shots, and native audio/video synchronization — aiming to make AI video useful for professional creative and previsualization workflows.
C

Claude Opus 4.7

Input:$3/M
Output:$15/M
Claude Opus 4.7 is a hybrid reasoning model designed specifically for frontier-level coding, AI agents, and complex multi-step professional work. Unlike lighter models (e.g., Sonnet or Haiku variants), Opus 4.7 prioritizes depth, consistency, and autonomy on the hardest tasks.
A

Claude Sonnet 4.6

Input:$2.4/M
Output:$12/M
Claude Sonnet 4.6 is our most capable Sonnet model yet. It’s a full upgrade of the model’s skills across coding, computer use, long-context reasoning, agent planning, knowledge work, and design. Sonnet 4.6 also features a 1M token context window in beta.
O

GPT 5.5 Pro

Input:$24/M
Output:$144/M
An advanced model engineered for extremely complex logic and professional demands, representing the highest standard of deep reasoning and precise analytical capabilities.
O

GPT 5.5

Input:$4/M
Output:$24/M
A next-generation multimodal flagship model balancing exceptional performance with efficient response, dedicated to providing comprehensive and stable general-purpose AI services.