Skip to main content

FLUX.2 [flex] text to image writes quoted headlines, taglines and labels into the picture as spelled and follows hex colours, at 1k or 2k in nine aspect ratios.

From $0.058/image

Workbench

Input

Text to image
796/5000
Up to 5,000 characters. Describe subject, setting, light and style in plain sentences. Put text that must appear in quotes and say where it sits; a hex code such as #1F3B2D next to an object or a line of lettering steers its colour. at least 1 characters · at most 5000 characters
One of nine shapes from 21:9 to 9:21; 1:1 by default. The shape does not change the price.
affects price
1k (default) is about one megapixel; 2k renders 2048 pixels on the long side. 2k costs more than 1k.
Seed
Optional whole number from 0 to 2147483647. Reuse it with the same prompt to compare variations side by side. no lower than 0 · no higher than 2147483647
Safety checkerOff

SpicyAPI does not run a safety checker on this model. Your prompt and media go to the model as written, and the model itself decides what comes back.

Checking your account before enabling submission and pricing.

Output

Ready for a new run
lisbon-noir-posterExample result

Missing the model you need?

Tell us what to add and where you would use it. Requests go to the people who decide what gets onboarded next.

BLACK FOREST LABS IMAGE MODEL

FLUX.2 Flex API at a glance

FLUX.2 [flex] from Black Forest Labs, the FLUX.2 model built for typography, with posters, covers and labels that spell out as written.

Built for lettering
Type
Quoted headlines, taglines and label text came back spelled exactly as written in our tests.
Largest size tier
2k
2048 pixels on the long side for text to image; 1k is about one megapixel.
Reference images
3
Up to three sources in one edit, at 1k.
Aspect ratios
9
From 21:9 to 9:21.

Results

What you can make with FLUX.2 Flex

  • A film poster of a man and a woman standing close under a streetlamp on a rainy Lisbon street at night, with a yellow tram behind them and a title, tagline and release line

    Posters

    A film poster with three lines of type

    A couple under a streetlamp on a wet Lisbon street, with a title across the top, a tagline under it and a release line at the bottom. All three lines are spelled as quoted; the release line was asked for in red and came back a lighter salmon.

    Text to image, 2k, 2:3.

  • A square jazz album cover: a man in a black silk shirt playing a tenor saxophone under a blue spotlight, with the artist name and a cream script title

    Covers

    An album cover with script lettering

    A saxophonist in one blue spotlight, with the artist name in small capitals at the top and a large cream script title in the lower third. Every word came back as quoted.

    Text to image, 2k, 1:1.

  • A matte deep green tea tin with a cream label and gold border on an oak shelf beside a white cup with steam, in soft morning light

    Packaging

    Colour codes on a product label

    A deep green tin with a cream label and gold border, all three set by hex codes. The label text is correct; the label sits flat rather than curving with the tin.

    Text to image, 2k, 4:3.

  • A woman in a rust-orange wool coat with her hands in her pockets on a wet cobblestone street at night, with warm shop-window light and a teal glow

    Editing

    Same woman, new night

    A daytime portrait turned into a rainy night: wet cobblestones, warm shop-window light and fine raindrops on the coat, while her face, coat and pose stayed.

    Edit, one source, auto.

  • An amber faceted perfume bottle with a brass cap and a small cream label standing on a green marble ledge in front of a rainy window with city lights, under a white headline

    Compositing

    A bottle moved into another scene

    A perfume bottle from one photo placed on a marble ledge from another, with a new label and a headline added. The label's "No." came back as the numero sign.

    Edit, two sources, auto.

Content test

Is FLUX.2 Flex uncensored? What we tested

We ran each level on our live setup and checked every clip frame by frame. A pass means the content was actually on screen, not just that the request went through.

