Text to imageOpen weights

MOSS-Image
API.

MOSS-Image is OpenMOSS's open-weight text-to-image model. It renders long English and Chinese text and takes JSON layouts that place text and objects at exact positions, at any size from 512 to 2048 pixels per side.

MOSS-Image image of a mountain landscape at sunrise
MOSS-Image sample outputOpen in the Model Explorer
  • PriceFrom $0.0179 per image
  • Typical ETA6 s
  • Made byOpenMOSS
  • Released

What it does.

Long text in images

Notes, signs, posters and whiteboards with long passages of rendered English or Chinese text.

Exact layouts

Pass a JSON layout as the prompt to place text and objects at exact pixel positions.

Any size

width and height from 512 to 2048 pixels each, default 1024×1024. A 5B-parameter single-stream diffusion transformer.

Pricing.

Published per-job prices. Prompt and seed do not change the price. All model prices

PromptUp to 0.5 MPUp to 1 MPUp to 2 MPUp to 3 MPUp to 4 MP
Up to 2,000 bytes$0.0179$0.0299$0.0584$0.0923$0.1335
Longer$0.0395$0.0548$0.0854$0.1238$0.1673

Priced per image by output size and prompt length. The 1024×1024 default bills in the 1 MP bucket. The API can return the actual cost of a completed job.

Call it from your product.

One endpoint for every job type. The response is the generated file.

export PRODIA_TOKEN=your-token-here

curl --fail-with-body --silent --show-error \
  -H "Authorization: Bearer $PRODIA_TOKEN" \
  -H 'Accept: image/jpeg' \
  --json '{
      "type": "inference.moss-image.sft.txt2img.v1",
      "config": {
        "prompt": "a chalkboard menu outside a cafe that reads \"Today: lemon tart, flat white, oat cookies\"",
        "width": 1024,
        "height": 1024
      }
    }' \
  --output image.jpg \
  https://inference.prodia.com/v2/job

API tokens require a Pro subscription. See the quickstart.

TaskJob typeTypical ETA
Text to imageinference.moss-image.sft.txt2img.v16 s

More new models.

See all models

Test MOSS-Image.
Ship it with the API.