No image yet. Submit the form to generate image.
Explore different use cases and parameter configurations
Transparent pricing with no hidden fees. Pay as you go.
| Rule & Modality | Channel | Credits | Price (USD) | Official / Reference Price | Daily Savings |
|---|---|---|---|---|---|
flux-2-pro-2k imagefluxresolution: 2K | Starter | 0.9per run | $0.004 | - | - |
flux-2-pro-1k imagefluxresolution: 1K | Starter | 0.6per run | $0.003 | - | - |
Complete guide to using flux-pro-image-2
State-of-the-art quality at maximum speed—production-grade AI image generation seamlessly powered by apipass.dev.

The Flux-2 Pro Text to Image API on APIPASS provides access to Black Forest Labs' highly advanced, production-grade AI image generation and editing model. Delivered through apipass.dev, it offers a streamlined pipeline built for high-volume, studio-quality outputs. It removes the complexity of generation by eliminating the need to tune inference steps or guidance scales, allowing you to focus entirely on converting your prompts into predictable, professional-quality images. Designed for seamless API integrations, it delivers photorealistic details, robust text rendering, and exact brand controls at sub-10-second generation speeds.
Flux-2 Pro is documented here as a text-to-image model. Every request requires a prompt, and the adapter rejects empty prompt payloads before the upstream call is made.
The model supports 1:1, 4:3, 3:4, 16:9, 9:16, 3:2, and 2:3. The adapter also accepts aspectRatio and normalizes unsupported values back to 1:1.
Choose 1K or 2K output resolution and optionally set nsfw_checker. The adapter uppercases resolution values, resets unsupported values to 1K, and accepts nsfwChecker as an alias.
Experience professional-grade outputs without manual tuning; the model's internal optimization handles quality decisions automatically for fast, predictable batch generations.
Close the gap with real photography through unprecedented detail in fabric textures and architectural elements, supporting generation up to 4MP resolution with flexible aspect ratios.
Execute complex, multi-part instructions and strict composition rules flawlessly. The model reliably understands spatial logic, keeping lighting, props, and exact subject placement under tight control to ensure repeatable, production-ready outputs across your automated workflows.
Generate complex typography, UI mockups, infographics, and structured layouts with strong accuracy and sharp, readable text.
Ensure brand consistency by specifying exact colors using HEX codes with no approximation.
The model understands real-world logic, providing accurate object positioning, realistic lighting, and coherent spatial perspective throughout complex scenes.
The integration follows the standard ApiPass asynchronous jobs flow used by Kie-backed image models.
Sign in to your apipass.dev dashboard to generate a unique API key, which you will use for all text-to-image, editing, and multi-reference requests. Make sure to keep your key secure to prevent unauthorized usage.
Send your requests directly to the apipass.dev Flux-2 Pro API endpoints. You can pass your natural language text instructions, JSON structured prompts, and specific parameters like aspect ratios or resolutions into the API to control the exact composition of your scenes.
To manage multiple subjects and exact positioning across different dialogue scenes, pass structured JSON prompts to the apipass.dev endpoints instead of simple natural language. This enables granular specification of scene elements, camera settings, and composition, allowing you to maintain specific attributes and precise positioning throughout your storyboards and narrative-driven visuals.
Retrieve your high-quality, 4MP photorealistic outputs instantly from apipass.dev. The model features a streamlined pipeline that prioritizes generation speed and consistency, enabling fast iteration cycles and reproducible generations for your automated text-to-dialogue workflows.
These suggestions line up with the adapter guardrails and the upstream request schema.
Instead of simple natural language, utilize JSON formatted prompts to granularly control scene elements, precise object positioning, camera settings, and composition across complex imagery.
Include keywords like "color" or "hex" followed by a specific HEX code (e.g., "a wall painted in color #2ECC71") in your text prompt. For the highest accuracy, reference a color swatch image alongside the text.
Tailor your API requests based on your application's specific delivery requirements. You can configure the API to output in JPEG format for highly optimized file sizes and faster network transmission, or select PNG format when your workflow demands lossless, studio-grade quality.
Take advantage of the model's default prompt upsampling, which automatically refines and enhances your initial instructions to ensure optimal interpretation and output quality.
Generate polished packaging shots, product mockups, and tactile studio compositions by combining material cues, clean backgrounds, and precise typographic or branding instructions.
Use wide or tall aspect ratios to create banner-ready promotional visuals for product launches, creative campaigns, and SaaS marketing pages.
Produce strong still compositions for covers, feature sections, campaign treatments, or moodboards by describing composition, atmosphere, and surface detail with high specificity.
The document uses flux/flux-pro-image-2 as the public ApiPass model name because that is the value currently wired into SUPPORT_MODEL, and the adapter maps it upstream to flux/flux-pro-image-2.
The readme and API sections describe the same normalization implemented in the adapter: invalid aspect_ratio becomes 1:1, invalid resolution becomes 1K, and nsfwChecker is accepted as an alias.
The create-task API section documents the public ApiPass envelope of model plus optional callBackUrl and input, which is exactly the shape the Kie adapter receives before forwarding the upstream request.
All APIs require authentication via Bearer Token.
Authorization: Bearer
Create a new Flux-2 Pro text-to-image task through the ApiPass unified jobs API
ApiPass keeps the public request envelope stable across asynchronous Kie-backed models. Flux-2-specific parameters are passed inside the input object.
1{
2 "model": "flux/flux-pro-image-2",
3 "callBackUrl": "string (optional)",
4 "input": {
5 "prompt": "string",
6 "aspect_ratio": "1:1 | 4:3 | 3:4 | 16:9 | 9:16 | 3:2 | 2:3",
7 "resolution": "1K | 2K",
8 "nsfw_checker": false
9 },
10 "channel": "auto"
11}modelRequiredstringThe public ApiPass model name for Flux-2 Pro image generation.
"flux/flux-pro-image-2"
callBackUrlOptionalstringOptional callback URL for task completion notifications.
"https://your-domain.com/api/callback"
channelOptionalstringYou may specify the corresponding provider within APIPASS via the channel parameter; these providers handle the actual image and video generation tasks. APIPASS currently offers three provider options:
The default value for the channel parameter is auto. When enabled, APIPASS automatically allocates tasks across available providers based on real-time pricing and stability metrics to balance minimal cost and reliable performance. Retain the default auto value unless you have custom routing requirements.
Available options:
auto
The input object contains the Flux-2 Pro parameters accepted by ApiPass. The adapter validates prompt and normalizes supported aliases before forwarding the task upstream.
input.promptRequiredstringPrompt describing the image you want to generate.
"Hyperrealistic supermarket blister pack on clean olive green surface with pink FLUX.2 letters under stretched plastic film."
input.aspect_ratioOptionalstringRequested image aspect ratio. The adapter also accepts aspectRatio and normalizes unsupported values to 1:1.
Available options:
"1:1"
input.resolutionOptionalstringGeneration resolution. The adapter uppercases incoming string values and normalizes unsupported values to 1K.
Available options:
"1K"
input.nsfw_checkerOptionalbooleanWhether to enable the upstream NSFW checker. The adapter also accepts the alias nsfwChecker.
false
1curl -X POST "https://api.apipass.dev/api/v1/jobs/createTask" \
2 -H "Content-Type: application/json" \
3 -H "Authorization: Bearer YOUR_API_KEY" \
4 -d '{
5 "model": "flux/flux-pro-image-2",
6 "callBackUrl": "https://your-domain.com/api/callback",
7 "input": {
8 "prompt": "Hyperrealistic supermarket blister pack on clean olive green surface. No shadows. Inside: bright pink 3D letters spelling \"FLUX.2\" pressing against stretched plastic film, creating realistic deformation and reflective highlights. Bottom left corner: barcode sticker with text \"GENERATE NOW\" and \"PLAYGROUND\". Plastic shows tension wrinkles and realistic shine where stretched by the volumetric letters.",
9 "aspect_ratio": "1:1",
10 "resolution": "1K",
11 "nsfw_checker": false
12 }
13 }'1{
2 "code": 200,
3 "message": "success",
4 "data": {
5 "taskId": "task_flux-2_1765175072483"
6 }
7}codeStatus code. 200 indicates the task was created successfully.
messageResponse message returned by ApiPass.
data.taskIdTask identifier used for later status checks.