Content levels tested on FLUX.2 Flex, by mode
LevelImage editingText to image
MildThe lightest prompts in the test
RefusedTested Oct 8, 2026
Not tested yet
ModerateWhere filtered models start to refuse
RefusedTested Oct 8, 2026
Not tested yet
StrongThe middle of the scale
RefusedTested Oct 8, 2026
Not tested yet
Very strongWhere most models start to hold back
RefusedTested Oct 8, 2026
RefusedTested Oct 8, 2026
MaximumThe top of the scale
Not tested yet
Not tested yet

Renders: on screen as written. Softened: generated, but milder than what was written. Refused: rejected. Not tested yet: we have not run that level on that mode.

How each mode behaves

All modes
Black Forest Labs' content policy applies to every prompt and result. In our tests text to image rendered Mild-level portraits, but anything stronger was refused or came back toned down, and Very strong requests were refused. Editing is stricter still: our tests refused portrait edits even at the Mild level, so use editing for products, scenery and everyday portraits. Refused requests are not charged.
All modes
Text is reliable but not perfect. A colour code on a small line of lettering can render as a nearby shade, and a full stop inside a line can come back as a bullet dot. Most text-to-image requests took 20 to 90 seconds and edits 45 to 120 seconds, longer when the queue is busy.
All modes
Editing is limited to 1k. In our tests, edits with several source images at 2k failed, so that size is not offered. Choose auto to keep the shape of your sources; flex then keeps roughly the source size, which can be larger than one megapixel. Step count and guidance settings are not offered here, and output comes back as JPEG.

Use cases

What to build with the FLUX.2 Flex API

  • Posters, covers and labels

    Film posters, album covers, magazine mastheads and packaging labels where several lines of type share the frame with a photograph.

  • Product and brand mock-ups

    Packaged goods on a shelf, a bottle with its own label, or an ad headline over a styled scene, in the brand colours you specify.

  • Relighting and compositing

    Move an everyday portrait to a new time of day or weather, or place a product from one photo into another scene.

Prompts

FLUX.2 Flex prompt examples you can copy

Paste one into the playground as it is, then change one thing at a time.

  • Text to image

    A film poster with three lines of type

    A cinematic movie poster. Photograph of a man and a woman, both in their late thirties, standing close under a single streetlamp on a steep, rain-slick Lisbon street at night. She wears a black satin slip dress with thin straps, a man's dark overcoat draped over her bare shoulders; he wears an open-collared white shirt with the sleeves rolled up. Her hand rests on his chest and their faces are inches apart. A yellow tram glows out of focus behind them. Color grade: teal shadows and warm #F2A541 lamplight. Typography: across the top, the title "MIDNIGHT IN LISBON" in large condensed ivory serif capitals; directly under it the tagline "One night. No promises." in small italic serif; at the bottom, the line "IN CINEMAS 14 FEBRUARY" in widely spaced capitals colored #C8102E. No other text.

    Why it works. A poster at 2:3 and 1k with the title, the tagline and the release line each quoted with a position, plus a colour grade by hex value. The three lines came back spelled as written.

    Try this prompt
  • Text to image

    An album cover with script lettering

    Square jazz album cover. Photograph of a man in his forties with close-cropped grey hair and a trimmed beard, wearing a black silk shirt unbuttoned at the collar with the sleeves pushed up, playing a tenor saxophone with his eyes closed under a single deep blue #1E3A8A spotlight, cigarette-smoke haze around him, the rest of the club in darkness. Typography: at the top, "ELIAS MOREAU QUARTET" in small widely spaced white sans-serif capitals; across the lower third, the title "Blue Hour Sessions" in a large hand-lettered cream #F5E6C8 script; under it, "LIVE AT THE RIVIERA · 1962" in small capitals. No other text.

    Why it works. A square cover with the artist name, a large script title and a small caption line placed from top to bottom, and one spotlight colour given as a code.

    Try this prompt
  • Text to image

    Colour codes on a product label

    Product photograph of a cylindrical tea tin painted matte deep green #1F3B2D with a cream #F3E9D2 paper label, standing on a light oak kitchen shelf beside a white porcelain cup with a curl of steam, soft morning window light from the left. The label is framed by a thin gold #C9A227 border and reads, in elegant typography: "KESTREL & FERN" in small spaced capitals at the top, "Smoked Earl Grey" in a large flowing script in the middle, and "LOOSE LEAF · 100 g" in small capitals at the bottom. Crisp focus on the label, shallow depth of field. No other text.

    Why it works. A product shot where the tin, the label and the border each get a colour code and the label text is quoted line by line. The colours and the wording both landed.

    Try this prompt
  • Image editing

    Same woman, new night

    Keep the woman exactly as she is: same face, dark curly hair, rust-orange wool coat, cream turtleneck, dark trousers, and the same pose with her hands in her coat pockets. Change the scene to the same narrow cobblestone street late at night in light rain: the stones are wet and mirror-like, warm #FFB347 light spills from a shop window on the left, a teal neon glow comes from further down the street, and fine raindrops sit on her coat and hair. Moody cinematic night photograph.

    Why it works. One source. The prompt lists what stays, namely face, hair, coat and pose, and describes only the new weather, light and time of day.

    This mode starts from your own image: add it in the playground before you run.

    Try this prompt
  • Image editing

    A bottle moved into another scene

    Place the perfume bottle from image 1 standing on the green marble ledge from image 2, in the empty foreground center, keeping the bottle's exact shape, amber glass and brushed-brass cap. Match the scene's night light: warm amber reflections from the city lights on the glass and a soft reflection of the bottle in the polished marble. Add a small cream paper label to the front of the bottle that reads "EMBER No. 5" in thin black serif capitals. Across the top of the image add the headline "Warmth After Dark" in a thin white serif. No other text.

    Why it works. Two sources, each referred to by number: the bottle from image 1 on the ledge from image 2, with the light matched and two pieces of quoted text added.

    This mode starts from your own image: add it in the playground before you run.

    Try this prompt

