Skip to contentOceanToken

11 min read

AI Image Generator Text Rendering Compared

AI image generator text rendering compared across eight models: what each API takes, a five-step test for lettering, and when to add type after generation.

By OceanToken Team

AI Image Generator Text Rendering Compared

Editor's note: Every image model now claims it "handles text," and the claim means little without a length, a type style and a script. We would not pick a model for lettering from a vendor chart or a public board. We would freeze five prompts that climb in difficulty, run them on two or three candidates, and count where each one starts dropping letters.

Short answer: For AI image generator text rendering, a short headline is the lowest-risk text to hand a model; small print, multi-line layouts and non-Latin scripts are where letters usually break, so test those first. Run candidates on a five-step ladder with three seeds each, and add copy that must be exact, such as prices or legal lines, after generation.

We use OceanToken for this comparison because one key reaches all eight image models below, from OpenAI, Recraft, ByteDance Seed, Black Forest Labs, Microsoft, Qwen and Sourceful, through the same OpenAI-style Images endpoint, so the ladder test is one script with a changing model string. The parameters come from our docs, read November 29, 2026. We have not run the ladder ourselves for this article, so nothing below says which model letters best; it says what each one takes and how to find out. Rates are on /gpt-image-api, /recraft-api, /seedream-api and the other series pages linked below.

01 · Why AI image generator text rendering is hard

Image models do not write letters the way a font engine does. They draw shapes that look like letters, learned from pictures that contained text. A single large word is a familiar shape. A second line in a smaller size, a date in the corner, or a word in Chinese or Arabic asks the model to get many small shapes right at once, and each one is another chance for a swapped, doubled or invented glyph.

That is why a single impressive sample tells you little. A model can nail "SALE" in a hero image and still melt the subhead underneath. The useful question is not "can it write text?" but "how far up the difficulty curve does it stay correct, on my prompts, across several seeds?"

It also suggests a pattern to watch for in your own tests: failures tend to cluster in small text and in long strings. If your design has a headline and a paragraph, the model is doing two very different jobs, and it is reasonable to give it only the first one.

02 · The eight models and what their APIs take

All eight answer on POST /v1/images/generations, and a value a model does not take is refused with 400 invalid_request; our docs say the error message lists the values it does take. Here is what each model's docs entry listed on November 29, 2026:

Model id Publisher quality values Max n Max reference images Aspect ratios
openai/gpt-image-2 OpenAI low, medium, high 8 16 8, from 1:1 to 21:9
recraft/recraft-v4.1 Recraft none listed 6 1 11, from 2:1 to 1:2
recraft/recraft-v4.1-vector Recraft none listed 6 1 11, from 2:1 to 1:2
bytedance-seed/seedream-5-5 ByteDance Seed 1K, 1.5K, 2K not listed 10 17, including 21:9 and 9:21
black-forest-labs/flux-3-image Black Forest Labs 1K, 1.5K, 2K, 4K not listed 10 15, from 21:9 to 9:21
microsoft/mai-image-2.6 Microsoft none listed not listed 5 7, from 1:1 to 16:9
qwen/qwen-image-3 Qwen 1K, 2K 6 3 13, including 1:4 and 4:1
sourceful/riverflow-v2.5-pro Sourceful 1K, 2K, 4K not listed 10 8, from 1:1 to 21:9

Three columns matter specifically for text. Resolution tier: small text needs pixels, so a model that offers 2K or 4K gives fine print more room than a 1K render; whether that turns into readable letters is a test item, not a promise. n: the common advice to "generate four and pick" is one request on models that list n and a loop on the others. Reference images: if you want text to match an existing brand sheet or packaging photo, the reference limit decides how much context you can send.

Qwen Image 3 also lists a seed, and the same seed and prompt give the same image, which makes it the easiest of the eight to rerun exactly. For its other options, see the Qwen Image API guide.

03 · How vendors position these models

We stick to what our own model pages say, and we do not repeat vendor scores or leaderboard positions. Recraft V4.1 is described as tuned for high aesthetics, and Recraft V4.1 Vector as "the vector (SVG) variant" of it. Riverflow V2.5 Pro is described as the top variant of Sourceful's Riverflow 2.5 line, aimed at "quality-sensitive outputs." GPT Image 2, Seedream 5.5, FLUX 3 Image, MAI Image 2.6 and Qwen Image 3 are listed as image generation models that also take image input.

None of that is evidence about lettering on your prompts. Positioning tells you which models are worth putting on the shortlist; the ladder tells you which one to keep.

04 · Text in AI images through an API

Getting text in AI images through an API works best when the exact copy is in quotes, its position is spelled out, and the request is otherwise plain. The model only sees your prompt, so every detail you leave vague is a detail it will guess. A request for a poster looks like this on any of the eight models:

# pip install openai
import os
from openai import OpenAI

