Pagewright 是一个由大模型驱动的工具,通过从商品链接或用户上传中抽取结构化数据,再经确定性引擎渲染 HTML 为 PNG,生成像素级精确的电商详情页长图,避免了文生图模型在文字准确性上的问题。

Stars

10

7 天增长

暂无数据

Fork 数

0

开放 Issue

0

开源协议

NOASSERTION

最近更新

2026-06-29

AI 仓库情报摘要
FR-AI / ANALYSIS

为什么值得关注

它解决了 AI 生成电商图片中数据真实性的关键难题:让大模型只负责理解、结构化和翻译,而由确定性引擎渲染出精确文字、数字和真实素材,使得结果可审计、可复现、可编辑。

适合谁使用

  • 电商卖家与市场人员
  • 需要自动化商品详情页的开发者
  • 不熟悉技术的普通用户
  • 在淘宝、天猫、亚马逊、Shopify 等平台运营的商家

典型使用场景

  • 从商品链接或手动上传生成中英对照的详情页长图
  • 自动化创建多个产品的统一、数据准确的详情长图
  • 修改一个字段后立即重渲染整个详情页,无需模型消耗
  • 审计并验证详情页上每个数字和素材都能追溯到原始数据源

项目优势

  • 确定性渲染保证价格、规格、文字精确无误,不会出现乱码或幻觉 logo
  • 本地优先设计,上传和渲染均在用户设备上完成,仅模型调用会联网
  • 分层抓取(httpx/Playwright/Chrome CDP)无需逐站编写解析器即可覆盖大多数站点
  • 可插拔大模型后端,支持云端厂商或本地模型,无厂商锁定

使用前须知

  • 云端模型需要 API Key,本地模型需具备视觉能力才能完成抽取步骤
  • 第三层抓取需要用户自行启动已登录的 Chrome 浏览器并开启远程调试端口
  • 从网站抓取的品牌素材不受 MIT 许可覆盖,仓库不重新分发

README 快速开始

Pagewright

LLM-orchestrated e-commerce detail-page (详情页) generator 用通用大模型,一键生成电商商品长图详情页

English · 中文


Demo · 演示

Selling a real product, end to end. Pagewright read the live North Face 1996 Retro Nuptse Jacket page — which is Akamai bot-protected, so curl is blocked and it's fetched through a real browser (tier-3) — pulled the real price, 700-fill down spec, six colorways, sizes and the official benefit ratings + description, then rendered this bilingual 详情页.

Pagewright 读取了 North Face《1996 Retro Nuptse》线上商品页(站点有 Akamai 反爬,curl 被挡 → 经真实浏览器(tier-3)抓取),取到真实价格、700 蓬松鹅绒、6 配色、尺码与官方性能标签及文案, 渲染出这张中英对照详情页

Real copy, specs & pricing shown above; the product photos are heavily mosaicked here to avoid redistributing © The North Face imagery — at run time Pagewright fetches the real photos. Reproduce from examples/north_face_nuptse (add photos per its ASSETS.md). Other bundled example: examples/sa_infinity. 图中文案与数据均为真实信息;产品图已打码处理以规避版权(版权归 The North Face),实拍图在运行时抓取。


English

Give Pagewright a product URL or your own images + a description, and it produces a polished, optionally bilingual long-image — the kind of detail page you upload to Taobao / Tmall / Amazon / Shopify — rendered pixel-accurately from real assets, not AI-painted.

acquire ─▶ extract ─▶ enrich ─▶ compose ─▶ render ─▶ verify
 (URL)      (LLM)    (optional)  (HTML)    (PNG)    (LLM QA)

Why HTML rendering, not text-to-image

An e-commerce detail page lives or dies on data fidelity — the price, the spec numbers, the brand logo and the size chart have to be exactly right. Today's text-to-image / 文生图 models (Stable Diffusion, DALL·E, Midjourney, Flux, Nano-Banana…) are the wrong tool for that job:

  • Text comes out garbled. Generated images mangle words and digits — $159 turns into $IS9, Chinese characters melt into glyph soup. You can't ship a price you can't trust.
  • Logos & icons hallucinate. The model paints a plausible-but-wrong brand mark or tech icon. *(This project's predecessor learned it the hard way: AI-drawn icons that didn't match the bra

项目描述

LLM-orchestrated e-commerce detail-page generator · 电商出海商品介绍详情页生成

相关仓库与替代方案

根据分类、Topic 和编程语言匹配的相似项目。

lopopolo
精选
lopopolo GitHub avatar

harness-engineering

Harness Engineering is a methodology for improving coding agent outputs by carefully crafting the environment around them—providing curated context, tools, and executable constraints that encode an organization’s nonfunctional requirements and cumulative lessons.

AI 与机器学习AI 智能体
2,390
slvDev
精选
slvDev GitHub avatar

esp32-ai

A 28.9 million parameter language model runs on an $8 ESP32-S3 microcontroller entirely on-device, generating simple stories at about 9.5 tokens per second.

AI 与机器学习大语言模型
1,960
littledivy
精选
littledivy GitHub avatar

mimic

mimic captures traffic from any iOS or web app and automatically generates a Python client library that lets you call the app's API like a regular library.

AI 与机器学习
1,482