Pricing

FLUX.2 Flex API pricing

One image starts at $0.058 at 1K and $0.088 at 2K.

The playground shows the exact price for your settings before you run. Failed or timed-out tasks are usually not charged. Some models charge for content refusals as stated on their model page; check those billing terms before submitting.

See every price tier

Get started

How to use the FLUX.2 Flex API in three steps

  1. Step 1

    Quote every word that must appear

    Put each headline, tagline and label line in quotes and say where it sits: across the top, under the title, at the bottom. Add "No other text" to keep the model from inventing extra lines.

  2. Step 2

    Name colours with hex values

    Write a code such as #1F3B2D next to the object or the lettering. Large areas and packaging follow it closely; small accents can drift, so check the exact shade on type.

  3. Step 3

    Edit at 1k and say what stays

    Edits run at 1k. Describe the change, then list the face, outfit and pose that must stay as they are, and refer to each source by its position, such as image 1 and image 2.

Parameter reference and code samples are in the API and Readme tabs at the top of this page.

Why SpicyAPI

Why run FLUX.2 Flex on SpicyAPI

  • No filter from us

    We add no content filter of our own. What the model renders is what you get back.

  • Tested, not guessed

    Content labels come from real generations we ran and checked, with the test date on the page.

  • Pay per result, in dollars

    No subscription and no credits. Failed or timed-out tasks are usually not charged. Some models charge for content refusals as stated on their model page; check those billing terms before submitting.

  • One key for every model

    One API key and balance cover image, video, audio and chat models, so you can explore more models from the same account.

FAQ

FLUX.2 Flex API FAQ

About FLUX.2 Flex

FLUX.2 [flex] is Black Forest Labs' typography-minded FLUX.2 model: quoted lettering comes back as written, colour codes steer the palette, text to image reaches 2k in nine shapes, and edits take up to three sources at 1k. Its content policy applies, so it suits posters, packaging and everyday portraits; anything past the Mild level belongs on another model.

All FLUX models21

Image models20

Related models and next tasks