HiAPI
  • Models
  • Pricing
Search

Search HiAPI models, tools, and resources.

  • Models
  • Pricing
HiAPI

One API, All AI Models

Generate images, video, and audio with leading models through one production-ready API.

Get a free API key

AI Image API

  • All image models
  • GPT Image 2
  • Nano Banana 2
  • Seedream 5.0 Pro
  • Qwen Image 2.0 Pro
  • FLUX 1.1 Pro

AI Video API

  • All video models
  • Seedance 2.5
  • FLUX.3 Video
  • Seedance 2.0
  • Veo 3.1
  • Kling 3.0

AI Audio API

  • All audio models
  • MiniMax Music 2.6
  • MiniMax Music 1.5
  • ElevenLabs v3
  • Text to music
  • Text to speech

Product

  • Model marketplace
  • Playground
  • Pricing
  • Image API Cost Calculator
  • Free GPT Image 2 Generator
  • Free Nano Banana Image Generator
  • Outfit Preview
  • Product Photo Lab

Developers

  • Documentation
  • API Reference
  • Agent Skills
  • LLM integration index
  • Blog

Company

  • About
  • Contact support
  • Terms of Service
  • Privacy Policy

© 2026 hiapi. All rights reserved.

Open source on GitHubPython SDK on PyPI
  • TL;DR
  • Where FLUX 1.1 Pro sits in the family
  • Pricing on hiapi
  • How to call it
  • Four real outputs
  • Portrait, 9:16 — photoreal character
  • Product, 1:1 — flat-lay e-commerce
  • Landscape with text, 16:9 — neon sign rendering
  • Cover, 16:9 — still-life detail
  • When to pick FLUX 1.1 Pro
  • Wrap-up
NewsJun 12, 20269 min read

FLUX 1.1 Pro on hiapi: Capabilities, Pricing, and a Working Code Example

What FLUX 1.1 Pro is good at, how it differs from FLUX.1 Dev and the original Pro at the model level, and how to call it through hiapi's task endpoint.

hiapiUpdated Jun 17, 2026FLUXImage GenerationhiapiAPI

Latest models

Explore models

Contents
  • TL;DR
  • Where FLUX 1.1 Pro sits in the family
  • Pricing on hiapi
  • How to call it
  • Four real outputs
  • Portrait, 9:16 — photoreal character
  • Product, 1:1 — flat-lay e-commerce
  • Landscape with text, 16:9 — neon sign rendering
  • Cover, 16:9 — still-life detail
  • When to pick FLUX 1.1 Pro
  • Wrap-up

Generate it with HiAPI

Choose a model, enter your prompt, and see the result.

HiAPI Blog

Related articles

HiAPI

Generate it with HiAPI

TL;DR

FLUX 1.1 Pro is Black Forest Labs' current flagship text-to-image model, focused on photoreal output, clean text rendering, and flexible aspect ratios. Here is the short version of what you actually need to know if you want to use it through hiapi:

  • On hiapi: $0.05 per image, flat. No resolution multiplier, no quality tiers — same price for 1:1, 9:16, 16:9, and other aspect ratios.
  • Endpoint: /v1/tasks (async task pattern), model name flux-1.1-pro. It is not served on /v1/chat/completions or the OpenAI-compatible images endpoint.
  • What it is good at: photorealistic portraits, product photography, cinematic scenes, and short sign/headline text. Text rendering is noticeably more reliable than the older Dev tier most teams started with.
  • What is missing on hiapi: the older FLUX.1 Dev and the first-generation FLUX Pro are not listed in the hiapi catalogue. hiapi currently carries only the 1.1 Pro flagship from the FLUX family.

The rest of this post walks through the capabilities, where 1.1 Pro sits versus older FLUX tiers at the model level, four real outputs we ran through the hiapi endpoint, and a copy-pasteable code example.

FLUX 1.1 Pro on hiapi — vintage brass camera still life rendered via flux-1.1-pro, 16:9 aspect ratio, photorealistic with shallow depth of field

Where FLUX 1.1 Pro sits in the family

