Loading...
Loading...
Compare original and translation side by side
attributeNameattributeValueattributeNameattributeValue| Parameter | Required | Description |
|---|---|---|
| productImageAnalysisPrompt | Yes | Natural language instruction describing what visual information to extract from the images. Be specific about the dimensions you want (color, material, shape, style, pendant type, etc.). |
| analyzeAdditionalImages | No | Whether to also analyze additional product images beyond the main image. Defaults to |
| refResultData | No | Reference data from a previous step, containing the product list to analyze. Must be a JSON string with a |
| userInput | No | Supplementary user input for additional context. |
| 参数 | 是否必填 | 描述 |
|---|---|---|
| productImageAnalysisPrompt | 是 | 描述需从图片中提取的视觉信息的自然语言指令。请明确指定所需维度(颜色、材质、形状、风格、吊坠类型等)。 |
| analyzeAdditionalImages | 否 | 是否同时分析主图之外的商品附图。默认值为 |
| refResultData | 否 | 来自上一步的参考数据,包含待分析的产品列表。必须是带有 |
| userInput | 否 | 用于补充额外上下文的用户输入。 |
| Goal | Example Prompt |
|---|---|
| Extract dominant color | "Analyze each product's main image and extract the primary color of the product" |
| Identify material | "From each product's main image, identify the apparent material (plastic, metal, wood, fabric, etc.)" |
| Classify pendant shape | "Analyze each product's main image and identify the shape of the pendant/charm (round, heart, star, etc.)" |
| Detect style | "Extract the overall style of each product from its main image (minimalist, vintage, bohemian, industrial, etc.)" |
| Reverse-engineer image prompt | "Based on the main image, infer the likely AI-generation prompt or visual description that could reproduce this image" |
| Multi-dimension extraction | "From each main image, extract both the dominant color and the overall product shape" |
| 目标 | 示例提示词 |
|---|---|
| 提取主色调 | “分析每个产品的主图,提取产品的主色调” |
| 识别材质 | “从每个产品的主图中,识别其表观材质(塑料、金属、木材、织物等)” |
| 分类吊坠形状 | “分析每个产品的主图,识别吊坠/挂饰的形状(圆形、心形、星形等)” |
| 检测风格 | “从每个产品的主图中提取整体风格(极简风、复古风、波西米亚风、工业风等)” |
| 反推图片提示词 | “基于主图,推断可生成该图片的AI生成提示词或视觉描述” |
| 多维度提取 | “从每张主图中,同时提取主色调和产品整体形状” |
references/api.mdscripts/multimodal_extract_attributes.pyreferences/api.mdscripts/multimodal_extract_attributes.pyattributeNameattributeValueattributeNameattributeValueproductsrefResultDataproductsrefResultData| User Says | Scenario |
|---|---|
| "What colors are these products" | Dominant color extraction |
| "Analyze the product images", "Look at the main photos" | General visual feature extraction |
| "What material does it look like" | Material identification |
| "What shapes/styles are popular" | Shape or style classification |
| "Reverse the image prompt", "What prompt made this image" | Image prompt reverse-engineering |
| "Group products by visual appearance" | Visual attribute grouping & statistics |
| "Extract features from the product photos" | Structured attribute extraction |
references/api.md| 用户表述 | 场景 |
|---|---|
| “这些产品都是什么颜色” | 主色调提取 |
| “分析产品图片”、“查看主图” | 通用视觉特征提取 |
| “看起来是什么材质” | 材质识别 |
| “流行的形状/风格有哪些” | 形状或风格分类 |
| “反推图片提示词”、“生成这张图的提示词是什么” | 图片提示词反推 |
| “按外观对产品分组” | 视觉属性分组与统计 |
| “从产品照片中提取特征” | 结构化属性提取 |
references/api.md