इमेज

Bonsai इमेज जनरेटर

प्रॉम्प्ट लिखें और PNG पाएँ — आपके जोड़े गए डिवाइस पर कॉम्पैक्ट 1-बिट Bonsai Image टेक्स्ट-टू-इमेज।

Bonsai Image by Prism ML; FLUX.2 klein by Black Forest Labs; Qwen3 by Alibaba Cloud

मॉडल लाइसेंस

Prism ML Bonsai Image binary DiT · Apache-2.0

Retain complete Apache-2.0 licence, upstream copyright and NOTICE texts; prominently identify modified files. Patent termination and trademark limitations apply. Prism ML requests public attribution, preserved here and in the catalog.

वितरित लाइसेंस

सूचना

FLUX.2 klein VAE and shared pipeline/tokenizer derivatives · Apache-2.0

Retain complete Apache-2.0 licence, upstream copyright and NOTICE texts; prominently identify modified files. Patent termination and trademark limitations apply.

Qwen3-4B text encoder distributed by FLUX.2 klein · Apache-2.0

मुफ़्तऑनलाइनअसीमितBonsai Image by Prism ML; FLUX.2 klein by Black Forest Labs; Qwen3 by Alibaba Cl API पहुँच

API संदर्भ

REST से सबमिट करें

अपने टूल से इस वर्कलोड के लिए जॉब बनाने हेतु अपनी व्यक्तिगत API कुंजी (msk_…) का उपयोग करें। इस तरह शुरू किए गए जॉब उन्हीं डिवाइस पर चलते हैं जिन्हें आपने आपके डिवाइस पर कनेक्ट किया है — कम से कम एक का ऑनलाइन होना ज़रूरी है।

API विवरण छिपाएँ
POSThttps://cp.meshlabs.cloud/v1/organizations/jobs

X-Organization-Api-Key: msk_your_personal_api_key से प्रमाणित करें। हेडर का नाम ऑर्ग कुंजियों जैसा ही है; व्यक्तिगत कुंजियाँ उसी एंडपॉइंट का उपयोग करती हैं।

इनपुट फ़ाइलें:उसी API कुंजी से POST https://cp.meshlabs.cloud/v1/organizations/job-inputs/presign को कॉल करें, लौटाए गए upload_url पर अपनी फ़ाइल अपलोड करें, फिर download_url को job_spec में पास करें (उदाहरण के लिए input_image_url के रूप में)।

अनुरोध बॉडी

{
  "workload_type": "bonsai-image-binary-4b",
  "job_spec": {
    "prompt": "A photorealistic lighthouse at dusk",
    "width": 1024,
    "height": 1024,
    "strength": 0.8,
    "steps": 4,
    "shift": 3,
    "compression_method": "fp16"
  }
}

job_spec फ़ील्ड

फ़ील्डआवश्यकडिफ़ॉल्टविवरण
promptहाँ—इमेज का टेक्स्ट विवरण।
input_image_urlनहीं—Optional input image for image editing (img2img). When set, the image is VAE-encoded and mixed with noise by 'strength'; the prompt describes the desired edit.
widthनहीं1024पिक्सेल में आउटपुट की चौड़ाई (16 का गुणज)।
heightनहीं1024पिक्सेल में आउटपुट की ऊँचाई (16 का गुणज)।
strengthनहीं0.8img2img noise fraction: 0.3 = light touch-up, 0.8 = heavy edit, 1.0 = ignore the input image. Only used with input_image_url.
stepsनहीं4डीनॉइज़िंग स्टेप (Bonsai Image को 4 तक डिस्टिल किया गया है)।
seedनहीं—दोहराए जा सकने वाले जनरेशन के लिए रैंडम सीड।
shiftनहीं3फ़्लो-मैच शेड्यूल शिफ़्ट। मॉडल 3.0 के लिए बनाया गया है।
compression_methodनहींfp16नोड-से-नोड FP32 DiT एक्टिवेशन हस्तांतरण के लिए कोडेक।

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": "bonsai-image-binary-4b",
  "job_spec": {
    "prompt": "A photorealistic lighthouse at dusk",
    "width": 1024,
    "height": 1024,
    "strength": 0.8,
    "steps": 4,
    "shift": 3,
    "compression_method": "fp16"
  }
}'
GEThttps://cp.meshlabs.cloud/v1/organizations/jobs/{job_id}

उसी API कुंजी से तब तक पोल करें जब तक status अंतिम स्थिति (COMPLETED, FAILED, CANCELED या MODERATION_BLOCKED) में न पहुँच जाए। जब सामग्री मॉडरेशन सक्षम होता है, तो कंप्यूट कतार में जाने से पहले जॉब MODERATION_PENDING में शुरू हो सकते हैं। पूरे हुए जॉब में हर आउटपुट पर presigned download_url मान होते हैं।

Create प्रतिक्रिया

{
  "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "workload_type": "bonsai-image-binary-4b",
  "status": "PENDING",
  "job_spec_json": {
    "prompt": "A photorealistic lighthouse at dusk",
    "width": 1024,
    "height": 1024,
    "strength": 0.8,
    "steps": 4,
    "shift": 3,
    "compression_method": "fp16"
  },
  "work_units": [],
  "outputs": [],
  "created_at": "2026-06-08T12:00:00Z",
  "updated_at": "2026-06-08T12:00:00Z"
}

Completed प्रतिक्रिया

{
  "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "workload_type": "bonsai-image-binary-4b",
  "status": "COMPLETED",
  "job_spec_json": {
    "prompt": "A photorealistic lighthouse at dusk",
    "width": 1024,
    "height": 1024,
    "strength": 0.8,
    "steps": 4,
    "shift": 3,
    "compression_method": "fp16"
  },
  "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>"
}

टेक्स्ट प्रॉम्प्ट लिखें और बनी हुई PNG डाउनलोड करें। Bonsai Image एक निःशुल्क ऑनलाइन टेक्स्ट-टू-इमेज जनरेटर है: एक कॉम्पैक्ट 1-बिट FLUX.2 Klein 4B मॉडल जो सामान्य भाषा के विवरण को चार चरणों में तस्वीरों में बदलता है और MESH से जुड़े आपके कंप्यूटरों पर असीमित चलता है। मूल आकार 1024×1024 है; 512×512 तेज़ प्रीव्यू है। नेगेटिव प्रॉम्प्ट की ज़रूरत नहीं है।