Black Forest Labs ships several FLUX variants and they are easy to confuse, so a quick map:

  • FLUX.1 Dev — the open-weight model the community started building on. Strong general image quality, but with a non-commercial license and the older text-rendering and detail behaviour. Most third-party LoRA work was built on top of this.
  • FLUX.1 Pro (the original "Pro") — the first closed API model from BFL. Higher fidelity than Dev, but slower and tuned conservatively.
  • FLUX 1.1 Pro — the current flagship. The headline improvement is generation speed and a noticeably higher ceiling on prompt fidelity and short-text rendering, while keeping the same broad-strokes "photo-grade" look the Pro line is known for.

If you have only ever used FLUX.1 Dev, the most obvious differences when you switch to 1.1 Pro are: faces stop looking generically "AI", short headline text (signs, posters, labels) is much more likely to actually be the string you asked for, and the model handles dramatic lighting and shallow depth of field with less prompt hand-holding.

A note on the comparison: hiapi currently only lists flux-1.1-pro in its catalogue — we did not benchmark Dev and the original Pro against 1.1 Pro inside hiapi, because they are not available there to be called the same way. The differences above are about the models themselves at the design level, not a head-to-head price/latency benchmark inside one platform.

Pricing on hiapi

Straight from the hiapi pricing API:

ModelEndpointPrice per imageResolution / aspect-ratio surcharge
flux-1.1-proPOST /v1/tasks$0.05none — flat across aspect ratios

A few things worth flagging:

  • No 2K/4K markup. Some image models on hiapi have a quality multiplier (e.g. 2K = 1.5× the base price). FLUX 1.1 Pro does not — you pay $0.05 whether you ask for a square avatar or a 16:9 hero image.
  • Per-image, not per-token. You pay once per finished image. Prompt length does not affect price.
  • Confirm before you commit. Pricing on hiapi is versioned (pricing_version in the API response), and we have seen quality tiers added or removed over time. Always re-fetch /api/pricing before you wire up billing on your own service.

For context, $0.05/image puts FLUX 1.1 Pro in the same ballpark as Google's Nano Banana on hiapi (also $0.05 at 1K) and below GPT Image 2 Pro ($0.35/image, 1K). It is positioned as the "photoreal default" rather than the "premium specialist".

How to call it

FLUX 1.1 Pro is served on the async task endpoint, not on /v1/chat/completions. This is the part that catches most people the first time. You:

  1. POST /v1/tasks with {"model": "flux-1.1-pro", "input": {"prompt": "...", "aspect_ratio": "16:9"}} → you get back a taskId.
  2. Poll GET /v1/tasks/<taskId> until data.status == "success".
  3. Read the rendered image URL from data.output[0].url. The URL is on hiapi's CDN and has an expireAt timestamp — download it if you want to keep it around.

A minimal Python example that has actually been used to render the four images in this post:

import json, os, time, urllib.request

TOKEN = os.environ["HIAPI_API_KEY"]
BASE  = "https://api.hiapi.ai"

def submit(prompt: str, aspect_ratio: str = "16:9") -> str:
    body = json.dumps({
        "model": "flux-1.1-pro",
        "input": {"prompt": prompt, "aspect_ratio": aspect_ratio},
    }).encode()
    req = urllib.request.Request(
        f"{BASE}/v1/tasks",
        data=body,
        headers={
            "Authorization": f"Bearer {TOKEN}",
            "Content-Type":  "application/json",
        },
    )
    with urllib.request.urlopen(req, timeout=60) as r:
        data = json.loads(r.read())
    if data.get("code") != 200:
        raise RuntimeError(f"submit failed: {data}")
    return data["data"]["taskId"]

def wait_for(task_id: str, timeout_s: int = 240) -> str:
    deadline = time.time() + timeout_s
    while time.time() < deadline:
        time.sleep(5)
        req = urllib.request.Request(
            f"{BASE}/v1/tasks/{task_id}",
            headers={"Authorization": f"Bearer {TOKEN}"},
        )
        with urllib.request.urlopen(req, timeout=30) as r:
            data = json.loads(r.read())
        status = data.get("data", {}).get("status")
        if status == "success":
            return data["data"]["output"][0]["url"]
        if status in ("failed", "canceled"):
            raise RuntimeError(f"task {task_id} {status}: {data}")
    raise RuntimeError(f"task {task_id} timed out after {timeout_s}s")

