Image

MOSS-Image — Text to Image

50-step MOSS-Image text-to-image across 79 stackable components.

FreeOnlineUnlimitedMOSS-Image-Base by OpenMOSS-Team API access

API reference

Submit via REST

Use your personal API key (msk_…) to create jobs for this workload from your own tools. Jobs started this way run on the same devices you connected on Your Devices — at least one has to be online.

Hide API details
POSThttps://cp.meshlabs.cloud/v1/organizations/jobs

Authenticate with X-Organization-Api-Key: msk_your_personal_api_key. The header name matches org keys; personal keys use the same endpoint.

Request body

{
  "workload_type": "moss-image-base",
  "job_spec": {
    "prompt": "A photorealistic lighthouse at dusk",
    "width": 1024,
    "height": 1024,
    "steps": 50,
    "shift": 5,
    "compression_method": "auto8",
    "compression_error_threshold": 0.01,
    "compression_hq8_block": 128
  }
}

job_spec fields

FieldRequiredDefaultDescription
promptYes—Text description of the image.
widthNo1024Output width in pixels (multiple of 16).
heightNo1024Output height in pixels (multiple of 16).
stepsNo50Denoising steps (MOSS-Image-Base is a 50-step flow-matching sampler).
seedNo—Random seed for reproducible generation.
shiftNo5Flow-match schedule shift. MOSS-Image-Base is tuned at shift 5; a schedule tuned at 512 reads as blurry at 1024 because the same sigma covers far more tokens.
compression_methodNoauto8Codec for FP32 inter-node DiT activation handoffs.
compression_error_thresholdNo0.01Relative Frobenius error budget for lossy transport.
compression_hq8_blockNo128Hadamard block size for the HQ8 and HQ4 codecs.

cURL

curl -X POST https://cp.meshlabs.cloud/v1/organizations/jobs \
  -H "X-Organization-Api-Key: msk_your_personal_api_key" \
  -H "Content-Type: application/json" \
  -d '{
  "workload_type": "moss-image-base",
  "job_spec": {
    "prompt": "A photorealistic lighthouse at dusk",
    "width": 1024,
    "height": 1024,
    "steps": 50,
    "shift": 5,
    "compression_method": "auto8",
    "compression_error_threshold": 0.01,
    "compression_hq8_block": 128
  }
}'
GEThttps://cp.meshlabs.cloud/v1/organizations/jobs/{job_id}

Poll with the same API key until status is terminal (COMPLETED, FAILED, CANCELED, or MODERATION_BLOCKED). When content moderation is enabled, jobs may start in MODERATION_PENDING before entering the compute queue. Completed jobs include presigned download_url values on each output.

Create response

{
  "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "workload_type": "moss-image-base",
  "status": "PENDING",
  "job_spec_json": {
    "prompt": "A photorealistic lighthouse at dusk",
    "width": 1024,
    "height": 1024,
    "steps": 50,
    "shift": 5,
    "compression_method": "auto8",
    "compression_error_threshold": 0.01,
    "compression_hq8_block": 128
  },
  "work_units": [],
  "outputs": [],
  "created_at": "2026-06-08T12:00:00Z",
  "updated_at": "2026-06-08T12:00:00Z"
}

Completed response

{
  "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "workload_type": "moss-image-base",
  "status": "COMPLETED",
  "job_spec_json": {
    "prompt": "A photorealistic lighthouse at dusk",
    "width": 1024,
    "height": 1024,
    "steps": 50,
    "shift": 5,
    "compression_method": "auto8",
    "compression_error_threshold": 0.01,
    "compression_hq8_block": 128
  },
  "work_units": [
    {
      "id": "…",
      "index": 0,
      "status": "COMPLETED"
    }
  ],
  "outputs": [
    {
      "id": "…",
      "output_type": "<output type>",
      "filename": "<output filename>",
      "size_bytes": 524288,
      "download_url": "<presigned output download URL>"
    }
  ],
  "created_at": "2026-06-08T12:00:00Z",
  "updated_at": "<completion timestamp>"
}

MOSS-Image-Base generates 1024x1024 images from text in 50 Euler flow-matching steps with classifier-free guidance. Sharding is deliberately fine-grained: the Qwen3.5 text encoder ships as a token-embedding table (four hidden-dim slices) plus 32 shards of one decoder layer each (~460 MB resident), and the 42-block dual-stream DiT as one block per shard (~242 MB resident). The unit size is set by the weakest device worth admitting, while the contiguous-stage packer lets a strong node absorb a long adjacent run of the pipeline — every adjacent pair placed together removes a WebRTC hop per denoise step, and a node holding all of them is simply the single-node case. Weights ship fp16 with fp32 activations; ONNX Runtime folds them back to fp32 initializers at session creation, so the fp16 bundle halves the download for identical residency and pixel-identical output.