[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75GMJR9P9KZHN8VE4DM3XED":3,"skill-same:01M75GMJR9P9KZHN8VE4DM3XED":56},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":33,"commitSha":34,"skillDirectory":35,"forksCount":36,"repositoryHtmlUrl":37,"repositoryHomepageUrl":6,"ownerHtmlUrl":38,"ownerBlogUrl":39,"ownerDescription":40,"updatedAt":41,"install":42,"resources":55},"01M75GMJR9P9KZHN8VE4DM3XED","bria-ai",null,"Generate, edit, and transform images with commercially-safe AI models. Create images from text, edit by natural language instruction, remove backgrounds (transparent PNG), replace backgrounds, add\u002Freplace\u002Fremove objects, inpaint, outpaint, upscale (2x\u002F4x), enhance quality, restyle (oil painting, anime, 3D), relight, reseason, restore old photos, colorize, sketch to photo, and product lifestyle shots. Use for websites, apps, presentations needing hero images, banners, product photos, product placement in scenes, icons, illustrations, or backgrounds. Also for e-commerce photography, batch generation, and pipelines. Triggers are image generation, generate\u002Fcreate image, edit photo, remove background, transparent PNG, replace background, product shot, lifestyle scenes, upscale, style transfer, photo restoration, colorize, sketch to image, outpaint, inpaint, cut out subject, integrate products into scene.","javimosch\u002Fopen-claw-skills","javimosch","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F12900508?v=4","01M6D3F2AS6PV75ET9PZ1QGP8J","Javier Leandro Arancibia","01M75B8NCTAJG9WH5YNZH7C3D8",0,"MIT","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fgalbria\u002Fbria-ai\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: bria-ai\ndescription: Generate, edit, and transform images with commercially-safe AI models. Create images from text, edit by natural language instruction, remove backgrounds (transparent PNG), replace backgrounds, add\u002Freplace\u002Fremove objects, inpaint, outpaint, upscale (2x\u002F4x), enhance quality, restyle (oil painting, anime, 3D), relight, reseason, restore old photos, colorize, sketch to photo, and product lifestyle shots. Use for websites, apps, presentations needing hero images, banners, product photos, product placement in scenes, icons, illustrations, or backgrounds. Also for e-commerce photography, batch generation, and pipelines. Triggers are image generation, generate\u002Fcreate image, edit photo, remove background, transparent PNG, replace background, product shot, lifestyle scenes, upscale, style transfer, photo restoration, colorize, sketch to image, outpaint, inpaint, cut out subject, integrate products into scene.\nlicense: MIT\nmetadata:\n  author: Bria AI\n  version: \"1.2.6\"\n  openclaw:\n    requires:\n      env:\n        - BRIA_API_KEY\n      bins:\n        - curl\n    primaryEnv: BRIA_API_KEY\n---\n\n# Bria — Generate, Edit & Remove Background from Images with AI\n\nGenerate, edit, and create visual assets using Bria's commercially-safe AI models (Fibo, Fibo-Edit,  RMBG-2.0, GenFill, and more). Remove or replace backgrounds, create product lifestyle shots, generate transparent PNGs, batch generate images, and build pipeline workflows. Unlike black-box generators, Bria gives you fine-grained control: edit by text instruction, mask specific regions, add\u002Freplace\u002Fremove individual objects, change lighting or season independently.\n\n## Setup — API Key Check\n\nBefore making any Bria API call, check for the API key and help the user set it up if missing:\n\n### Step 1: Check if the key exists (without printing the key)\n\n```bash\nif [ -z \"$BRIA_API_KEY\" ]; then\n  echo \"BRIA_API_KEY is not set\"\nelse\n  echo \"BRIA_API_KEY is set\"\nfi\n```\n\nIf the output is **not empty**, skip to the next section.\n\n### Step 2: If the key is missing, guide the user\n\nTell the user exactly this:\n> To use image generation, you need a free Bria API key.\n>\n> 1. Go to https:\u002F\u002Fplatform.bria.ai\u002Fconsole\u002Faccount\u002Fapi-keys\n> 2. Sign up or log in\n> 3. Click **Create API Key**\n\nWait for the user to provide their API key. Do not proceed until they give you the key.\n\n**Do not proceed with any image generation or editing until the API key is confirmed set.**\n\n---\n\n## Core Capabilities\n\n| Need | Capability | Use Case |\n|------|------------|----------|\n| Generate images from text | FIBO Generate | Hero images, product shots, illustrations, social media images, banners |\n| Edit images by text instruction | FIBO-Edit | Change colors, modify objects, transform scenes |\n| Edit image region with mask | GenFill\u002FErase | Precise inpainting, add\u002Freplace specific regions |\n| Add\u002FReplace\u002FRemove objects | Text-based editing | Add vase, replace apple with pear, remove table |\n| Remove background (transparent PNG) | RMBG-2.0 | Extract subjects for overlays, logos, cutouts |\n| Replace\u002Fblur\u002Ferase background | Background ops | Change, blur, or remove backgrounds |\n| Expand\u002Foutpaint images | Outpainting | Extend boundaries, change aspect ratios |\n| Upscale image resolution | Super Resolution | Increase resolution 2x or 4x |\n| Enhance image quality | Enhancement | Improve lighting, colors, details |\n| Restyle images | Restyle | Oil painting, anime, cartoon, 3D render |\n| Change lighting | Relight | Golden hour, spotlight, dramatic lighting |\n| Change season | Reseason | Spring, summer, autumn, winter |\n| Composite\u002Fblend images | Image Blending | Apply textures, logos, merge images |\n| Restore old photos | Restoration | Fix old\u002Fdamaged photos |\n| Colorize images | Colorization | Add color to B&W, or convert to B&W |\n| Sketch to photo | Sketch2Image | Convert drawings to realistic photos |\n| Create product lifestyle shots | Lifestyle Shot | Place products in scenes for e-commerce |\n| Integrate products into scenes | Product Integrate | Embed products at exact coordinates |\n\n## Quick Reference\n\n### Generate an Image (FIBO)\n\n```bash\ncurl -X POST \"https:\u002F\u002Fengine.prod.bria-api.com\u002Fv2\u002Fimage\u002Fgenerate\" \\\n  -H \"api_token: $BRIA_API_KEY\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -H \"User-Agent: BriaSkills\u002F1.2.6\" \\\n  -d '{\n    \"prompt\": \"your description\",\n    \"aspect_ratio\": \"16:9\",\n    \"resolution\": \"1MP\",\n    \"sync\": true\n  }'\n```\n\n**Aspect ratios**: `1:1` (square), `16:9` (hero\u002Fbanner), `4:3` (presentation), `9:16` (mobile\u002Fstory), `3:4` (portrait)\n\n**Resolution**: `1MP` (default) or `4MP` (improved details for photorealism, adds ~30s latency)\n\n**Sync mode**: Pass `\"sync\": true` in the request body for single image generation to get the result directly in the response. For batch\u002Fmultiple image generation, omit `sync` (or set `false`) and use polling instead.\n\n> **Advanced**: For precise, deterministic control over generation, use **[VGL structured prompts](..\u002Fvgl\u002FSKILL.md)** instead of natural language. VGL defines every visual attribute (objects, lighting, composition) as explicit JSON.\n\n### Remove Background (RMBG-2.0)\n\n```bash\ncurl -X POST \"https:\u002F\u002Fengine.prod.bria-api.com\u002Fv2\u002Fimage\u002Fedit\u002Fremove_background\" \\\n  -H \"api_token: $BRIA_API_KEY\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -H \"User-Agent: BriaSkills\u002F1.2.6\" \\\n  -d '{\"image\": \"https:\u002F\u002F...\"}'\n```\n\nReturns PNG with transparency.\n\n### Edit Image (FIBO-Edit) - No Mask Required\n\n```bash\ncurl -X POST \"https:\u002F\u002Fengine.prod.bria-api.com\u002Fv2\u002Fimage\u002Fedit\" \\\n  -H \"api_token: $BRIA_API_KEY\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -H \"User-Agent: BriaSkills\u002F1.2.6\" \\\n  -d '{\n    \"images\": [\"https:\u002F\u002F...\"],\n    \"instruction\": \"change the mug to red\"\n  }'\n```\n\n### Edit Image Region with Mask (GenFill)\n\n```bash\ncurl -X POST \"https:\u002F\u002Fengine.prod.bria-api.com\u002Fv2\u002Fimage\u002Fedit\u002Fgen_fill\" \\\n  -H \"api_token: $BRIA_API_KEY\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -H \"User-Agent: BriaSkills\u002F1.2.6\" \\\n  -d '{\n    \"image\": \"https:\u002F\u002F...\",\n    \"mask\": \"https:\u002F\u002F...\",\n    \"prompt\": \"what to generate in masked area\"\n  }'\n```\n\n### Expand Image (Outpainting)\n\n```bash\ncurl -X POST \"https:\u002F\u002Fengine.prod.bria-api.com\u002Fv2\u002Fimage\u002Fedit\u002Fexpand\" \\\n  -H \"api_token: $BRIA_API_KEY\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -H \"User-Agent: BriaSkills\u002F1.2.6\" \\\n  -d '{\n    \"image\": \"base64-or-url\",\n    \"aspect_ratio\": \"16:9\",\n    \"prompt\": \"coffee shop background, wooden table\"\n  }'\n```\n\n### Upscale Image\n\n```bash\ncurl -X POST \"https:\u002F\u002Fengine.prod.bria-api.com\u002Fv2\u002Fimage\u002Fedit\u002Fincrease_resolution\" \\\n  -H \"api_token: $BRIA_API_KEY\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -H \"User-Agent: BriaSkills\u002F1.2.6\" \\\n  -d '{\"image\": \"https:\u002F\u002F...\", \"scale\": 2}'\n```\n\n### Create Product Lifestyle Shot\n\n```bash\ncurl -X POST \"https:\u002F\u002Fengine.prod.bria-api.com\u002Fv1\u002Fproduct\u002Flifestyle_shot_by_text\" \\\n  -H \"api_token: $BRIA_API_KEY\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -H \"User-Agent: BriaSkills\u002F1.2.6\" \\\n  -d '{\n    \"image\": \"https:\u002F\u002Fproduct-with-transparent-bg.png\",\n    \"prompt\": \"modern kitchen countertop, natural morning light\"\n  }'\n```\n\n### Integrate Products into Scene\n\nPlace one or more products at exact coordinates in a scene. Products are automatically cut out and matched to the scene's lighting and perspective.\n\n```bash\ncurl -X POST \"https:\u002F\u002Fengine.prod.bria-api.com\u002Fimage\u002Fedit\u002Fproduct\u002Fintegrate\" \\\n  -H \"api_token: $BRIA_API_KEY\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -H \"User-Agent: BriaSkills\u002F1.2.6\" \\\n  -d '{\n    \"scene\": \"https:\u002F\u002Fscene-image-url\",\n    \"products\": [\n      {\n        \"image\": \"https:\u002F\u002Fproduct-image-url\",\n        \"coordinates\": {\"x\": 100, \"y\": 200, \"width\": 300, \"height\": 400}\n      }\n    ]\n  }'\n```\n\n---\n\n## Response Handling\n\n### Sync (single image generation)\n\nFor single image requests, pass `\"sync\": true` in the request body. The response returns the result directly — no polling needed.\n\n### Async with polling (batch generation)\n\nFor batch or multiple image generation, omit `sync` (or set `\"sync\": false`). The response returns a status URL to poll:\n\n```json\n{\n  \"request_id\": \"uuid\",\n  \"status_url\": \"https:\u002F\u002Fengine.prod.bria-api.com\u002Fv2\u002Fstatus\u002Fuuid\"\n}\n```\n\nPoll the status_url until `status: \"COMPLETED\"`, then get `result.image_url`.\n\n```python\nimport requests, time\n\ndef get_result(status_url, api_key):\n    while True:\n        r = requests.get(status_url, headers={\"api_token\": api_key, \"User-Agent\": \"BriaSkills\u002F1.2.6\"})\n        data = r.json()\n        if data[\"status\"] == \"COMPLETED\":\n            return data[\"result\"][\"image_url\"]\n        if data[\"status\"] == \"FAILED\":\n            raise Exception(data.get(\"error\"))\n        time.sleep(2)\n```\n\n---\n\n## Prompt Engineering Tips\n\n- **Style**: \"professional product photography\" vs \"casual snapshot\", \"flat design illustration\" vs \"3D rendered\"\n- **Lighting**: \"soft natural light\", \"studio lighting\", \"dramatic shadows\"\n- **Background**: \"white studio\", \"gradient\", \"blurred office\", \"transparent\"\n- **Composition**: \"centered\", \"rule of thirds\", \"negative space on left for text\"\n- **Quality keywords**: \"high quality\", \"professional\", \"commercial grade\", \"4K\", \"sharp focus\"\n- **Negative prompts**: \"blurry, low quality, pixelated\", \"text, watermark, logo\"\n\n---\n\n## API Reference\n\nSee `references\u002Fapi-endpoints.md` for complete endpoint documentation.\n\n### Key Endpoints\n\n**Image Generation**\n| Endpoint | Purpose |\n|----------|---------|\n| `POST \u002Fv2\u002Fimage\u002Fgenerate` | Generate images from text (FIBO) |\n\n**Edit by Text (No Mask)**\n| Endpoint | Purpose |\n|----------|---------|\n| `POST \u002Fv2\u002Fimage\u002Fedit` | Edit image with natural language instruction |\n| `POST \u002Fv2\u002Fimage\u002Fedit\u002Fadd_object_by_text` | Add objects to image |\n| `POST \u002Fv2\u002Fimage\u002Fedit\u002Freplace_object_by_text` | Replace objects in image |\n| `POST \u002Fv2\u002Fimage\u002Fedit\u002Ferase_by_text` | Remove objects by name |\n\n**Edit with Mask**\n| Endpoint | Purpose |\n|----------|---------|\n| `POST \u002Fv2\u002Fimage\u002Fedit\u002Fgen_fill` | Inpaint\u002Fgenerate in masked region |\n| `POST \u002Fv2\u002Fimage\u002Fedit\u002Ferase` | Erase masked region |\n\n**Background Operations**\n| Endpoint | Purpose |\n|----------|---------|\n| `POST \u002Fv2\u002Fimage\u002Fedit\u002Fremove_background` | Remove background (RMBG-2.0) |\n| `POST \u002Fv2\u002Fimage\u002Fedit\u002Freplace_background` | Replace with AI-generated background |\n| `POST \u002Fv2\u002Fimage\u002Fedit\u002Fblur_background` | Apply blur to background |\n| `POST \u002Fv2\u002Fimage\u002Fedit\u002Ferase_foreground` | Remove foreground, fill background |\n| `POST \u002Fv2\u002Fimage\u002Fedit\u002Fcrop_foreground` | Crop tightly around subject |\n\n**Image Transformation**\n| Endpoint | Purpose |\n|----------|---------|\n| `POST \u002Fv2\u002Fimage\u002Fedit\u002Fexpand` | Outpaint to new aspect ratio |\n| `POST \u002Fv2\u002Fimage\u002Fedit\u002Fenhance` | Enhance quality and details |\n| `POST \u002Fv2\u002Fimage\u002Fedit\u002Fincrease_resolution` | Upscale 2x or 4x |\n| `POST \u002Fv2\u002Fimage\u002Fedit\u002Fblend` | Blend\u002Fmerge images or textures |\n| `POST \u002Fv2\u002Fimage\u002Fedit\u002Freseason` | Change season\u002Fweather |\n| `POST \u002Fv2\u002Fimage\u002Fedit\u002Frestyle` | Transform artistic style |\n| `POST \u002Fv2\u002Fimage\u002Fedit\u002Frelight` | Modify lighting |\n\n**Restoration**\n| Endpoint | Purpose |\n|----------|---------|\n| `POST \u002Fv2\u002Fimage\u002Fedit\u002Fsketch_to_colored_image` | Convert sketch to photo |\n| `POST \u002Fv2\u002Fimage\u002Fedit\u002Frestore` | Restore old\u002Fdamaged photos |\n| `POST \u002Fv2\u002Fimage\u002Fedit\u002Fcolorize` | Colorize B&W or convert to B&W |\n\n**Product Photography**\n| Endpoint | Purpose |\n|----------|---------|\n| `POST \u002Fv1\u002Fproduct\u002Flifestyle_shot_by_text` | Create product lifestyle shots by text |\n| `POST \u002Fimage\u002Fedit\u002Fproduct\u002Fintegrate` | Integrate products into scene at exact coordinates |\n\n**Utilities**\n| Endpoint | Purpose |\n|----------|---------|\n| `POST \u002Fv2\u002Fstructured_instruction\u002Fgenerate` | Generate JSON instruction (no image) |\n| `GET \u002Fv2\u002Fstatus\u002F{id}` | Check async request status |\n\n### Authentication\n\nAll requests need `api_token` header:\n```\napi_token: YOUR_BRIA_API_KEY\nUser-Agent: BriaSkills\u002F\u003Cversion>\n```\n> **Required:** Always include the `User-Agent: BriaSkills\u002F\u003Cversion>` header (where `\u003Cversion>` is the current skill version from `package.json`, e.g. `BriaSkills\u002F1.2.6`) in every API call, including status polling requests.\n\n---\n\n## Additional Resources\n\n- **[API Endpoints Reference](references\u002Fapi-endpoints.md)** — Complete endpoint documentation with request\u002Fresponse formats\n- **[Workflows & Pipelines](references\u002Fworkflows.md)** — Batch generation, parallel pipelines, integration examples\n- **[Python Client](references\u002Fcode-examples\u002Fbria_client.py)** — Full-featured async Python client\n- **[TypeScript Client](references\u002Fcode-examples\u002Fbria_client.ts)** — Typed Node.js client\n- **[Bash\u002Fcurl Reference](references\u002Fcode-examples\u002Fbria_client.sh)** — Shell functions for all endpoints\n\n## Related Skills\n\n- **[vgl](..\u002Fvgl\u002FSKILL.md)** — Write structured VGL JSON prompts for precise, deterministic control over FIBO image generation\n- **[image-utils](..\u002Fimage-utils\u002FSKILL.md)** — Classic image manipulation (resize, crop, composite, watermarks) for post-processing\n","# Bria — Generate, Edit & Remove Background from Images with AI\n\nGenerate, edit, and create visual assets using Bria's commercially-safe AI models (Fibo, Fibo-Edit,  RMBG-2.0, GenFill, and more). Remove or replace backgrounds, create product lifestyle shots, generate transparent PNGs, batch generate images, and build pipeline workflows. Unlike black-box generators, Bria gives you fine-grained control: edit by text instruction, mask specific regions, add\u002Freplace\u002Fremove individual objects, change lighting or season independently.\n\n## Setup — API Key Check\n\nBefore making any Bria API call, check for the API key and help the user set it up if missing:\n\n### Step 1: Check if the key exists (without printing the key)\n\n```bash\nif [ -z \"$BRIA_API_KEY\" ]; then\n  echo \"BRIA_API_KEY is not set\"\nelse\n  echo \"BRIA_API_KEY is set\"\nfi\n```\n\nIf the output is **not empty**, skip to the next section.\n\n### Step 2: If the key is missing, guide the user\n\nTell the user exactly this:\n> To use image generation, you need a free Bria API key.\n>\n> 1. Go to https:\u002F\u002Fplatform.bria.ai\u002Fconsole\u002Faccount\u002Fapi-keys\n> 2. Sign up or log in\n> 3. Click **Create API Key**\n\nWait for the user to provide their API key. Do not proceed until they give you the key.\n\n**Do not proceed with any image generation or editing until the API key is confirmed set.**\n\n---\n\n## Core Capabilities\n\n| Need | Capability | Use Case |\n|------|------------|----------|\n| Generate images from text | FIBO Generate | Hero images, product shots, illustrations, social media images, banners |\n| Edit images by text instruction | FIBO-Edit | Change colors, modify objects, transform scenes |\n| Edit image region with mask | GenFill\u002FErase | Precise inpainting, add\u002Freplace specific regions |\n| Add\u002FReplace\u002FRemove objects | Text-based editing | Add vase, replace apple with pear, remove table |\n| Remove background (transparent PNG) | RMBG-2.0 | Extract subjects for overlays, logos, cutouts |\n| Replace\u002Fblur\u002Ferase background | Background ops | Change, blur, or remove backgrounds |\n| Expand\u002Foutpaint images | Outpainting | Extend boundaries, change aspect ratios |\n| Upscale image resolution | Super Resolution | Increase resolution 2x or 4x |\n| Enhance image quality | Enhancement | Improve lighting, colors, details |\n| Restyle images | Restyle | Oil painting, anime, cartoon, 3D render |\n| Change lighting | Relight | Golden hour, spotlight, dramatic lighting |\n| Change season | Reseason | Spring, summer, autumn, winter |\n| Composite\u002Fblend images | Image Blending | Apply textures, logos, merge images |\n| Restore old photos | Restoration | Fix old\u002Fdamaged photos |\n| Colorize images | Colorization | Add color to B&W, or convert to B&W |\n| Sketch to photo | Sketch2Image | Convert drawings to realistic photos |\n| Create product lifestyle shots | Lifestyle Shot | Place products in scenes for e-commerce |\n| Integrate products into scenes | Product Integrate | Embed products at exact coordinates |\n\n## Quick Reference\n\n### Generate an Image (FIBO)\n\n```bash\ncurl -X POST \"https:\u002F\u002Fengine.prod.bria-api.com\u002Fv2\u002Fimage\u002Fgenerate\" \\\n  -H \"api_token: $BRIA_API_KEY\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -H \"User-Agent: BriaSkills\u002F1.2.6\" \\\n  -d '{\n    \"prompt\": \"your description\",\n    \"aspect_ratio\": \"16:9\",\n    \"resolution\": \"1MP\",\n    \"sync\": true\n  }'\n```\n\n**Aspect ratios**: `1:1` (square), `16:9` (hero\u002Fbanner), `4:3` (presentation), `9:16` (mobile\u002Fstory), `3:4` (portrait)\n\n**Resolution**: `1MP` (default) or `4MP` (improved details for photorealism, adds ~30s latency)\n\n**Sync mode**: Pass `\"sync\": true` in the request body for single image generation to get the result directly in the response. For batch\u002Fmultiple image generation, omit `sync` (or set `false`) and use polling instead.\n\n> **Advanced**: For precise, deterministic control over generation, use **[VGL structured prompts](..\u002Fvgl\u002FSKILL.md)** instead of natural language. VGL defines every visual attribute (objects, lighting, composition) as explicit JSON.\n\n### Remove Background (RMBG-2.0)\n\n```bash\ncurl -X POST \"https:\u002F\u002Fengine.prod.bria-api.com\u002Fv2\u002Fimage\u002Fedit\u002Fremove_background\" \\\n  -H \"api_token: $BRIA_API_KEY\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -H \"User-Agent: BriaSkills\u002F1.2.6\" \\\n  -d '{\"image\": \"https:\u002F\u002F...\"}'\n```\n\nReturns PNG with transparency.\n\n### Edit Image (FIBO-Edit) - No Mask Required\n\n```bash\ncurl -X POST \"https:\u002F\u002Fengine.prod.bria-api.com\u002Fv2\u002Fimage\u002Fedit\" \\\n  -H \"api_token: $BRIA_API_KEY\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -H \"User-Agent: BriaSkills\u002F1.2.6\" \\\n  -d '{\n    \"images\": [\"https:\u002F\u002F...\"],\n    \"instruction\": \"change the mug to red\"\n  }'\n```\n\n### Edit Image Region with Mask (GenFill)\n\n```bash\ncurl -X POST \"https:\u002F\u002Fengine.prod.bria-api.com\u002Fv2\u002Fimage\u002Fedit\u002Fgen_fill\" \\\n  -H \"api_token: $BRIA_API_KEY\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -H \"User-Agent: BriaSkills\u002F1.2.6\" \\\n  -d '{\n    \"image\": \"https:\u002F\u002F...\",\n    \"mask\": \"https:\u002F\u002F...\",\n    \"prompt\": \"what to generate in masked area\"\n  }'\n```\n\n### Expand Image (Outpainting)\n\n```bash\ncurl -X POST \"https:\u002F\u002Fengine.prod.bria-api.com\u002Fv2\u002Fimage\u002Fedit\u002Fexpand\" \\\n  -H \"api_token: $BRIA_API_KEY\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -H \"User-Agent: BriaSkills\u002F1.2.6\" \\\n  -d '{\n    \"image\": \"base64-or-url\",\n    \"aspect_ratio\": \"16:9\",\n    \"prompt\": \"coffee shop background, wooden table\"\n  }'\n```\n\n### Upscale Image\n\n```bash\ncurl -X POST \"https:\u002F\u002Fengine.prod.bria-api.com\u002Fv2\u002Fimage\u002Fedit\u002Fincrease_resolution\" \\\n  -H \"api_token: $BRIA_API_KEY\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -H \"User-Agent: BriaSkills\u002F1.2.6\" \\\n  -d '{\"image\": \"https:\u002F\u002F...\", \"scale\": 2}'\n```\n\n### Create Product Lifestyle Shot\n\n```bash\ncurl -X POST \"https:\u002F\u002Fengine.prod.bria-api.com\u002Fv1\u002Fproduct\u002Flifestyle_shot_by_text\" \\\n  -H \"api_token: $BRIA_API_KEY\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -H \"User-Agent: BriaSkills\u002F1.2.6\" \\\n  -d '{\n    \"image\": \"https:\u002F\u002Fproduct-with-transparent-bg.png\",\n    \"prompt\": \"modern kitchen countertop, natural morning light\"\n  }'\n```\n\n### Integrate Products into Scene\n\nPlace one or more products at exact coordinates in a scene. Products are automatically cut out and matched to the scene's lighting and perspective.\n\n```bash\ncurl -X POST \"https:\u002F\u002Fengine.prod.bria-api.com\u002Fimage\u002Fedit\u002Fproduct\u002Fintegrate\" \\\n  -H \"api_token: $BRIA_API_KEY\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -H \"User-Agent: BriaSkills\u002F1.2.6\" \\\n  -d '{\n    \"scene\": \"https:\u002F\u002Fscene-image-url\",\n    \"products\": [\n      {\n        \"image\": \"https:\u002F\u002Fproduct-image-url\",\n        \"coordinates\": {\"x\": 100, \"y\": 200, \"width\": 300, \"height\": 400}\n      }\n    ]\n  }'\n```\n\n---\n\n## Response Handling\n\n### Sync (single image generation)\n\nFor single image requests, pass `\"sync\": true` in the request body. The response returns the result directly — no polling needed.\n\n### Async with polling (batch generation)\n\nFor batch or multiple image generation, omit `sync` (or set `\"sync\": false`). The response returns a status URL to poll:\n\n```json\n{\n  \"request_id\": \"uuid\",\n  \"status_url\": \"https:\u002F\u002Fengine.prod.bria-api.com\u002Fv2\u002Fstatus\u002Fuuid\"\n}\n```\n\nPoll the status_url until `status: \"COMPLETED\"`, then get `result.image_url`.\n\n```python\nimport requests, time\n\ndef get_result(status_url, api_key):\n    while True:\n        r = requests.get(status_url, headers={\"api_token\": api_key, \"User-Agent\": \"BriaSkills\u002F1.2.6\"})\n        data = r.json()\n        if data[\"status\"] == \"COMPLETED\":\n            return data[\"result\"][\"image_url\"]\n        if data[\"status\"] == \"FAILED\":\n            raise Exception(data.get(\"error\"))\n        time.sleep(2)\n```\n\n---\n\n## Prompt Engineering Tips\n\n- **Style**: \"professional product photography\" vs \"casual snapshot\", \"flat design illustration\" vs \"3D rendered\"\n- **Lighting**: \"soft natural light\", \"studio lighting\", \"dramatic shadows\"\n- **Background**: \"white studio\", \"gradient\", \"blurred office\", \"transparent\"\n- **Composition**: \"centered\", \"rule of thirds\", \"negative space on left for text\"\n- **Quality keywords**: \"high quality\", \"professional\", \"commercial grade\", \"4K\", \"sharp focus\"\n- **Negative prompts**: \"blurry, low quality, pixelated\", \"text, watermark, logo\"\n\n---\n\n## API Reference\n\nSee `references\u002Fapi-endpoints.md` for complete endpoint documentation.\n\n### Key Endpoints\n\n**Image Generation**\n| Endpoint | Purpose |\n|----------|---------|\n| `POST \u002Fv2\u002Fimage\u002Fgenerate` | Generate images from text (FIBO) |\n\n**Edit by Text (No Mask)**\n| Endpoint | Purpose |\n|----------|---------|\n| `POST \u002Fv2\u002Fimage\u002Fedit` | Edit image with natural language instruction |\n| `POST \u002Fv2\u002Fimage\u002Fedit\u002Fadd_object_by_text` | Add objects to image |\n| `POST \u002Fv2\u002Fimage\u002Fedit\u002Freplace_object_by_text` | Replace objects in image |\n| `POST \u002Fv2\u002Fimage\u002Fedit\u002Ferase_by_text` | Remove objects by name |\n\n**Edit with Mask**\n| Endpoint | Purpose |\n|----------|---------|\n| `POST \u002Fv2\u002Fimage\u002Fedit\u002Fgen_fill` | Inpaint\u002Fgenerate in masked region |\n| `POST \u002Fv2\u002Fimage\u002Fedit\u002Ferase` | Erase masked region |\n\n**Background Operations**\n| Endpoint | Purpose |\n|----------|---------|\n| `POST \u002Fv2\u002Fimage\u002Fedit\u002Fremove_background` | Remove background (RMBG-2.0) |\n| `POST \u002Fv2\u002Fimage\u002Fedit\u002Freplace_background` | Replace with AI-generated background |\n| `POST \u002Fv2\u002Fimage\u002Fedit\u002Fblur_background` | Apply blur to background |\n| `POST \u002Fv2\u002Fimage\u002Fedit\u002Ferase_foreground` | Remove foreground, fill background |\n| `POST \u002Fv2\u002Fimage\u002Fedit\u002Fcrop_foreground` | Crop tightly around subject |\n\n**Image Transformation**\n| Endpoint | Purpose |\n|----------|---------|\n| `POST \u002Fv2\u002Fimage\u002Fedit\u002Fexpand` | Outpaint to new aspect ratio |\n| `POST \u002Fv2\u002Fimage\u002Fedit\u002Fenhance` | Enhance quality and details |\n| `POST \u002Fv2\u002Fimage\u002Fedit\u002Fincrease_resolution` | Upscale 2x or 4x |\n| `POST \u002Fv2\u002Fimage\u002Fedit\u002Fblend` | Blend\u002Fmerge images or textures |\n| `POST \u002Fv2\u002Fimage\u002Fedit\u002Freseason` | Change season\u002Fweather |\n| `POST \u002Fv2\u002Fimage\u002Fedit\u002Frestyle` | Transform artistic style |\n| `POST \u002Fv2\u002Fimage\u002Fedit\u002Frelight` | Modify lighting |\n\n**Restoration**\n| Endpoint | Purpose |\n|----------|---------|\n| `POST \u002Fv2\u002Fimage\u002Fedit\u002Fsketch_to_colored_image` | Convert sketch to photo |\n| `POST \u002Fv2\u002Fimage\u002Fedit\u002Frestore` | Restore old\u002Fdamaged photos |\n| `POST \u002Fv2\u002Fimage\u002Fedit\u002Fcolorize` | Colorize B&W or convert to B&W |\n\n**Product Photography**\n| Endpoint | Purpose |\n|----------|---------|\n| `POST \u002Fv1\u002Fproduct\u002Flifestyle_shot_by_text` | Create product lifestyle shots by text |\n| `POST \u002Fimage\u002Fedit\u002Fproduct\u002Fintegrate` | Integrate products into scene at exact coordinates |\n\n**Utilities**\n| Endpoint | Purpose |\n|----------|---------|\n| `POST \u002Fv2\u002Fstructured_instruction\u002Fgenerate` | Generate JSON instruction (no image) |\n| `GET \u002Fv2\u002Fstatus\u002F{id}` | Check async request status |\n\n### Authentication\n\nAll requests need `api_token` header:\n```\napi_token: YOUR_BRIA_API_KEY\nUser-Agent: BriaSkills\u002F\u003Cversion>\n```\n> **Required:** Always include the `User-Agent: BriaSkills\u002F\u003Cversion>` header (where `\u003Cversion>` is the current skill version from `package.json`, e.g. `BriaSkills\u002F1.2.6`) in every API call, including status polling requests.\n\n---\n\n## Additional Resources\n\n- **[API Endpoints Reference](references\u002Fapi-endpoints.md)** — Complete endpoint documentation with request\u002Fresponse formats\n- **[Workflows & Pipelines](references\u002Fworkflows.md)** — Batch generation, parallel pipelines, integration examples\n- **[Python Client](references\u002Fcode-examples\u002Fbria_client.py)** — Full-featured async Python client\n- **[TypeScript Client](references\u002Fcode-examples\u002Fbria_client.ts)** — Typed Node.js client\n- **[Bash\u002Fcurl Reference](references\u002Fcode-examples\u002Fbria_client.sh)** — Shell functions for all endpoints\n\n## Related Skills\n\n- **[vgl](..\u002Fvgl\u002FSKILL.md)** — Write structured VGL JSON prompts for precise, deterministic control over FIBO image generation\n- **[image-utils](..\u002Fimage-utils\u002FSKILL.md)** — Classic image manipulation (resize, crop, composite, watermarks) for post-processing\n",{"name":5,"license":15,"metadata":24,"description":7},{"author":25,"version":26,"openclaw":27},"Bria AI","1.2.6",{"requires":28,"primaryEnv":30},{"env":29,"bins":31},[30],"BRIA_API_KEY",[32],"curl","main","f9d3fe7cf9ac8f1ea63a0d96e98e1f510a3814db","skills\u002Fgalbria\u002Fbria-ai",1,"https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills","https:\u002F\u002Fgithub.com\u002Fjavimosch","intrane.fr","Building robust, open-source infrastructure for the commons. AI-leveraged, self-hosted, built to last.","2026-06-07 03:34:58",{"source":8,"skillName":5,"commands":43,"prompt":53,"zipAvailable":54},[44,47,50],{"tool":45,"command":46},"npx","npx skills add javimosch\u002Fopen-claw-skills --skill bria-ai",{"tool":48,"command":49},"bunx","bunx skills add javimosch\u002Fopen-claw-skills --skill bria-ai",{"tool":51,"command":52},"pnpm","pnpm dlx skills add javimosch\u002Fopen-claw-skills --skill bria-ai","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fgalbria\u002Fbria-ai\u002FSKILL.md",true,[],[57,65,72,79,86,93],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":64},"01M778GGXG2VQ0YF31W2MKGMQZ","crowd-prompting","A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzzadrian\u002Fcrowd-prompting\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":64},"01M778G7BH8SBJ9FJ6C3G7CB1K","ceaser","Interact with the Ceaser privacy protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- shield, unshield, note management, and protocol queries. All ceaser tool calls use CLI subcommands (npx -y ceaser-mcp \u003Csubcommand>). Ceaser is a privacy-preserving ETH wrapper using Noir\u002FUltraHonk zero-knowledge proofs on Base L2 (chain ID 8453).","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyra-v21\u002Fceaser\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":64},"01M778FYCJQZWFKKX5FYMK3S47","ceaser-send","Fully automated private ETH transfer via Ceaser Protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- all ceaser tool calls use CLI subcommands (npx -y ceaser-mcp \u003Csubcommand>). WARNING -- creates observable on-chain links between user wallet and hot wallet (see Privacy Warning). Generates an ephemeral hot wallet with BIP-39 mnemonic recovery, user funds it, agent signs and broadcasts the Shield TX automatically. Exactly one manual step required (funding the hot wallet with ETH). Uses Noir\u002FUltraHonk zero-knowledge proofs.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyra-v21\u002Fceaser-send\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":64},"01M778FQQNSEYA3HJKZBPQ4M9Z","dilemm-ai","Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyori\u002Fdilemm-ai\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":64},"01M778FGVZX7QA2TF9BFMM37FY","moldium","Post and manage content on the Moldium blog platform. Triggered by \"post to Moldium\", \"write a blog post\", \"publish an article\", etc.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyom45\u002Fmoldium\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":64},"01M778F88D8PQ9MQ0KNW2TJ8ZH","arxiv-paper-reviews","Interact with arXiv Crawler API to fetch papers, read reviews, submit comments, search papers, and import papers. Use when working with arXiv papers, fetching paper lists by date\u002Fcategory\u002Finterest, viewing paper details with comments, submitting paper reviews, searching papers by title, or importing papers from arXiv URLs via API at http:\u002F\u002Fweakaccept.top:8000\u002F.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzxrys\u002Farxiv-paper-reviews\u002FSKILL.md",[],[]]