| Type: | Package |
| Title: | Product Photo Planning Helpers |
| Version: | 0.1.0 |
| Description: | Helpers for preparing ecommerce product photo planning tables, prompt sheets, and public ProductShot AI workflow URLs. The package works offline and focuses on data-frame preparation for product image batches. |
| License: | MIT + file LICENSE |
| URL: | https://productshotai.app, https://github.com/bbwdadfg/productshotai-site-kit |
| BugReports: | https://github.com/bbwdadfg/productshotai-site-kit/issues |
| Encoding: | UTF-8 |
| RoxygenNote: | 7.3.2 |
| Suggests: | testthat (≥ 3.0.0) |
| Config/testthat/edition: | 3 |
| NeedsCompilation: | no |
| Packaged: | 2026-06-20 15:15:42 UTC; baiwei |
| Author: | Baiwei Chu [aut, cre] |
| Maintainer: | Baiwei Chu <baiwei.chu@gmail.com> |
| Repository: | CRAN |
| Date/Publication: | 2026-06-24 10:00:02 UTC |
Build a Product Photo Prompt Sheet
Description
Build a product-photo prompt planning table from ecommerce product metadata.
Usage
make_prompt_sheet(products, background_style = "clean studio background")
Arguments
products |
A data frame with product metadata. |
background_style |
Default background direction for generated product photos. |
Value
A data frame ready to export as a prompt planning CSV.
Examples
make_prompt_sheet(data.frame(product_name = "Red Shoe"))
Normalize product image metadata
Description
Normalize product image metadata for product-photo batch planning.
Usage
normalize_image_manifest(data)
Arguments
data |
A data frame with a |
Value
A data frame with file, product_slug, workbench_url, and notes.
Examples
normalize_image_manifest(data.frame(file = "Red Shoe.jpg"))
Normalize Product Metadata
Description
Normalize ecommerce product metadata for ProductShot AI prompt planning.
Usage
normalize_product_metadata(products)
Arguments
products |
A data frame with at least a |
Value
A normalized data frame with product_name, product_slug, and image_path.
Examples
normalize_product_metadata(data.frame(product_name = "Red Shoe"))
Create a prompt planning table
Description
Create a prompt planning table for ecommerce product-photo batches.
Usage
productshotai_prompt_sheet(products)
Arguments
products |
Character vector of product names. |
Value
A data frame suitable for CSV export.
Examples
productshotai_prompt_sheet(c("Red running shoe"))
Build a ProductShot AI public URL
Description
Build a ProductShot AI public URL.
Usage
productshotai_url(page = "home")
Arguments
page |
Page key. Supported values are |
Value
A URL string.
Examples
productshotai_url("workbench")
ProductShot AI Public URLs
Description
Return public ProductShot AI URLs used by product-photo workflow helpers.
Usage
productshotai_urls()
Value
A named list of public ProductShot AI URLs.
Examples
productshotai_urls()$workbench
Write a Prompt Sheet Template
Description
Write a ProductShot AI product-photo prompt planning CSV.
Usage
write_prompt_template(products, file)
Arguments
products |
A data frame with product metadata. |
file |
Output CSV file path. |
Value
The output file path, invisibly.
Examples
tmp <- tempfile(fileext = ".csv")
write_prompt_template(data.frame(product_name = "Red Shoe"), tmp)