Image
MiniT2I Image Generator
512x512 text-to-image that runs on one weak device.
MiniT2I-B/16 — Text to Image
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.
https://cp.meshlabs.cloud/v1/organizations/jobsAuthenticate with X-Organization-Api-Key: msk_your_personal_api_key. The header name matches org keys; personal keys use the same endpoint.
POST https://cp.meshlabs.cloud/v1/organizations/job-inputs/presign with the same API key, upload your file to the returned upload_url, then pass download_url in job_spec (for example as input_image_url).Request body
{
"workload_type": "minit2i-b16",
"job_spec": {
"prompt": "A photorealistic lighthouse at dusk",
"steps": 28,
"guidance_scale": 2.5,
"strength": 0.35
}
}job_spec fields
| Field | Required | Default | Description |
|---|---|---|---|
prompt | Yes | — | Text description of the image. |
input_image_url | No | — | Optional image to edit instead of starting from noise; it is centre-cropped to a square. Describe the finished picture rather than the change you want: 'a girl holding a red flower at a table' works, 'paint the flower in red' does not, because the prompt is read as a caption and never as an instruction. Leave empty to generate from text. |
steps | No | 28 | Euler steps. The default is the point where added steps stop changing the image; fewer trades detail for speed. |
guidance_scale | No | 2.5 | How strongly the image follows the prompt. |
seed | No | — | Random seed for reproducible generation. |
strength | No | 0.35 | How far from the input image to travel. Measured on this model: 0.35 keeps the subject and the scene, 0.6 keeps the composition but reinvents the subject, and 1.0 ignores the input entirely. With a mask you can safely go high, since only the white region changes. Lower is also faster, because the run skips the steps it starts past. Only used with an image to edit. |
mask_image_url | No | — | Optional mask restricting the edit: white is repainted, black is kept, grey feathers the boundary. Because this model works in pixels rather than a compressed latent, the black region comes back identical to the input rather than approximately so. Must have the same aspect ratio as the image, or the two crop differently and the mask lands in the wrong place. |
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": "minit2i-b16",
"job_spec": {
"prompt": "A photorealistic lighthouse at dusk",
"steps": 28,
"guidance_scale": 2.5,
"strength": 0.35
}
}'https://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": "minit2i-b16",
"status": "PENDING",
"job_spec_json": {
"prompt": "A photorealistic lighthouse at dusk",
"steps": 28,
"guidance_scale": 2.5,
"strength": 0.35
},
"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": "minit2i-b16",
"status": "COMPLETED",
"job_spec_json": {
"prompt": "A photorealistic lighthouse at dusk",
"steps": 28,
"guidance_scale": 2.5,
"strength": 0.35
},
"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>"
}MiniT2I-B/16 generates 512x512 images directly in pixel space — there is no VAE, so nodes can display the denoising process as it happens. The model is published as twelve small components: a token-embedding piece, six 4-layer FLAN-T5-Large groups, the DiT text preamble, and four MM-JiT block shards. Every component fits in a fraction of a gigabyte, so a single phone-class device can run the whole pipeline, while a larger cluster spreads the components across peers.