Bria MCP by usefulapi
Generate licensed images, remove backgrounds and check job status in Bria.
使うべきか
品質と安全性
ツール定義とプロトコルへの準拠に関する自動分析に基づいています。
コンテキストコスト
これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。
インストール
ワンクリックインストール
これを `claude_desktop_config.json` ファイルに追加してください:
{
"mcpServers": {
"bria": {
"url": "https://bria.usefulapi.io/mcp"
}
}
}リモートエンドポイント
https://bria.usefulapi.io/mcpstreamable-httpできること
ツール一覧
ツール(3)
🔴bria_generate_image(prompt, aspect_ratio, resolution, style, output_type, ...)
Generate an image from a text prompt with Bria's licensed visual model. Starts an async job and returns request_id and status_url: poll bria_get_status until status is COMPLETED, then read result.image_url. Each call uses credits on the account's plan (API access needs a paid plan). Bria API: POST /v2/image/generate.
入力スキーマ
{
"type": "object",
"properties": {
"prompt": {
"type": "string",
"minLength": 1,
"description": "Text description of the image to generate."
},
"aspect_ratio": {
"description": "Output aspect ratio (default 1:1).",
"type": "string",
"enum": [
"1:1",
"2:3",
"3:2",
"3:4",
"4:3",
"4:5",
"5:4",
"9:16",
"16:9",
"16:10",
"10:16",
"2:1",
"1:2",
"21:9",
"9:21",
"3:1",
"1:3",
"4:1",
"1:4",
"5:1",
"1:5"
]
},
"resolution": {
"description": "Output size class (default 1MP).",
"type": "string",
"enum": [
"1MP",
"4MP"
]
},
"style": {
"description": "Optional visual style.",
"type": "string",
"enum": [
"kodak_film",
"hard_flash",
"hazy_dreamy",
"rough_realism"
]
},
"output_type": {
"description": "Output file format (default png).",
"type": "string",
"enum": [
"png",
"jpeg"
]
},
"seed": {
"description": "Seed for a repeatable result.",
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
}
},
"required": [
"prompt"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢bria_get_status(request_id)
Get the progress and result of an async Bria job by request_id (from bria_generate_image or bria_remove_background). When status is COMPLETED, result holds the output, such as result.image_url. Bria API: GET /v2/status/{request_id}.
入力スキーマ
{
"type": "object",
"properties": {
"request_id": {
"type": "string",
"minLength": 1,
"description": "The request_id returned by a Bria job call."
}
},
"required": [
"request_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴bria_remove_background(image, model, preserve_alpha)
Remove the background from an image and return a transparent cut-out as an async job (poll bria_get_status for result.image_url). The image is a public URL or a base64 string (JPEG, PNG or WEBP). Each call uses credits on the account's plan. Bria API: POST /v2/image/edit/remove_background.
入力スキーマ
{
"type": "object",
"properties": {
"image": {
"type": "string",
"minLength": 1,
"description": "Public image URL, or a base64-encoded image (JPEG, PNG or WEBP)."
},
"model": {
"description": "Background removal model (default RMBG2, the faster one).",
"type": "string",
"enum": [
"RMBG2",
"RMBG3"
]
},
"preserve_alpha": {
"description": "Keep the input's transparency where it exists.",
"type": "boolean"
}
},
"required": [
"image"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}コミュニティ
エビデンス