client = OpenAI(base_url="https://api.oceantoken.ai/v1",
                api_key=os.environ["OCEANTOKEN_API_KEY"])

prompt = ('Concert poster. Headline at the top in bold condensed sans-serif capitals: '
          '"NORTHERN LIGHTS". Below it, smaller: "Live at Pier 9". '
          'Bottom right: "MAY 14". High contrast, white text on a deep blue night sky. '
          'No other text.')

result = client.images.generate(model="black-forest-labs/flux-3-image",
                                prompt=prompt, size="2:3", quality="2K")
print(result.data[0].url)   # download within 24 hours

Prompt habits that help on any model, and the reason for each:

  • Quote the exact text. Unquoted words read as description, so "a sign saying welcome" may become any greeting.
  • Say where each block sits and how big it is relative to the others. "Headline three times the size of the subhead" is concrete; "eye-catching" is not.
  • Name the type style in plain words, such as "bold condensed sans-serif" or "cream serif letters," instead of "cool font."
  • Ask for high contrast between letters and background, which removes one way for edges to blur.
  • Add "no other text." Models like to fill posters with filler words, and each filler word is a chance for nonsense glyphs.
  • Spell unusual names out, or try them in capitals; whether capitals help on a given model is worth checking in your own run.

05 · Recraft vector text

Recraft V4.1 Vector is the model to try when the output has to be edited as vector art; our model page describes it as the vector (SVG) variant of Recraft V4.1. The practical attraction for lettering is that a vector output can be opened in a design tool, where letters are shapes you can fix by hand instead of pixels you have to repaint.

In the API, it takes the same fields as Recraft V4.1: the same 11 aspect ratios, n from 1 to 6, one reference image and no quality parameter. The response is the same data[].url as every other image model on our API. What we have not confirmed is the file format behind that URL for the vector model, so check the content type of the first download before you build a pipeline around SVG.

When would we reach for it? Logos, badges, icons with a word in them, and simple packaging labels, where the shapes are flat and the text is short. When would we not? Photographic scenes with signage, where a vector style changes the whole look. For those, compare a raster model on the ladder instead.

06 · Poster headline image model: a five-step ladder test

The poster headline image model worth using is the one that stays correct furthest up a ladder of difficulty on your own prompts. The ladder below is a protocol you can run in an afternoon.

Step What the image must contain Typical failure to look for
1 One word, large Swapped or missing letter
2 A short phrase, three to five words Doubled or dropped letters
3 A sign with two lines in different sizes Second line garbled
4 A poster with headline, subhead and date Small text melts or turns to fake glyphs
5 The same poster in a non-Latin script, such as Chinese or Arabic Plausible-looking glyphs that are not real characters

Run each step with three seeds or three separate generations per model. Score each image pass or fail: every letter right, nothing extra, correct case and order, placed where you asked. A model passes a step only if all three images pass. Report the highest step passed, plus how many images passed at the first failing step, for example "step 4: 1 of 3." That is more useful than an average.

Freeze the prompts before you start. Changing wording between models makes the comparison meaningless. An optional sixth step, a product label with a short ingredient list, measures small text on a real job.

Diagram: Five-step ladder test for text in generated images

Count cost per correct image, not per image. If one model passes step 4 on the first try and another needs four tries, the cheaper-per-image model can cost more in practice. Billing units also differ across these models (our docs say image models are charged per image, per megapixel or per token), so compute the per-correct-image number from your own run, using the x-oceantoken-cost header on each response.

07 · Language and script notes

Short English headlines are usually the easiest case to test. Other scripts deserve their own run. Chinese characters with many strokes can turn into convincing nonsense, and right-to-left scripts like Arabic add letter joining, which changes each letter's shape by position. A model that does well on Chinese may not do well on Arabic, and vice versa.

If your audience reads a non-Latin script, put step 5 first, not last. It is the step most likely to rule a model out, and there is no point tuning English prompts on a model that cannot write the language you ship in.

08 · When not to let the model write text

If text must be exactly right, render it in code or a design tool and use the model for the picture only. That covers prices, legal copy, dates on a ticket, QR codes and anything a customer might rely on. The pattern is simple: ask the model for a background with clear empty space where the text will go ("leave the top third empty, plain sky"), then lay the type on top with your layout engine.

This is how we handle text on our own blog covers: the picture and the words come from separate steps, so the words are always spelled correctly. It costs one extra step and removes a whole category of retries.

There is a middle path when a generated image is nearly right. Models that take a reference image can be asked to change one text block; for masked edits, see our guide to GPT Image editing with masks. For a single code path across these models, including retries that do not bill twice, see our image generation API guide in Python. Text in video is a different problem; for that, see on-screen text and subtitles in Seedance.

Diagram: Let the model write it, or add type afterwards

09 · Which model to put on the shortlist

