Semua model

Rmbg 3.0

bria/rmbg-3.0

Mulai cepat

# Inspect the price — a plain request returns the 402 challenge:
curl -i https://api.glianalabs.com/v1/infer \
  -H "content-type: application/json" \
  -d '{
    "model": "bria/rmbg-3.0",
    "image": "https://example.com/input.jpg"
  }'

# Pay + run in one step with the mppx CLI (create a wallet: npx mppx account create):
npx mppx https://api.glianalabs.com/v1/infer \
  -J '{"model": "bria/rmbg-3.0", "image": "https://example.com/input.jpg"}'

Parameter

Input
image string wajib

JPEG, PNG, or WEBP image, a public URL or base64-encoded image data (a `data:` URI prefix is accepted). Pass a public URL; to use a local file, upload it (free) via POST /v1/media (≤40MB) and pass the returned url.

preserve_alpha boolean opsional

Pertahankan transparansi parsial dari channel alpha input. Bila false, setiap piksel latar depan sepenuhnya buram. Bawaan true.

visual_input_content_moderation boolean opsional

Tolak permintaan bila gambar input tidak lolos moderasi konten. Bawaan false.

visual_output_content_moderation boolean opsional

Gagalkan permintaan bila hasilnya tidak lolos moderasi konten. Bawaan false.

Output