/ Каталог / Песочница / bria-skill
● Сообщество Bria-AI ⚡ Сразу

bria-skill

автор Bria-AI · Bria-AI/bria-skill

Commercial-grade image generation + editing: 18+ capabilities including object replace, background remove (RMBG-2.0), upscale, restyle, relight, product photography — 37+ agent compatibility.

Bria skill wraps Bria AI's commercial-safe image stack (Fibo, RMBG-2.0, VGL structured prompts) for AI coding agents. Covers text-to-image, object-level editing (replace/remove by name), background removal to transparent PNG, 2x/4x upscaling, relighting, restyling, and product photography. Pipeline chaining lets you compose ops. Free tier available.

Зачем использовать

Ключевые функции

Живое демо

Как выглядит на практике

bria-skill.replay ▶ готово
0/0

Установка

Выберите клиент

~/Library/Application Support/Claude/claude_desktop_config.json  · Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "bria-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/Bria-AI/bria-skill",
        "~/.claude/skills/bria-skill"
      ],
      "_inferred": true
    }
  }
}

Откройте Claude Desktop → Settings → Developer → Edit Config. Перезапустите после сохранения.

~/.cursor/mcp.json · .cursor/mcp.json
{
  "mcpServers": {
    "bria-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/Bria-AI/bria-skill",
        "~/.claude/skills/bria-skill"
      ],
      "_inferred": true
    }
  }
}

Cursor использует ту же схему mcpServers, что и Claude Desktop. Конфиг проекта приоритетнее глобального.

VS Code → Cline → MCP Servers → Edit
{
  "mcpServers": {
    "bria-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/Bria-AI/bria-skill",
        "~/.claude/skills/bria-skill"
      ],
      "_inferred": true
    }
  }
}

Щёлкните значок MCP Servers на боковой панели Cline, затем "Edit Configuration".

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "bria-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/Bria-AI/bria-skill",
        "~/.claude/skills/bria-skill"
      ],
      "_inferred": true
    }
  }
}

Тот же формат, что и Claude Desktop. Перезапустите Windsurf для применения.

~/.continue/config.json
{
  "mcpServers": [
    {
      "name": "bria-skill",
      "command": "git",
      "args": [
        "clone",
        "https://github.com/Bria-AI/bria-skill",
        "~/.claude/skills/bria-skill"
      ]
    }
  ]
}

Continue использует массив объектов серверов, а не map.

~/.config/zed/settings.json
{
  "context_servers": {
    "bria-skill": {
      "command": {
        "path": "git",
        "args": [
          "clone",
          "https://github.com/Bria-AI/bria-skill",
          "~/.claude/skills/bria-skill"
        ]
      }
    }
  }
}

Добавьте в context_servers. Zed перезагружается автоматически.

claude mcp add bria-skill -- git clone https://github.com/Bria-AI/bria-skill ~/.claude/skills/bria-skill

Однострочная команда. Проверить: claude mcp list. Удалить: claude mcp remove.

Сценарии использования

Реальные сценарии: bria-skill

Turn a phone-shot product photo into a studio-quality listing image

👤 E-commerce teams without a photo budget ⏱ ~30 min beginner

Когда использовать: You have a product photo but it needs studio treatment.

Предварительные требования
  • Bria API key — Sign up at platform.bria.ai; free tier available
  • Skill installed — npx skills add bria-ai/bria-skill OR clone directly
Поток
  1. Remove background
    Use bria-skill RMBG-2.0 on product.jpg — clean transparent PNG.✓ Скопировано
    → Transparent PNG returned
  2. Relight + restyle
    Composite onto a soft-gradient background, three-quarter lighting, subtle shadow.✓ Скопировано
    → Studio-grade output
  3. Upscale for hero
    Upscale 2x for the product page hero.✓ Скопировано
    → High-res final

Итог: Listing-ready hero image in minutes.

Подводные камни
  • Over-editing kills the real product — Keep changes subtle; customers spot over-smoothing

Replace or remove an object in an image by name

👤 Marketers iterating on creatives ⏱ ~10 min beginner

Когда использовать: You have an image but one element is wrong.

Поток
  1. Describe the edit
    In scene.jpg, replace the coffee mug on the desk with a water bottle.✓ Скопировано
    → Edit applied; surrounding context preserved

Итог: Clean edit that doesn't look photoshopped.

Подводные камни
  • Ambiguous object references ('the blue thing') — Be specific — 'the mug in the lower-left'

Adjust lighting / season for a campaign variant

👤 Content teams refreshing campaigns ⏱ ~20 min intermediate

Когда использовать: Existing campaign shot; need a winter variant without a reshoot.

Поток
  1. Relight
    Take campaign.jpg; change lighting to golden-hour low-angle.✓ Скопировано
    → Lighting shifted convincingly
  2. Seasonal touches
    Add subtle snow / winter atmosphere without changing the subject.✓ Скопировано
    → Seasonal variant

Итог: Campaign variant shipped in one chat.

Комбинации

Сочетайте с другими MCP — эффект x10

Generate novel visuals with the other skill, then refine edits with Bria's deterministic ops

Generate with Nano Banana; run bria remove_background + relight.✓ Скопировано
bria-skill + filesystem

Batch over a directory of product shots

Run the product-photography pipeline on every jpg in products/.✓ Скопировано

Инструменты

Что предоставляет этот MCP

ИнструментВходные данныеКогда вызыватьСтоимость
text_to_image prompt (VGL structured ok) New visual Bria credits
remove_background image Need cutout Bria credits
object_replace image, target name, replacement Change specific item Bria credits
upscale image, factor (2x|4x) Before print / hero Bria credits
restyle image, style ref Campaign variants Bria credits
relight image, lighting descriptor Atmosphere change Bria credits
pipeline ordered ops Multi-step edits Sum of ops

Стоимость и лимиты

Во что обходится

Квота API
Bria free tier + paid credits
Токенов на вызов
Low orchestration; Bria cost dominates
Деньги
Free tier generous for small tests; paid for production
Совет
Pipeline ops efficiently — remove_background + upscale in one chain amortizes setup

Безопасность

Права, секреты, радиус поражения

Хранение учётных данных: BRIA_API_KEY in env
Исходящий трафик: Images go to platform.bria.ai

Устранение неполадок

Частые ошибки и исправления

Object replace misses the target

Be more specific in the target description; add position hints

RMBG artifacts on fine hair / fur

Use a refine pass or second model specialized for hair

401

BRIA_API_KEY missing/expired

Проверить: curl -H 'api-token: $BRIA_API_KEY' https://engine.prod.bria-api.com/v1/account

Альтернативы

bria-skill в сравнении

АльтернативаКогда использоватьКомпромисс
Ultimate AI Media GeneratorYou want multi-model generation more than clean editing primitivesLess commercial-safe by default

Ещё

Ресурсы

📖 Читать официальный README на GitHub

🐙 Открытые задачи

🔍 Все 400+ MCP-серверов и Skills