Without our own ladder results, we can only map jobs to models by what their APIs and pages say. This is the shortlist we would start from, and the reason for each.

Your job Start the ladder with Why
Logos, badges, labels you will edit by hand recraft/recraft-v4.1-vector Described as the vector (SVG) variant
Posters and print where small text needs pixels black-forest-labs/flux-3-image, sourceful/riverflow-v2.5-pro Both list a 4K tier
Many variants per prompt to pick from openai/gpt-image-2, qwen/qwen-image-3 List n above 1
Matching an existing brand sheet or packaging openai/gpt-image-2, bytedance-seed/seedream-5-5 Take many reference images
Exact reruns for regression tests qwen/qwen-image-3 Lists seed
Copy that must be exact Any model for the picture, type added afterwards Removes spelling risk

How to test this on your workload

We have not run these prompts on the eight models, so this is the test plan we would follow:

  1. Write the five ladder prompts (plus the optional label step) and freeze them.
  2. Pick three models from the shortlist table for your job.
  3. Generate three images per step per model at the same aspect ratio and the highest quality tier each model lists.
  4. Score pass or fail per image with the rules in section 06, and record the highest step each model passes.
  5. Record x-oceantoken-cost for each image and work out cost per correct image.
  6. Rerun step 4 at a lower quality tier to see whether resolution changes small-text results.
  7. Download one image from recraft/recraft-v4.1-vector and check the file format.
  8. Send one value a model does not take and read the 400 message, so your code can handle it.

Our take: Let the model write short headlines, test it on the ladder before trusting it with anything smaller, and add exact copy afterwards. That habit makes the choice of model less risky, because the text that has to be right is never left to chance.

Running it on OceanToken

From our docs, as of November 29, 2026:

  • One key for eight image models. All of them answer on https://api.oceantoken.ai/v1/images/generations with the OpenAI SDK; switching is a change of model.
  • Clear errors. A value a model does not take returns 400 invalid_request with the values it accepts.
  • Cost per image in the response. The x-oceantoken-cost header shows what each image cost, which is what a cost-per-correct-image comparison needs.

Price: see the current rate on /gpt-image-api, /recraft-api, /seedream-api, /flux-api, /mai-image-api, /qwen-image-api and the Riverflow V2.5 Pro model page.

FAQ

Which AI image model writes text most accurately? We have not measured it, and vendor claims are not comparable. Run the five-step ladder on two or three candidates with your own prompts.

Can image models write Chinese or Arabic text? Some can, but results vary more than for English. Test step 5 first if you ship in those scripts.

Does Recraft's vector model return SVG? Its page describes it as the vector (SVG) variant. Check the format of the file behind data[].url before relying on it.

Is adding text after generation cheating? No. It is standard practice for anything that must be exact, and it saves retries.

Why does my image request return 400? Usually a quality, size, count or reference number the model does not take. The error message lists the accepted values.

Sources

  1. OceanToken docs: Images  (checked 2026-11-29)
  2. OceanToken docs: GPT Image 2 model spec  (checked 2026-11-29)
  3. OceanToken docs: Recraft V4.1 Vector model spec  (checked 2026-11-29)
  4. OceanToken docs: FLUX 3 Image model spec  (checked 2026-11-29)
  5. OceanToken docs: Qwen Image 3 model spec  (checked 2026-11-29)
  6. Riverflow V2.5 Pro model page (checked 2026-11-29)

Get your OceanToken API key

  1. Create an OceanToken account and an API key.
  2. Copy the snippet below, paste your key, and run it.
  3. Check the current rate on /recraft-api.
curl https://api.oceantoken.ai/v1/images/generations \
  -H "Authorization: Bearer $OCEANTOKEN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "recraft/recraft-v4.1-vector", "prompt": "Round badge with the word \"HARBOR\" in bold capitals, flat two-color design, no other text", "size": "1:1"}'

Get API Key 

  • Recraft
  • AI image
  • Compare
  1. 12 min read

    HappyHorse 1.1 vs Wan 3.0 Prime by Job

    HappyHorse 1.1 vs Wan 3.0 Prime on one video API: durations, aspect ratios, seed, sound, first and last frames and reference limits, and which job goes where.

    • Wan
    • HappyHorse
    • Compare
  2. 13 min read

    Voyage Code 4 vs Codestral Embed for Code

    Voyage Code 4 vs Codestral Embed for code search and repository RAG: context windows, chunking, the parameters that reach each model, and a recall test to run.

    • Voyage
    • Compare
  3. 12 min read

    JSON Schema Output on Chinese LLM APIs

    JSON schema output on Chinese LLM APIs: which response_format DeepSeek, Qwen, GLM, MiniMax and Kimi accept, the Kimi K3 gotcha, and Python that fails loudly.

    • Kimi
    • DeepSeek
    • LLM API
    • Compare