תמונה

מחולל תמונות Bonsai

הקלידו הנחיה וקבלו PNG — המרת טקסט לתמונה קומפקטית של Bonsai Image ב-1 ביט, במכשירים שחיברתם.

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. שם הכותרת זהה למפתחות ארגון; מפתחות אישיים משתמשים באותה נקודת קצה.

קובצי קלט:קראו ל־POST https://cp.meshlabs.cloud/v1/organizations/job-inputs/presign עם אותו מפתח API, העלו את הקובץ ל־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לא—Seed אקראי ליצירה ניתנת לשחזור.
shiftלא3הזזת לוח flow-match. המודל תוכנן ל-3.0.
compression_methodלאfp16קודק להעברת הפעלות DiT ב-FP32 בין צמתים.

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 לפני שהן נכנסות לתור המחשוב. עבודות שהושלמו כוללות ערכי download_url חתומים מראש בכל פלט.

תגובת יצירה

{
  "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"
}

תגובת השלמה

{
  "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 הוא מחולל תמונות חינמי אונליין להמרת טקסט לתמונה: מודל קומפקטי של FLUX.2 Klein 4B ב-1 ביט שהופך תיאורים בשפה טבעית לתמונות בארבעה צעדים, ללא הגבלה, במחשבים שחיברתם ל-MESH. הגודל המקורי הוא 1024×1024; 512×512 הוא תצוגה מקדימה מהירה יותר. אין צורך בהנחיות שליליות.