← All models
FLUX: FLUX.3 Image
black-forest-labs/flux-3-imageimages
FLUX.3 Image is Black Forest Labs' flagship image generation and editing model. It handles text-to-image and multi-reference editing with up to 10 input images, and renders at fixed resolution tiers from 768 up to 4K with a selectable aspect ratio. Pricing is a flat per-image rate that scales with the chosen resolution tier.
Price
Context / Max output
46.9K / 46.9K
Released
Oct 1, 2026
Parameters
promptrequiredaspect_ratio1:11:22:12:33:23:44:34:55:45:77:59:169:2116:921:9resolutionsize328x768768x328384x768768x384432x768768x432512x768768x512576x768768x576438x10241024x438614x768768x614512x10241024x512576x1024768x7681024x576682x10241024x682768x10241024x768818x10241024x818658x15361536x6581024x1024768x15361536x768864x15361536x8641024x15361536x10241152x15361536x1152876x20482048x8761228x15361536x12281024x20482048x10241152x20481536x15362048x11521364x20482048x13641536x20482048x15361638x20482048x16382048x20481754x40964096x17542048x40964096x20482304x40964096x23042730x40964096x27303072x40964096x30723276x40964096x32764096x4096imageimage-to-image (via /v1/images/edits)How to use via API
import base64
from openai import OpenAI
client = OpenAI(base_url="https://api.mixen.ai/v1", api_key="mxn-...")
img = client.images.generate(
model="black-forest-labs/flux-3-image",
prompt="Милый кот-космонавт на Марсе",
size="328x768", # либо extra_body={"aspect_ratio": "1:1", "resolution": "768"}
n=1,
)
with open("image.png", "wb") as f:
f.write(base64.b64decode(img.data[0].b64_json))
# image-to-image: передать референс(ы) через multipart
edited = client.images.edit(
model="black-forest-labs/flux-3-image",
image=open("photo.png", "rb"), # один или несколько референсов
prompt="Добавь неоновую вывеску на фасад, сохрани композицию",
)
with open("edited.png", "wb") as f:
f.write(base64.b64decode(edited.data[0].b64_json))