prompt = (
    "Wide-angle photograph of an old roadside diner at dusk, neon sign "
    "on the roof clearly reading 'MIDNIGHT DINER', warm interior lights "
    "spilling onto an empty parking lot, distant mountains silhouetted "
    "against a deep blue twilight sky, cinematic film still feel"
)
task_id = submit(prompt, aspect_ratio="16:9")
url     = wait_for(task_id)
print(url)

In our four-image run, each task came back in roughly 14–19 seconds end-to-end (submit → poll → CDN URL). That is wall-clock time including the poll interval; the actual model inference was faster. If you are building UI on top, plan around ~10–20 s of perceived latency per image and keep the polling interval at 5 s or longer to stay polite.

A few practical notes:

  • Use aspect_ratio, not size. The task input does not accept a size field for this model. Pass standard ratios like "1:1", "4:3", "3:4", "16:9", "9:16". Passing size will get you a 400 invalid input with additional properties 'size' not allowed.
  • The CDN URL is temporary. Each response includes an expireAt (unix seconds). The image lives on cdn.hiapi.ai for a few days — copy it into your own storage if you need it long-term.
  • No streaming, no progress. Tasks are fire-and-poll. There is no SSE/WebSocket progress signal.

Four real outputs

Below are the four images rendered through the code path above. All prompts are original to this post — none of them are recycled from FLUX gallery posts. Time-to-image numbers are wall-clock from submit to the CDN URL becoming valid.

Portrait, 9:16 — photoreal character

Prompt: "Photorealistic portrait of a 28-year-old marine biologist standing on a windy seaside cliff at sunrise, navy waterproof jacket, salt spray in her hair, distant lighthouse out of focus behind her, natural cool morning light with warm sun on her face, eye-level frame, magazine cover composition, natural skin texture, shallow depth of field."

Wall-clock: ~14 s.

Photorealistic portrait of a marine biologist on a seaside cliff at sunrise rendered by flux-1.1-pro, 9:16 aspect ratio

What worked: skin texture and eye detail are convincing without the waxy "AI face" look. Hair edges hold up against a busy background. The lighthouse stays correctly out of focus.

What did not: the jacket got a small auto-generated brand mark on the chest that we did not ask for and is a slightly distorted string. FLUX 1.1 Pro is much better at requested text than older versions but it can still hallucinate decorative text on garments and product surfaces. If you are generating images for a real brand, plan to either inpaint over these or include explicit "no text on clothing" guidance and accept that prompt adherence on negatives is imperfect.

Product, 1:1 — flat-lay e-commerce

Prompt: "Top-down product photograph of three handmade ceramic mugs in matte sage green arranged on a sun-dappled oak table, scattered coffee beans and a brass spoon between them, soft morning light from a window casting realistic shadows, editorial e-commerce style, crisp focus on mug rims, neutral color grading, premium catalogue aesthetic."

Wall-clock: ~19 s.

Top-down photograph of three sage-green ceramic mugs on a sun-dappled oak table with scattered coffee beans, rendered by flux-1.1-pro at 1:1

What worked: the dappled light and beans look photographic — shadows fall in a consistent direction, the wood grain is plausible, and the matte glaze on the ceramic is clean. This is the kind of output that can land in a real catalogue moodboard with minimal retouching.

What did not: we asked for a brass spoon and got two. FLUX 1.1 Pro is generally good at counts up to about three but gets looser when items are scattered around the frame. If quantity matters, either include the number in multiple places in the prompt ("three mugs", "exactly one brass spoon") or generate then crop.

Landscape with text, 16:9 — neon sign rendering

Prompt: "Wide-angle photograph of an old roadside diner at dusk, neon sign on the roof clearly reading 'MIDNIGHT DINER', warm interior lights spilling onto an empty parking lot with one parked classic pickup truck, distant mountains silhouetted against a deep blue twilight sky, cinematic film still feel, subtle lens flare, photoreal detail."

