---
title: Rendering text — FLUX 3.1 Image | Runware Docs
url: https://runware.ai/docs/models/bfl-flux-3-1-image/guides/text-rendering
description: "How to render text with FLUX 3.1 Image: quoting the exact string, directing the type, laying out several strings, and changing or translating copy in place."
---
### [Introduction](https://runware.ai/docs/models/bfl-flux-3-1-image/guides/text-rendering#introduction)

FLUX 3.1 Image sets **text as part of the picture**, so a can or an app screen comes back with its copy already printed on the surface, bent around the curve or lit by the same light as everything else. Every character, its typeface, its size and its position come from `positivePrompt`, which makes **the wording of the text instruction your typographic control**.

The same applies to images you already have. Send one as a reference and the model **changes or translates the copy in its original lettering**, which is how one approved render becomes a set of variants.

![A matte white drinks can reading SALTMEADOW in tall dark green capitals, Sparkling Water · Pink Grapefruit & Thyme beneath it and 330 ml near the base, beside a halved grapefruit on a wet slate ledge](https://runware.ai/docs/assets/hero.DZHj_j6V_QajRd.jpg)

> **Prompt**: A matte white aluminum drinks can standing on a wet slate ledge beside a halved pink grapefruit, beads of condensation on the metal. The can reads "SALTMEADOW" in tall dark green condensed capitals across its upper half, "Sparkling Water · Pink Grapefruit & Thyme" in a smaller dark green serif beneath it, and "330 ml" in fine capitals near the base. A plain pale sage backdrop. Soft daylight from the left, a gentle highlight running down the curve of the can. Straight-on shot at can height, 85mm lens, the can centered with clear space above it. Photoreal beverage packaging photography, fresh cool palette.

This guide covers how to get the characters right, how to direct the type, how to stack several strings into a layout, and how to change or translate the copy in an image that already exists.

### [Quoting the exact string](https://runware.ai/docs/models/bfl-flux-3-1-image/guides/text-rendering#quoting-the-exact-string)

Put every string you want printed **inside quotation marks**. The quotes separate the part of the prompt that describes the scene from the part that is literal copy. A string you only describe is a brief, and the model writes its own copy to meet it.

![A backlit bus shelter poster for a fitness app with a headline and a smaller line above a woman stretching on a running track](https://runware.ai/docs/assets/quoted-without.BxAEigJU_Z1iTpKf.jpg)

*Described*

> **Prompt**: A backlit advertising poster in a city bus shelter for a fitness app, with a large headline saying the first month is free and a smaller line telling people to download the app, above a photo of a woman stretching on a running track. A glass and steel shelter, a wet pavement in front of it. Early evening light. Straight-on shot from the curb at standing height, 35mm lens. Photoreal out-of-home advertising photography, cool palette.

![A backlit bus shelter poster reading YOUR FIRST MONTH IS ON US in large white capitals with Download Pacely today beneath it](https://runware.ai/docs/assets/quoted-with.-mVJbKPs_Z2pflvl.jpg)

*Quoted*

> **Prompt**: A backlit advertising poster in a city bus shelter for a fitness app, with "YOUR FIRST MONTH IS ON US" in large bold white capitals across the top and "Download Pacely today" in a smaller white sans-serif beneath it, above a photo of a woman stretching on a running track. A glass and steel shelter, a wet pavement in front of it. Early evening light. Straight-on shot from the curb at standing height, 35mm lens. Photoreal out-of-home advertising photography, cool palette.

The described poster says what the brief asked for in words the model picked, and it has no way to know the app is called Pacely. The quoted one prints **the headline the campaign signed off on**, character for character. For anything a client or a legal team has approved, the quote marks are what carry that approval into the image.

**TypeScript**:

```typescript
import { createClient } from '@runware/sdk'

const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })

const [result] = await client.run({
  model: 'bfl:flux@3.1-image',
  positivePrompt: 'A backlit advertising poster in a city bus shelter for a fitness app, with "YOUR FIRST MONTH IS ON US" in large bold white capitals across the top and "Download Pacely today" in a smaller white sans-serif beneath it, above a photo of a woman stretching on a running track. A glass and steel shelter, a wet pavement in front of it. Early evening light. Straight-on shot from the curb at standing height, 35mm lens. Photoreal out-of-home advertising photography, cool palette.',
  width: 1248,
  height: 832
})
```

**Python**:

```python
import asyncio
import os

from runware import Runware

async def main():
    async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
        results = await client.run({
            "model": "bfl:flux@3.1-image",
            "positivePrompt": "A backlit advertising poster in a city bus shelter for a fitness app, with \"YOUR FIRST MONTH IS ON US\" in large bold white capitals across the top and \"Download Pacely today\" in a smaller white sans-serif beneath it, above a photo of a woman stretching on a running track. A glass and steel shelter, a wet pavement in front of it. Early evening light. Straight-on shot from the curb at standing height, 35mm lens. Photoreal out-of-home advertising photography, cool palette.",
            "width": 1248,
            "height": 832
        })

asyncio.run(main())
```

**cURL**:

```bash
curl https://api.runware.ai/v1 \
  -H "Authorization: Bearer $RUNWARE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '[
    {
      "taskType": "imageInference",
      "taskUUID": "3b8e1f42-6a7c-4d95-b0e3-9c2f5a1d7e64",
      "model": "bfl:flux@3.1-image",
      "positivePrompt": "A backlit advertising poster in a city bus shelter for a fitness app, with \"YOUR FIRST MONTH IS ON US\" in large bold white capitals across the top and \"Download Pacely today\" in a smaller white sans-serif beneath it, above a photo of a woman stretching on a running track. A glass and steel shelter, a wet pavement in front of it. Early evening light. Straight-on shot from the curb at standing height, 35mm lens. Photoreal out-of-home advertising photography, cool palette.",
      "width": 1248,
      "height": 832
    }
  ]'
```

**CLI**:

```bash
runware run bfl:flux@3.1-image \
  positivePrompt="A backlit advertising poster in a city bus shelter for a fitness app, with \"YOUR FIRST MONTH IS ON US\" in large bold white capitals across the top and \"Download Pacely today\" in a smaller white sans-serif beneath it, above a photo of a woman stretching on a running track. A glass and steel shelter, a wet pavement in front of it. Early evening light. Straight-on shot from the curb at standing height, 35mm lens. Photoreal out-of-home advertising photography, cool palette." \
  width=1248 \
  height=832
```

**JSON**:

```json
{
  "taskType": "imageInference",
  "taskUUID": "3b8e1f42-6a7c-4d95-b0e3-9c2f5a1d7e64",
  "model": "bfl:flux@3.1-image",
  "positivePrompt": "A backlit advertising poster in a city bus shelter for a fitness app, with \"YOUR FIRST MONTH IS ON US\" in large bold white capitals across the top and \"Download Pacely today\" in a smaller white sans-serif beneath it, above a photo of a woman stretching on a running track. A glass and steel shelter, a wet pavement in front of it. Early evening light. Straight-on shot from the curb at standing height, 35mm lens. Photoreal out-of-home advertising photography, cool palette.",
  "width": 1248,
  "height": 832
}
```

### [Directing the type](https://runware.ai/docs/models/bfl-flux-3-1-image/guides/text-rendering#directing-the-type)

Quotes fix the characters. **The look of the type is a separate instruction**, and a prompt that gives only the string leaves the family, the case, the size and the placement to the model.

![A hardcover novel on a wooden shelf with the title Nine Summers North and the author Ines Calloway on its cover](https://runware.ai/docs/assets/type-loose.DQLzAYgW_Z1xqloJ.jpg)

*String only*

> **Prompt**: A hardcover novel standing upright on a pale wooden shelf with the title "Nine Summers North" and the author "Ines Calloway" on the cover. Soft daylight. Straight-on shot, 50mm lens. Photoreal product photography.

![A deep forest green hardcover with NINE SUMMERS NORTH in tall cream serif capitals on three lines across the top half, a thin gold rule beneath and INES CALLOWAY in small letterspaced capitals along the bottom](https://runware.ai/docs/assets/type-directed.C26WlRHE_21DcN3.jpg)

*Family, case, coverage and scale*

> **Prompt**: A hardcover novel standing upright on a pale wooden shelf, its cover a flat deep forest green. "NINE SUMMERS NORTH" runs across the top half of the cover in tall cream serif capitals stacked on three lines and filling the full width of the cover, a thin gold horizontal rule sits below the title, and "INES CALLOWAY" is set in small letterspaced cream capitals along the bottom edge at a fifth of the height of the title letters. Soft daylight from the left, a faint shadow on the shelf. Straight-on shot at cover height, 50mm lens, the book filling two thirds of the frame. Photoreal book cover mockup photography, muted warm palette.

A cover is a layout before it is a picture, and the directed prompt hands the model that layout as four decisions:

- **Family and case:** "tall cream serif capitals", "small letterspaced cream capitals"
- **Coverage:** "across the top half", "filling the full width of the cover"
- **Line breaks:** "stacked on three lines"
- **Scale between strings:** "at a fifth of the height of the title letters"

Scale and coverage are the two to state as **a proportion of something already in the frame**. "Large" has nothing to be large against until the model has drawn the cover, while "the full width of the cover" and "a fifth of the title" give it a measurement it can hit.

### [Laying out several strings](https://runware.ai/docs/models/bfl-flux-3-1-image/guides/text-rendering#laying-out-several-strings)

An app screen or a ticket is several strings with **a hierarchy between them**. Write them in the order they are read, place each one relative to the last, and give each its own size and weight.

![A smartphone on an oak desk showing a sleep app onboarding screen with a crescent moon, the headline Sleep better tonight, a line of body copy, a Get started button and a log-in link](https://runware.ai/docs/assets/layout-onboarding.C_IrIdeU_Z1neLNB.jpg)

*App onboarding screen*

> **Prompt**: A smartphone lying flat on a pale oak desk, its screen filling most of the frame and showing the onboarding screen of a sleep app on a deep indigo background. A small crescent moon illustration at the top, "Sleep better tonight" in large white sans-serif below it, "Two minutes of wind-down a night is enough to start." in a smaller light lavender sans-serif beneath that, a wide rounded white button reading "Get started" near the bottom, and "I already have an account" in small lavender text under the button. Soft daylight, no glare on the screen. Overhead shot, 50mm lens. Photoreal app product photography, calm cool palette.

![A printed recipe card on a marble counter reading Lemon Herb Chicken, Serves 4 · 35 minutes and a four-line ingredient list, with a sprig of thyme beside it](https://runware.ai/docs/assets/layout-recipe.B-Ln7x2T_Z1VMl7U.jpg)

*Recipe card*

> **Prompt**: A printed recipe card leaning against a glass bottle of olive oil on a white marble kitchen counter. The card reads "Lemon Herb Chicken" in a large dark green serif at the top, "Serves 4 · 35 minutes" in small gray capitals beneath it, then an ingredient list reading "4 chicken thighs", "2 lemons, sliced", "3 garlic cloves" and "1 bunch fresh thyme" in a dark sans-serif. A sprig of thyme lies on the counter beside the card. Soft window light from the left. Three-quarter view at counter height, 50mm lens, shallow depth of field. Photoreal food photography, fresh bright palette.

![An orange concert ticket on a slate table reading THE NIGHT ORCHARD, Live at Harbor Hall and 14 March · Doors 7pm, with Row F · Seat 22 on the stub](https://runware.ai/docs/assets/layout-ticket.CcAQDnc6_Z1Sgpno.jpg)

*Concert ticket*

> **Prompt**: A printed concert ticket in bright orange card lying on a dark slate table. The ticket reads "THE NIGHT ORCHARD" in bold black condensed capitals across the top, "Live at Harbor Hall" in a smaller black serif below it, "14 March · Doors 7pm" in fine black capitals in the middle, and "Row F · Seat 22" inside a black box on the perforated stub at the right end. Warm overhead light. Overhead shot, 50mm lens, the ticket running diagonally across the frame. Photoreal event photography, warm palette.

![A white A-frame sign on a lawn reading OPEN HOUSE, Sunday 1 to 4pm, 24 Linden Avenue and Willow & Pine Realty, with a gray clapboard house out of focus behind](https://runware.ai/docs/assets/layout-openhouse.CKnviLFI_1kqvAC.jpg)

*Open house sign*

> **Prompt**: A white A-frame real estate sign standing on the front lawn of a gray clapboard house. The sign reads "OPEN HOUSE" in large navy capitals at the top, "Sunday 1 to 4pm" in a smaller navy sans-serif below it, "24 Linden Avenue" beneath that, and "Willow & Pine Realty" in small navy capitals along the bottom edge. Bright afternoon sun, a soft shadow on the grass. Straight-on shot at sign height, 35mm lens, the house out of focus behind the sign. Photoreal real estate photography, fresh bright palette.

Each prompt introduces its strings **top to bottom, in reading order**, and ties each one to the string before it with "below it" or "under the button". The ticket adds a container, "inside a black box on the perforated stub", which is how a string lands in one specific part of a printed piece.

> [!WARNING]
> Accuracy drops on long text. Short strings such as a headline or a date line render reliably. A long paragraph or a full page of copy is where characters start to slip, so split long copy into short labeled strings, or keep it out of the generation and set it in your own layout.

> [!NOTE]
> `settings.mode` defaults to `quality`, the stronger of the two modes on typography. `fast` keeps the same features at a lower cost per image, so it suits drafts and volume work where small type is not the deliverable. The trade-off is covered in [fast and quality modes](https://runware.ai/docs/models/bfl-flux-3-1-image/guides/fast-and-quality-modes.md).

### [Changing copy in an existing image](https://runware.ai/docs/models/bfl-flux-3-1-image/guides/text-rendering#changing-copy-in-an-existing-image)

Send the image in `inputs.referenceImages` and name the string that changes. The new word is drawn **in the lettering of the old one**, on the same surface and under the same light, so a flavor or a date changes without the label being redesigned.

**Strawberry**:

![A jar of red jam with a gingham lid and a round kraft label reading HILLSIDE PANTRY, Strawberry in red script and Small batch · 340 g](https://runware.ai/docs/assets/edit-source.k9SuZhAJ_1qy8Tl.jpg)

> **Prompt**: A glass jar of red fruit jam with a gingham cloth lid tied with twine, standing on a pale wooden breakfast table. A round kraft paper label on the jar reads "HILLSIDE PANTRY" in small brown capitals arched along the top, "Strawberry" in a large red hand-lettered script across the middle, and "Small batch · 340 g" in fine brown capitals along the bottom. Soft morning light from the right, a short shadow to the left. Straight-on shot at jar height, 85mm lens, the jar centered. Photoreal food packaging photography, warm palette.

**Raspberry**:

![The same jar and label with the red script now reading Raspberry](https://runware.ai/docs/assets/edit-after.B5GXIcmh_1tyokE.jpg)

> **Prompt**: Change the word "Strawberry" on the label to "Raspberry" in the same red hand-lettered script, at the same size and in the same position. Keep "HILLSIDE PANTRY", "Small batch · 340 g", the label, the jar, the jam, the cloth lid, the table, the framing and the lighting unchanged.

The instruction **quotes both the old word and the new one**. A label carries three strings, and "change the flavor" would leave the model to decide which of them is the flavor. Quoting "HILLSIDE PANTRY" and "Small batch · 340 g" among the survivors pins them as firmly as the change.

Run the edit once per flavor and **one label render becomes the whole range**, with the jar and its lettering matching across every variant.

### [Translating text in place](https://runware.ai/docs/models/bfl-flux-3-1-image/guides/text-rendering#translating-text-in-place)

A translation is the same edit with **the target copy written out in the prompt**. Give the model the translated strings in quotes, and say that the lettering stays.

**English**:

![A brushed brass sign on a limestone wall reading SPA & WELLNESS, Treatments · Sauna · Pool and Open daily 7am to 10pm, beside a frosted glass door](https://runware.ai/docs/assets/translate-source.CI20Pk9n_Ztoei5.jpg)

> **Prompt**: A brushed brass sign mounted on a pale limestone wall beside a frosted glass door in a hotel corridor. The sign reads "SPA & WELLNESS" in engraved letterspaced capitals at the top, "Treatments · Sauna · Pool" in a smaller engraved serif below it, and "Open daily 7am to 10pm" in fine engraved capitals at the bottom. Warm recessed downlight from above, a soft glow on the stone. Straight-on shot at eye height, 50mm lens, the sign filling the left two thirds of the frame and the edge of the door on the right. Photoreal hospitality interior photography, warm neutral palette.

**Spanish**:

![The same brass sign now reading SPA Y BIENESTAR, Tratamientos · Sauna · Piscina and Abierto todos los días de 7:00 a 22:00 in the same engraved lettering](https://runware.ai/docs/assets/translate-after.BP6P9SS0_27AqBg.jpg)

> **Prompt**: Translate the sign into Spanish: "SPA Y BIENESTAR", "Tratamientos · Sauna · Piscina" and "Abierto todos los días de 7:00 a 22:00". Keep the same engraved brass lettering, the same fonts, the same sizes and the same line positions. Keep the door, the wall, the framing and the lighting unchanged.

Supplying the translation keeps **the wording in your hands**: the copy that ships is the copy your translator approved, and the quoting rule from the start of this guide applies to it unchanged. Write accented characters exactly as they should appear, since they are part of the string.

Plan for length. A translation often runs longer than the source, and the new copy has to fit the same plate, so **check the longest line** when the target language is wordier than the original.

**TypeScript**:

```typescript
import { createClient } from '@runware/sdk'

const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })

const [result] = await client.run({
  model: 'bfl:flux@3.1-image',
  positivePrompt: 'Translate the sign into Spanish: "SPA Y BIENESTAR", "Tratamientos · Sauna · Piscina" and "Abierto todos los días de 7:00 a 22:00". Keep the same engraved brass lettering, the same fonts, the same sizes and the same line positions. Keep the door, the wall, the framing and the lighting unchanged.',
  inputs: {
    referenceImages: [
      'https://assets.runware.ai/guides/bfl-flux-3-1-image/text-rendering/translate-source.jpg'
    ]
  },
  width: 1248,
  height: 832
})
```

**Python**:

```python
import asyncio
import os

from runware import Runware

async def main():
    async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
        results = await client.run({
            "model": "bfl:flux@3.1-image",
            "positivePrompt": "Translate the sign into Spanish: \"SPA Y BIENESTAR\", \"Tratamientos · Sauna · Piscina\" and \"Abierto todos los días de 7:00 a 22:00\". Keep the same engraved brass lettering, the same fonts, the same sizes and the same line positions. Keep the door, the wall, the framing and the lighting unchanged.",
            "inputs": {
                "referenceImages": [
                    "https://assets.runware.ai/guides/bfl-flux-3-1-image/text-rendering/translate-source.jpg"
                ]
            },
            "width": 1248,
            "height": 832
        })

asyncio.run(main())
```

**cURL**:

```bash
curl https://api.runware.ai/v1 \
  -H "Authorization: Bearer $RUNWARE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '[
    {
      "taskType": "imageInference",
      "taskUUID": "8d4f2a96-1c5b-4e73-a6d0-7b3e9f2c1a58",
      "model": "bfl:flux@3.1-image",
      "positivePrompt": "Translate the sign into Spanish: \"SPA Y BIENESTAR\", \"Tratamientos · Sauna · Piscina\" and \"Abierto todos los días de 7:00 a 22:00\". Keep the same engraved brass lettering, the same fonts, the same sizes and the same line positions. Keep the door, the wall, the framing and the lighting unchanged.",
      "inputs": {
        "referenceImages": [
          "https://assets.runware.ai/guides/bfl-flux-3-1-image/text-rendering/translate-source.jpg"
        ]
      },
      "width": 1248,
      "height": 832
    }
  ]'
```

**CLI**:

```bash
runware run bfl:flux@3.1-image \
  positivePrompt="Translate the sign into Spanish: \"SPA Y BIENESTAR\", \"Tratamientos · Sauna · Piscina\" and \"Abierto todos los días de 7:00 a 22:00\". Keep the same engraved brass lettering, the same fonts, the same sizes and the same line positions. Keep the door, the wall, the framing and the lighting unchanged." \
  inputs.referenceImages.0=https://assets.runware.ai/guides/bfl-flux-3-1-image/text-rendering/translate-source.jpg \
  width=1248 \
  height=832
```

**JSON**:

```json
{
  "taskType": "imageInference",
  "taskUUID": "8d4f2a96-1c5b-4e73-a6d0-7b3e9f2c1a58",
  "model": "bfl:flux@3.1-image",
  "positivePrompt": "Translate the sign into Spanish: \"SPA Y BIENESTAR\", \"Tratamientos · Sauna · Piscina\" and \"Abierto todos los días de 7:00 a 22:00\". Keep the same engraved brass lettering, the same fonts, the same sizes and the same line positions. Keep the door, the wall, the framing and the lighting unchanged.",
  "inputs": {
    "referenceImages": [
      "https://assets.runware.ai/guides/bfl-flux-3-1-image/text-rendering/translate-source.jpg"
    ]
  },
  "width": 1248,
  "height": 832
}
```

### [Tips for best results](https://runware.ai/docs/models/bfl-flux-3-1-image/guides/text-rendering#tips-for-best-results)

1. **Quote every string.** Anything outside quotes is a description, and the model writes its own copy to fit it.
    
2. **Keep each string short.** Headlines and labels hold. Long paragraphs are where accuracy drops, so split them or set them outside the image.
    
3. **Size type against the frame.** "The full width of the cover" and "a fifth of the title" are measurements the model can hit.
    
4. **Write strings in reading order.** Top to bottom, each placed relative to the one before it.
    
5. **Give a string a container** when it has to land in one part of the surface, such as a band or a button.
    
6. **Quote the survivors in an edit.** Name the strings that must stay as precisely as the one that changes.
    
7. **Supply your own translations.** Quote the target copy and ask for the same fonts, so the wording on the sign is the wording you approved.
    
8. **Keep the default mode for type.** `quality` is the default, and the stronger mode on small and dense type.