Docs
Get an API key

MOSS-Image moss-image

Text to image with legible text in English and Chinese and JSON layouts for placing text and objects, 1024x1024 by default.

From the live catalog
View .md
Image
$0.02 / megapixel
region ATL quantization bf16 Hugging Face OpenMOSS-Team/MOSS-Image-SFT

Inputs

InputAccepts
text

Parameters

Streams with stream: true.

ParameterTypeValuesDefault
sizeany
aspect_ratiostring1:1, 4:3, 3:4, 3:2, 2:3, 16:9, 9:16, 21:9, 9:211:1
resolutionstring768, 1K, 1.5K, 2K
ninteger1–41
response_formatstringurl, b64_jsonurl
seedinteger
stepsinteger20–5050
output_formatstringpng, jpeg, webppng
output_compressioninteger0–100
backgroundstringauto, opaqueauto

Endpoints

A request

curl https://api.vultrinference.com/v1/images/generations \
  -H "Authorization: Bearer $VULTR_INFERENCE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "moss-image",
    "prompt": "Studio photograph of a red ceramic teapot beside a blue cup on a wooden table.",
    "n": 1,
    "size": "1024x1024",
    "response_format": "b64_json"
  }'