Wall-clock: ~14 s.

Wide-angle photograph of a roadside diner at dusk with a neon MIDNIGHT DINER sign, rendered by flux-1.1-pro at 16:9

What worked: the neon text "MIDNIGHT DINER" comes out exactly as written, with correct letter spacing and a believable pink/magenta glow. This is the headline capability — short, all-caps sign text inside a photographic scene. The truck, mountain silhouette, and twilight gradient are all coherent.

What did not: a smaller secondary text panel under the main sign is illegible. As a rule of thumb, FLUX 1.1 Pro is reliable for one short string per image; ask for more and at least one of them tends to degrade.

Cover, 16:9 — still-life detail

The hero image at the top of this post (the brass film camera on weathered wood) was generated with the same code path. Wall-clock: ~15 s. Window light direction, the leather notebook fold, and the bokeh in the background all hold up at full resolution.

Honest note on this one too: the brand text on the camera body is auto-invented gibberish. This is the consistent pattern — requested text renders well, unrequested decorative text on objects is unreliable.

When to pick FLUX 1.1 Pro

Quick guide based on what we actually saw across these four runs:

  • Yes: photoreal portraits, product flat-lays, cinematic landscapes, short headline / sign text. Anything where you want a "photo-grade" base layer that does not need a lot of negative prompting.
  • Maybe: stylised illustration (it can do it, but other models are tuned more specifically for that), images with multi-line typography (one short string is fine — multi-line poster text drifts).
  • No: brand-faithful logos and trademarks (it will improvise), strict-count compositions where the count must be exact, anything that needs an image-to-image workflow on this exact model (the /v1/tasks route here is text-to-image only).

For a comparison angle inside hiapi, the closest neighbour by price is Nano Banana at $0.05/image — that one leans into faster turnaround and the Gemini family's character-consistency story, while FLUX 1.1 Pro leans into photoreal still images and reliable short text. If you want to look at both, the hiapi pricing API lists them side by side under the image / text-to-image category.

Wrap-up

If you have been holding off on FLUX 1.1 Pro because you were not sure whether hiapi exposed it cleanly: it does, and the integration surface is small.

  • One async endpoint (/v1/tasks), one input shape, aspect_ratio not size.
  • A flat $0.05 per image at any aspect ratio.
  • Reliable photoreal output and reliable short-string text rendering, with the same caveats every generative image model still has around unprompted text and exact counts.

The code block above is the minimum viable client. From there it is mostly a question of which prompts work for your domain — and that part, as always, is empirical.

Latest models

View all models
  • GPT Image 2From $0.007/image
  • Nano Banana 2From $0.051/image
  • Seedream 5.0 ProFrom $0.050/image
  • Seedance 2.5From $0.121/s

Explore models

TextImageVideoAudio
Back to blog
GPT Image 2From $0.007/image
Nano Banana 2From $0.051/image
Seedream 5.0 ProFrom $0.050/image
Seedance 2.5From $0.121/s
View all models
TextChat and reasoning
ImageGenerate and edit
VideoText and image to video
AudioSpeech and music
Start generating
View model pricing
View all articles
How to Use the flux-3 API for Text-to-Video, Audio, and Continuation

How to Use the flux-3 API for Text-to-Video, Audio, and Continuation

minimax-music-3 API: curl & Python Guide

minimax-music-3 API: curl & Python Guide

Seedance 2.5 Text-to-Video: Build Short-Form Clips with the hiapi API

Seedance 2.5 Text-to-Video: Build Short-Form Clips with the hiapi API

Seedance 2.5 Reference-to-Video for Short-Form TikTok and Reels Clips

Seedance 2.5 Reference-to-Video for Short-Form TikTok and Reels Clips

How to use grok-imagine-image-2.0/image-to-image via the hiapi API: curl, Python, and a working request

How to use grok-imagine-image-2.0/image-to-image via the hiapi API: curl, Python, and a working request

How to Use grok-imagine-image-2.0/text-to-image via the hiapi API: curl, Python, and a Working Request

How to Use grok-imagine-image-2.0/text-to-image via the hiapi API: curl, Python, and a Working Request

Start generating