이미지

FLUX.2 이미지 생성기

프롬프트를 입력하고 그림을 다운로드하세요. 연결한 기기에서 무료로 텍스트를 이미지로 만들어 보세요.

FLUX.2 klein by Black Forest Labs

FLUX.2 klein by Black Forest Labs; Qwen3 by Alibaba Cloud

모델 라이선스

FLUX.2 klein 4B fifteen-stage transformer · Apache-2.0

Retain full Apache-2.0 terms and copyright notices, mark modifications; patent termination and trademark limitations apply.

포함된 라이선스

고지

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

무료온라인무제한FLUX.2 klein by Black Forest Labs 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": "flux-2-klein-4b-t2i",
  "job_spec": {
    "prompt": "A photorealistic lighthouse at dusk",
    "width": 512,
    "height": 512,
    "strength": 0.8,
    "numSteps": 4,
    "compression_method": "fp16",
    "compression_error_threshold": 0.05,
    "compression_hq8_block": 128
  }
}

job_spec 필드

필드필수기본값설명
prompt예—이미지 생성용 텍스트 프롬프트
input_image_url아니요—이미지 편집(img2img)을 위한 선택적 입력 이미지입니다. 설정하면 이미지가 VAE로 인코딩되어 'strength'만큼 노이즈와 섞이고, 프롬프트는 원하는 편집 내용을 설명합니다.
width아니요512출력 이미지 너비(픽셀)
height아니요512출력 이미지 높이(픽셀)
seed아니요—재현을 위한 랜덤 시드
strength아니요0.8img2img 노이즈 비율: 0.3 = 가벼운 보정, 0.8 = 대폭 편집, 1.0 = 입력 이미지 무시. input_image_url과 함께 사용할 때만 적용됩니다.
numSteps아니요4디노이징 단계 수(FLUX.2-klein 기본값: 4)
num_steps아니요—Snake-case alias of numSteps. Omit it and numSteps is what runs.
compression_method아니요fp16DiT 샤드 간 활성화 전달에 사용하는 코덱입니다. 'off'는 원시 Float32를 보냅니다. hq8/hq4 = Hadamard 양자화, stp = 저랭크, fp16 = 반정밀도, auto8 = 최적 선택 라우터. codec_ms / transport_savings_pct 작업 지표로 보고됩니다.
compression_error_threshold아니요0.05손실 코덱을 위한 상대 Frobenius 오차 예산입니다(0.01 엄격 … 0.05 관대).
compression_hq8_block아니요128HQ8/HQ4를 위한 Hadamard/양자화 블록 크기입니다(2의 거듭제곱). 작을수록 오차가 낮습니다.

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": "flux-2-klein-4b-t2i",
  "job_spec": {
    "prompt": "A photorealistic lighthouse at dusk",
    "width": 512,
    "height": 512,
    "strength": 0.8,
    "numSteps": 4,
    "compression_method": "fp16",
    "compression_error_threshold": 0.05,
    "compression_hq8_block": 128
  }
}'
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": "flux-2-klein-4b-t2i",
  "status": "PENDING",
  "job_spec_json": {
    "prompt": "A photorealistic lighthouse at dusk",
    "width": 512,
    "height": 512,
    "strength": 0.8,
    "numSteps": 4,
    "compression_method": "fp16",
    "compression_error_threshold": 0.05,
    "compression_hq8_block": 128
  },
  "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": "flux-2-klein-4b-t2i",
  "status": "COMPLETED",
  "job_spec_json": {
    "prompt": "A photorealistic lighthouse at dusk",
    "width": 512,
    "height": 512,
    "strength": 0.8,
    "numSteps": 4,
    "compression_method": "fp16",
    "compression_error_threshold": 0.05,
    "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>"
}

프롬프트를 입력하고 그림을 다운로드하세요. FLUX.2 Klein은 연결한 기기에서 실행되는 무료 온라인 텍스트-이미지 모델입니다. 처음 실행할 때는 모델을 내려받으며, 이후 그림은 더 빠르게 시작됩니다. 빈 프롬프트에서 시작하는 생성기이며 지시문 기반 편집기가 아닙니다.