$0.0384 per image at 1k (768sq $0.0328 · 1.5k $0.056 · 2k $0.08 · 4k $0.4856) — one OpenAI-compatible endpoint at
https://api.apimart.ai/v1, no monthly plan required. (observed 2026-10-12)
Obtenir une clé API · Tarifs à jour · Page du modèle · ⚡ 60-second quickstart
Why teams call FLUX 3 Image (flux-3-image) through APIMart
- One key, entire catalog. The same
https://api.apimart.ai/v1base URL andAuthorizationheader reach FLUX 3 Image and 300+ other image, video and language models — switch themodelfield, not your client. - $1 minimum, pay as you go. No subscription and no prepaid plan to size up front: top up from $1 and spend it on calls. There is no free quota to burn through first, so the price in this table is the price you pay.
- The charge comes back in the response. Every completed task reports the amount billed (
cost/credits_cost), so a spend number is read per call instead of guessed at month end. A task markedfailedis refunded. - Async by design. Submit, take the
task_id, pollGET /v1/tasks/{id}— batching and retries are ordinary queue work, not a bespoke integration.
FLUX 3 Image : une seule base_url compatible OpenAI et une seule clé donnent accès à FLUX 3 Image (flux-3-image) et à plus de 300 modèles image, vidéo et langage — facturation en USD, à l'usage, à partir de 1 $.
FLUX 3 Image by Black Forest Labs generates one image per request from text or up to 10 references. Resolution determines the image price; reference images add no separate charge. This is the image model — not the FLUX 3 video model.
| Route | model value |
Billing | Images per task | Notes |
|---|---|---|---|---|
| Text-to-image | flux-3-image |
per image, by resolution | 1 image | grounding is on by default |
| Editing / multi-reference | flux-3-image |
per image, by resolution | 1 image | up to 10 references; references add no charge |
Endpoint: POST https://api.apimart.ai/v1/images/generations (OpenAI-compatible), then poll GET /v1/tasks/{task_id}.
Result links expire 72 hours after completion.
| Output | List price | Effective price |
|---|---|---|
| default | $0.134 | $0.02 |
| 4K | $0.24 | $0.03 |
The token-billed official route bills per million tokens instead: text_input $1.60, cached_text_input free, image_input $1.60, cached_image_input free, text_output $9.60, image_output $96.00.
This is the image model. It is not the FLUX 3 video model. Prices are a snapshot; the Tarifs à jour page and data/model.json are refreshed by CI, and a completed task reports the exact amount in its cost field.
| Field | Type | Default | Notes |
|---|---|---|---|
model |
string | required | flux-3-image |
prompt |
string | required | subject, composition, lighting and style; bounding-box layout and local edits can be described in the prompt |
resolution |
string | 1k |
768sq, 1k, 1.5k, 2k, 4k |
size |
string | auto |
auto or one of 15 ratios from 21:9 to 9:21 |
image_urls |
string[] | — | up to 10 publicly accessible HTTP(S) URLs or base64 images; adding references makes it an editing task |
grounding |
boolean | true |
allows upstream web or image retrieval before generation; set false to disable |
safety_tolerance |
integer | 2 |
0–4, where 0 is strictest |
Reference images. Up to 10 references, no separate charge. auto follows the first reference when editing; text-only generation follows the prompt or defaults to 1:1.
Supported aspect ratios: auto or one of 15 ratios from 21:9 to 9:21.
curl --request POST --url https://api.apimart.ai/v1/images/generations \
--header "Authorization: Bearer $APIMART_API_KEY" --header 'Content-Type: application/json' \
-d '{"model":"flux-3-image","prompt":"A bamboo forest path under moonlight","size":"1:1","resolution":"1K"}'import os, time, requests
BASE = "https://api.apimart.ai/v1"
HEADERS = {"Authorization": f"Bearer {os.environ['APIMART_API_KEY']}", "Content-Type": "application/json"}
created = requests.post(f"{BASE}/images/generations", headers=HEADERS, timeout=60, json={
"model": "flux-3-image", "prompt": "A bamboo forest path under moonlight",
"size": "1:1", "resolution": "1K",
}).json()
task_id = created["data"]["id"]
while True:
task = requests.get(f"{BASE}/tasks/{task_id}", headers=HEADERS, timeout=60).json()["data"]
if task["status"] in ("completed", "failed"):
break
time.sleep(5)
print(task.get("cost"), task["result"]["images"][0]["url"])const res = await fetch("https://api.apimart.ai/v1/images/generations", {
method: "POST",
headers: { Authorization: `Bearer ${process.env.APIMART_API_KEY}`, "Content-Type": "application/json" },
body: JSON.stringify({ model: "flux-3-image", prompt: "A bamboo forest path under moonlight",
size: "1:1", resolution: "1K" }),
});
const { data } = await res.json(); // data.id is the task id — poll /v1/tasks/<id>Runnable versions: examples/. The task lifecycle is pending → processing → completed | failed.
Each row is one API call. Costs follow the price table above.
Sources and costs are also in data/samples.json.
What is the FLUX 3 Image model id?
flux-3-image. See the route table above for the exact values this model accepts.
How is a FLUX 3 Image image billed?
Price depends on resolution, not on aspect ratio or the number of references.
How long do result links last?
72 hours after completion — read expires_at and copy the files out.
What happens if a task fails?
A task marked failed is refunded and reports cost = 0. A network error while polling status does not by itself mean the task failed — re-query the task id.
| Purpose | Attributed link | Target |
|---|---|---|
| Page du modèle | https://go.apimart.ai/k-23f6f6 | apimart.ai/fr/model/flux-3-image |
| Tarifs à jour | https://go.apimart.ai/k-0f31f8 | apimart.ai/fr/pricing |
| Obtenir une clé API | https://go.apimart.ai/k-1d5dd1 | apimart.ai/fr/keys |
Outbound APIMart links are minted through the promo link API; hand-made tracking parameters are rejected by
tools/check_links.py in CI.
FLUX 3 Image is a third-party model served through APIMart; this repository documents how to call it and publishes model ids and prices, and does not claim official status. Model names, prices and documentation belong to their respective owners. The renders in this README were produced through the APIMart image API and are shown as examples of the API's output.
README.md model id, routes, pricing, parameters, quickstart, samples, FAQ
data/model.json the pricing record for this model (CI-refreshed)
data/samples.json prompt recipes used for the sample renders
tools/check_links.py attribution guard
examples/ curl, Python and JavaScript clients
assets/ sample renders (JPEG, resized for the README)
MIT — see LICENSE.







