Bria MCP by usefulapi
Generate licensed images, remove backgrounds and check job status in Bria.
Sollte ich dies verwenden
Qualität und Sicherheit
Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.
Kontextkosten
Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.
Installieren
Installation mit einem Klick
Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:
{
"mcpServers": {
"bria": {
"url": "https://bria.usefulapi.io/mcp"
}
}
}Remote-Endpunkte
https://bria.usefulapi.io/mcpstreamable-httpWas es kann
Tool-Inventar
Tools (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.
Eingabe-Schema
{
"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}.
Eingabe-Schema
{
"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.
Eingabe-Schema
{
"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"
}Community
Nachweis