feat(bria-ai): merge e-commerce catalog pipeline into main skill#50
Open
galbria wants to merge 8 commits into
Open
feat(bria-ai): merge e-commerce catalog pipeline into main skill#50galbria wants to merge 8 commits into
galbria wants to merge 8 commits into
Conversation
* fix: rename lifestyle_shot_by_text param prompt → scene_description (#45) Align SKILL.md examples with the API reference, which documents the /v1/product/lifestyle_shot_by_text parameter as scene_description. Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * feat: add video-remove-background skill (#47) * chore: release 1.3.3 (#46) * fix: rename lifestyle_shot_by_text param prompt → scene_description (#45) Align SKILL.md examples with the API reference, which documents the /v1/product/lifestyle_shot_by_text parameter as scene_description. Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * chore: bump version to 1.3.3 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * docs: add Claude Code plugin install instructions to README Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * feat: add video-remove-background skill New skill for Bria's video background removal API (POST /v2/video/edit/remove_background), based on https://docs.bria.ai/video-editing/editing-endpoints/remove-background - SKILL.md with auth flow, usage, alpha-support rules, and examples - references/api-endpoints.md covering remove_background, the local video upload service, and status polling - bria_video_client.sh helper: local file upload, async polling with video_url extraction, 422/413 error guidance Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * fix: correct video-remove-background skill with live-tested API behavior End-to-end tested against the production API. Corrections vs the docs: - Transparent background only accepted with webm_vp9, mkv_vp9, mov_proresks (server 422 rejects gif and mov_h265 despite docs) - gif output preset fails server-side (500) — replaced the GIF example with a webm + ffmpeg palettegen conversion - mov_proresks returns ProRes 4444 without an alpha plane — noted, and the editing example now uses mkv_vp9 (verified RGBA) - Documented the observed default preset (webm_vp9, ALPHA_MODE=1) and how to verify VP9 alpha (ffprobe shows yuv420p; alpha is a side channel) Client: configurable polling (BRIA_POLL_INTERVAL/BRIA_POLL_ATTEMPTS), prints status_url on timeout so jobs can be re-polled, corrected 422 hint. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * chore: bump version to 1.4.0 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * chore: align all version references to 1.4.0 - package-lock.json (was stale at 1.3.0) - marketplace.json metadata version, plus register the new video-remove-background plugin - skill metadata versions (bria-ai, image-utils, remove-background, vgl) - BriaSkills User-Agent strings across skills and kiro mirrors - kiro POWER.md source-version notes Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * chore: use version 1.3.4 instead of 1.4.0 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Skill-bundle plugin for OpenClaw / ClawHub under @bria/bria-ai-openclaw. Ships openclaw.plugin.json + package.json (openclaw.compat/build) and two skills: bria-ai (image gen/edit/RMBG) and video-remove-background (transparent/alpha video matting). Auth via Bria device flow. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Bundle plugin @bria/bria-ai-openclaw now contains bria-ai (OpenClaw device-flow variant), video-remove-background, remove-background, vgl, image-utils, and automotive. Validated with clawhub package validate (status: pass). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Rename package to @galbria/bria-ai-openclaw so the scope matches the publishing owner; update README install/publish commands accordingly. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Add the Product Dimensions endpoint (POST /v2/image/edit/product_dimensions) to the bria-ai skill: a Core Capabilities row and bria_call example in SKILL.md, plus a full parameter reference in references/api-endpoints.md. Verified live and rendering correctly on both prod and int. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Bump bria-skills to 1.3.5 for the new bria-ai Product Dimensions endpoint (POST /v2/image/edit/product_dimensions), verified live on prod and int. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
- Add ecommerce skill (packshot/cutout/dimensions/lifestyle → marketplace variants catalog pipeline) and bundle it under the bria-ai plugin in marketplace.json so installing the main plugin pulls it too. - build_catalog.py: re-encode packshot/lifestyle downloads to real JPEG when the destination is .jpg (flatten alpha onto white); keep raw bytes for .png so cutout/dimensions transparency is preserved. Fixes files that were PNG bytes with a .jpg extension. - bria-ai SKILL.md: upgrade the product_dimensions example to show dual cm/in callouts (units_display: dual_slash) plus capacity and Net Weight. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Fold the standalone ecommerce skill into bria-ai to concentrate usage and discoverability in the main skill: - Relocate build_catalog.py, export_variants.py, and marketplace-presets.md into bria-ai/references; add cutout/packshot/shadow/lifestyle_shot_by_image to bria-ai's api-endpoints reference. - Add a "Product Catalog Pipeline (batch)" section to bria-ai/SKILL.md (build_catalog driver, NEEDS_DIMENSIONS gate, marketplace variants, listing copy scaffold). - Rebalance the bria-ai description's first 160 chars so product-catalog, packshot, lifestyle-shot, and cutout search queries pass the token gate while keeping background-removal coverage (kept under the 1024-char limit). - Reduce ecommerce to a thin redirect stub pointing at bria-ai (kept as a discovery entry point). Version stays 1.3.5 per request. Verified end-to-end: auth, product endpoints, batch pipeline (true-JPEG output), and marketplace variants all pass. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Folds the standalone ecommerce skill into the main bria-ai skill to concentrate usage and discoverability in one place, and improves the bria-ai description's search discoverability. Version stays 1.3.5 (intentional).
This session's changes
build_catalog.py,export_variants.py, andmarketplace-presets.mdintobria-ai/references; addedcutout/packshot/shadow/lifestyle_shot_by_imageto bria-ai's api-endpoints reference; added a "Product Catalog Pipeline (batch)" section tobria-ai/SKILL.md.descriptionsopackshot,product catalog,lifestyle shot,product shot creator, andcutoutsearch queries pass the token gate — while keepingbackground removalcoverage. Verified with SSSO. Description kept under the 1024-char limit.ecommercereduced to a thin redirect stub pointing at bria-ai (kept as a discovery entry point).packshot.jpg/lifestyle_N.jpgare now re-encoded to true JPEG instead of PNG-with-.jpg.Verification
Tested end-to-end against the production Bria API via the api-skill-tester: auth,
cutout/packshot/product_dimensions(dual cm-in + capacity), the batchbuild_catalog.pypipeline from its new location (true-JPEG output,NEEDS_DIMENSIONSgate,--no-dimsfull run,--dimsjson+csv), andexport_variants.py(amazon/shopify/etsy). All passed. Pre-commit skill validation passes for all six skills.🤖 Generated with Claude Code