本文へスキップ
Jev | typesafeAPI & Playground
…

Use Cases / image-object-box

Jev Image Object Box(beta)

画像入力と Box 質問は beta かつ dreamer-ready で本番非推奨。それでも「写真のどこに商品があるか?」を自由形式ビジョン散文なしで schema-safe に聞きたい。

Try a related template free on this host — 5 anonymous real-API runs with no signup — then ship the same schema with a prepaid jv_live_ key. See is Jev free? and playground.

Why Jev

Jev 1.14 では名前付き画像 assets を付け box 質問できる。モデルは単一バウンディングボックス { top, bottom, left, right } と信頼度を返す —— 描画やゲートに使える型付き出力。結果は実験的に扱う。

How to define the decision

assets: { "photo": { "type": "image", "format": "png", "data_base64": "…" } } を送り、state で `photo` を参照。質問:{ "type": "box", "instructions": "Find the primary product in photo" }。詳細は /docs/api/#box。

When to use Jev

  • 本番検出器前のビジョンゲート試作
  • 本ホストで assets + box リクエスト形の学習
  • 専用ビジョンモデルとの並列表評価

When not to use Jev

  • 本番の安全・医療・アクセス制御パイプライン
  • ピクセル完璧な定位 SLA
  • 動画や多オブジェクト検出

Failure modes and human fallback

  • Upstream or network errors: retry with backoff; do not invent a decision.
  • Low confidence: route to a human queue or safer default — never auto-act on money/destructive tools.
  • Schema drift: keep a golden fixture set in CI so label changes fail the build before production.
  • 公式:画像入力と Box 質問は beta かつ dreamer-ready、本番非推奨。
  • ライブ API 呼び出し時は前払い計量対象 —— ホームページプレビューは対象外。
  • 本番定位には専用ビジョンスタックを優先。

API example

Same prepaid jv_live_ balance as tools. Output tokens are free on this host's metering model.

curl
curl https://jevtypesafe.org/api/v1/decide \
  -H "Authorization: Bearer jv_live_YOUR_KEY_HERE" \
  -H "Content-Type: application/json" \
  -d '{"state":"Customer: I've been waiting five days for my refund.","questions":{"action":{"type":"choice","instructions":"Decide the next step","criteria":{"allow":"safe","review":"unsure","block":"unsafe"}}}}'

FAQ

Image / Box は本番対応ですか?
いいえ。画像入力と Box 質問は beta かつ dreamer-ready で、本番非推奨です。
トークンを使わず試すには?
ホームページ playground の Image · Box(beta)ローカルプレビューを開くか、計量準備ができたら jv_live_ で /api/v1/decide を呼びます。
box レスポンスの形は?
answers.<name> = { type: "box", box: { top, bottom, left, right }, confidence }。座標は正規化 0–1。

Related use cases

Ready to build?

Free anonymous tool runs, then prepaid packs and a jv_live_ key — independent host, not affiliated with TypeSafe AI.

Jev Image Object Box(beta)| Box でオブジェクトを定位