Nano Banana 2 Lite, aka Gemini 3.1 Flash-Lite Image, is a newly released image model from Google DeepMind built for fast 1K image generation, efficient creative iteration, prompt-based image editing, and responsive visual output in product-facing creative scenarios.
Starting from
0 credits
OpenAI
OpenAI
Generate intentionally designed visuals with less prompting using the latest OpenAI GPT Image 2 model.
Starting from
0 credits
Nano Banana now allows you to freely draw on edited images, bringing you a completely new experience. Simply click on the image to draw whatever you want. You can also add text and details, and Gemini will do the rest.
Starting from
0 credits
Fast image generation model built on Gemini 3.1 Flash Image. Supports text-to-image, image editing, multi-image fusion with up to 14 reference images, Google Search grounding, and outputs up to 4K resolution.
Starting from
0 credits
seedream
seedream
Starting from
0 credits
grok
grok
Grok Imagine is xAI’s AI video generation model for creating high-quality videos with realistic motion, native audio, and synchronized speech. Grok Imagine 1.5 introduces faster generation speeds, improved motion physics, and stronger visual consistency for modern AI video applications.
Starting from
0 credits
qwen
qwen
Generate realistic 2K images with structured text
Starting from
0 credits
seedream
seedream
Starting from
0 credits
OpenAI
OpenAI
Bring your ideas to life with sharper, faster, more precise image generation using the GPT Image 2.5 API.
Starting from
0 credits
wan
wan
Generate images with cinematic precision through high-fidelity text-to-image synthesis and structural editing.
Starting from
0 credits
seedream
seedream
Gemini said Generate images with lightning-fast efficiency and high-fidelity detail through a streamlined, lightweight architecture optimized for instant creative expression.
Starting from
0 credits
qwen
qwen
Generate realistic 2K images with structured text
Starting from
0 credits
Luma
Luma
Starting from
0 credits
seedream
seedream
Starting from
0 credits