infery
← All models

MOSS Image

moss-image

Image generationby Moss Image

MOSS-Image-SFT is a text-to-image model specializing in Chinese and English text rendering and structured layout control for precise text placement and object arrangement.

images

Details

Accepts
text

Pricing

Price
6.25 cr / megapixel

Prices in credits (1 credit = $0.01).

Data schema

Input

FieldTypeDescription
seed—Random seed for reproducible generation.
promptrequiredstringText prompt for image generation. Supports natural language, tag sequences, and JSON layouts.
sync_modebooleanReturn images as data URIs instead of storing them in request history.
image_size—Output image size. Width and height are rounded to multiples of 16 between 512 and 2048 pixels.
num_imagesintegerNumber of images to generate.
output_formatstringenum: jpeg, png, webpOutput image format.
guidance_scalenumberClassifier-free guidance scale.
negative_promptstringNegative prompt. When empty, guidance uses transformer layer skipping for the negative branch.
num_inference_stepsintegerNumber of denoising steps.
enable_safety_checkerbooleanEnable output content moderation. Disabling it requires account authorization; unauthorized requests are always checked, and images flagged as unsafe are returned as black images.
enable_prompt_expansionbooleanPlan a structured layout from your prompt before generation. Preserves requested visible text and uses the selected image dimensions. If enhancement is unavailable, uses the original prompt.

Output

FieldTypeDescription
seedintegerSeed used for the first generated image.
imagesarrayGenerated images.
actual_prompt—Expanded prompt used for generation, when enhancement succeeds.
has_nsfw_conceptsarrayWhether each generated image contains unsafe content.