Queenshow Detail Page Generator
/install queenshow-detail-page
Queenshow Detail Page
Use Queenshow OpenAPI to create AI-assisted product detail pages for editor-next.
Base URL notes:
- Use
https://your-host/api/promotionwhen calling through the frontend/proxy path. - Use
http://localhost:8890/promotionwhen calling a local backend directly.
Quick Workflow
- Read
references/openapi.mdfor endpoint details and payload shapes. - Use
Authorization: Bearer \x3CapiKey>orX-API-Key: \x3CapiKey>for every/openapi/*request. - Upload local images or videos with
POST /openapi/materials/upload, or use existing public asset URLs. - Create the detail page with
POST /openapi/detail-pages.product.mainImagesis required and accepts up to 3 URLs.- The created page starts with an empty
editor-nextdocument. - The same request submits a
product_outline_generatetask.
- Poll
GET /openapi/detail-pages/{id}/statusuntilstatusisoutline_ready. - Apply the outline with
POST /openapi/detail-pages/{id}/outline/apply.- Omit
sectionsto use the outline task result directly. - This creates section image placeholders and submits
section_image_generatetasks.
- Omit
- Poll status until
completed. - Fetch the final document with
GET /openapi/detail-pages/{id}. - Fetch the final page and verify the document has the expected section/image nodes:
statusiscompleted.- The document contains one image node per applied section.
- Each image node has
value.urlandvalue.generationStatus == "succeeded".
- Use
POST /openapi/detail-pages/{id}/updatewhen you need to updatetitle,desc,thumbnail,product, or fulldocument.
Automation Script
Use scripts/detail_page_client.py for repeatable calls without extra dependencies:
python .codex/skills/queenshow-detail-page/scripts/detail_page_client.py \
--base-url https://your-host/api/promotion \
--api-key qs_live_xxx \
--summary \
run \
--title "Running Shoes Detail Page" \
--main-image https://example.com/shoe-1.png \
--intro "Lightweight running shoes with breathable mesh and rebound foam." \
--detail-style "clean, premium, high contrast product photography"
The script sends JSON as UTF-8 and redacts sensitive output fields such as plainKey by default. Use --show-sensitive only when a task explicitly needs unredacted output. Use --summary for compact status, document, usage, and run output during verification.
Useful commands:
upload: upload local image or video files.materials: list materials uploaded by the current API key.create: create an empty detail page and outline task.pages: list detail pages created by the current API key.status: query detail page task state.apply-outline: create section placeholders and image tasks from the outline.get: fetch final page, document, and tasks.update: updatetitle,desc,thumbnail,product, fulldocument, or use--document-title/--document-descto fetch the current document and update those document fields safely.task: fetch one task by task id.usage: fetch current API key spend, reserved amount, and resource counts.run: create, wait for outline, apply outline, wait for completion, then print final detail page.
Production Best Practices (from 100+ runs)
Critical Rules
- Never reuse mainImage URLs across products — Each product MUST have its own uploaded image. Reusing causes content from other products to leak in.
- Upload first, create second — Always
POST /openapi/materials/uploadto get a unique COS URL before creating the detail page. - Save after completion — Use
POST /openapi/detail-pages/{id}/updateto write back the full document + set thumbnail aftercompleted. - Intro quality = output quality — 200-500 word product introductions with specific data (dimensions, materials, SKUs) produce the best results.
- Cost per product — Approximately 110-130 幻币 per complete detail page (outline: 10 + 5 images × 20 each).
Industry-Optimized Style Prompts
| Industry | Style Reference | Color Palette |
|---|---|---|
| Plush Toys | Jellycat / Disney | Cream white + soft pink + sky blue |
| Sunglasses | Ray-Ban / Oakley | Cool gray + blue + black |
| Phone Cases | Casetify | Gradient + white + accent |
| Beauty Tools | MAC / Sigma | Rose gold + pink + white |
| Wigs | Luvme Hair / UNice | Natural black + beige + rose gold |
| Jewelry | Chow Tai Fook / Tiffany | Champagne gold + pearl white + navy |
| Food | Daoxiangcun / Three Squirrels | Warm gold + Chinese red + cream |
| Bags | Coach / Michael Kors | Caramel + cream + gold hardware |
| Home Decor | IKEA / MUJI | Natural wood + warm white + green |
| Sneakers | Nike / Adidas / ONEMIX | Energetic orange + tech blue + black |
Common Issues
- RunningHub timeout (~10% probability): Single image generation may time out. Retry the whole page if this happens.
- Wallet balance depletion: When 幻币 runs out, pages may be deleted. Always check
GET /openapi/usagebefore batch runs. - No publish endpoint: OpenAPI does not expose a publish/save endpoint. Use
updateto persist content. Share links work regardless ofpublishedstatus. - outline_ready timing: Usually 20-40 seconds. Poll every 8-10 seconds.
- Image generation timing: Usually 2-4 minutes for 5 images. Poll every 15 seconds.
Batch Execution Rule
When running multiple products, do not stop on errors. Continue to the next product and handle failures afterward. Efficiency and completion rate take priority.
Completion Rules
- Treat
completedas the final success state. - Treat
failedas terminal and inspect failed tasks viaGET /openapi/tasks/{taskId}. - Treat
outline_readyas the signal to apply outline sections. - Do not call
outline/applybefore the outline task succeeds. - Respect API key quota: use
GET /openapi/usagebefore large batch runs. - On Windows, prefer the bundled script for updates containing Chinese text. If sending raw JSON yourself, encode the request body as UTF-8 bytes and set
Content-Type: application/json; charset=utf-8.
Changelog
v3.0.0 (2026-06-06)
- Migrated fully from Playwright reverse-engineering to official OpenAPI (
/openapi/*endpoints) - Added production best practices from 9 industries, 13 products, 100+ API calls
- Added industry-optimized style prompt table
- Documented common issues (RunningHub timeout, wallet depletion, missing publish API)
- Added batch execution efficiency rule
- Added critical rule: never reuse mainImage URLs across products
v2.0.0 (2026-06-05)
- Initial OpenAPI support with API key authentication
- Full workflow: upload → create → outline → apply → generate → save
v1.0.0 (2026-06-04)
- Playwright headless reverse-engineering approach (deprecated)
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install queenshow-detail-page - After installation, invoke the skill by name or use
/queenshow-detail-page - Provide required inputs per the skill's parameter spec and get structured output
What is Queenshow Detail Page Generator?
Generate, update, and query Queenshow editor-next product detail pages through the Queenshow OpenAPI. Use when an agent needs to upload product images or vid... It is an AI Agent Skill for Claude Code / OpenClaw, with 34 downloads so far.
How do I install Queenshow Detail Page Generator?
Run "/install queenshow-detail-page" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Queenshow Detail Page Generator free?
Yes, Queenshow Detail Page Generator is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Queenshow Detail Page Generator support?
Queenshow Detail Page Generator is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Queenshow Detail Page Generator?
It is built and maintained by XiongWang11 (@xiongwang11); the current version is v3.0.0.