이미지

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에 파일을 업로드한 다음, job_spec에 download_url을(를) 전달하세요(예: 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}

status이(가) 최종 상태(COMPLETED, FAILED, CANCELED 또는 MODERATION_BLOCKED)가 될 때까지 같은 API 키로 폴링하세요. 콘텐츠 검토가 활성화된 경우, 작업은 컴퓨팅 대기열에 들어가기 전에 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는 무료 온라인 텍스트-이미지 생성기로, 컴팩트한 1비트 FLUX.2 Klein 4B 모델이 자연어 설명을 4단계 만에 그림으로 바꿔 주며, MESH에 연결한 컴퓨터에서 무제한으로 실행됩니다. 기본 크기는 1024×1024이고 512×512는 더 빠른 미리보기입니다. 네거티브 프롬프트는 필요하지 않습니다.