ビジョン
诺玛AI はマルチモーダルモデルのビジョンインプットにたいおうし、イメージ、スクリーンショット、ドキュメント、ビデオのないようをぶんせきできます。
たいおうモデル#
モデル
イメージ
ビデオ
せつめい
`openai/gpt-4o`
✅
—
こうひんしつなイメージぶんせき
`openai/gpt-4o-mini`
✅
—
こうそくなイメージぶんせき
`anthropic/claude-sonnet-4.6`
✅
—
つよいドキュメント・コードりかい
`google/gemini-pro-compatible-flash-lite-preview`
✅
✅
マルチモーダルのばんのうタイプ
`google/gemini-pro-compatible-pro-preview`
✅
✅
さいきょうのマルチモーダルすいろん
イメージぶんせき#
URL でイメージをおくる
cURL
コード
curl https://as.apinoma.com/v1/chat/completions \
-H "Authorization: Bearer $APINOMA_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "openai/gpt-4o",
"messages": [{
"role": "user",
"content": [
{"type": "text", "text": "この画像の内容を説明してください"},
{"type": "image_url", "image_url": {"url": "https://example.com/photo.jpg"}}
]
}]
}'Python
TypeScript
Base64 でイメージをおくる
ローカルファイルやスクリーンショットにむいています:
イメージの detail レベル#
`detail` パラメータでぶんせきのせいどをコントロールします:
あたい
せつめい
てきしたシナリオ
`auto`
じどうせんたく(デフォルト)
いっぱんてきなシナリオ
`low`
ひくいせいど、よりこうそく
シンプルなぶんるい、ラベルにんしき
`high`
たかいせいど、よりしょうさい
ドキュメント OCR、ディテールぶんせき
コード
{
"type": "image_url",
"image_url": {
"url": "https://example.com/document.jpg",
"detail": "high" # 高精度モード
}
}ふくすうイメージのひかく#
1 つのリクエストでふくすうのイメージをおくれます:
コード
response = client.chat.completions.create(
model="openai/gpt-4o",
messages=[{
"role": "user",
"content": [
{"type": "text", "text": "この2枚の画像の違いを比較してください"},
{"type": "image_url", "image_url": {"url": "https://example.com/before.jpg"}},
{"type": "image_url", "image_url": {"url": "https://example.com/after.jpg"}}
]
}]
)Anthropic プロトコルでのビジョンインプット#
コード
import anthropic
client = anthropic.Anthropic(
base_url="https://as.apinoma.com/anthropic",
api_key="<あなたの APINOMA_API_KEY>"
)
message = client.messages.create(
model="anthropic/claude-sonnet-4.6",
max_tokens=1024,
messages=[{
"role": "user",
"content": [
{
"type": "image",
"source": {
"type": "base64",
"media_type": "image/jpeg",
"data": image_data
}
},
{"type": "text", "text": "この画像を説明してください"}
]
}]
)よくあるユースケース#
- ドキュメント OCR — イメージないのテキストやテーブルをとりだす
- コードスクリーンショットぶんせき — スクリーンショットないのコードをぶんせきし、しゅうせいあんをだす
- UI レビュー — インターフェースデザインとレイアウトをぶんせきする
- チャートよみとり — データチャートとビジュアライズをぶんせきする
- プロダクトにんしき — イメージないのオブジェクトやシーンをにんしきする
さいしゅうこうしん: 2026 ねん 6 がつ 23 にち