Product copy generation
1. Introduction
Product Copy Generation is an AI-powered text service for creating e-commerce product content. By providing product information or existing copy, you can generate or rewrite product titles, highlights, search keywords, bullet points, and product descriptions. The service adapts the output to meet the content type and length requirements of your target platform.
The service supports both Chinese and English source content and offers optional multi-language translation. This makes it ideal for domestic product listings, cross-border e-commerce, and product copy localization. The API uses a synchronous call to process one content type for one product per request.
2. Use cases
Scenario | Description |
Same-platform localization | Select the |
Cross-platform content adaptation | Select a target platform to generate or rewrite content that adheres to its specific configurations. You do not need to specify the source platform. |
New product content creation | Select the |
Integration with batch processing tools | The caller submits requests on a per-product basis. The workflow does not have a native batch job or queuing interface. |
3. Features
3.1 Core capabilities
This service supports content creation for various e-commerce scenarios, including domestic and cross-border trade. It can generate content such as titles, bullet points, keywords, highlights, and product descriptions that are tailored to the rules (such as length requirements and writing style) of different platforms. The service also supports cross-language generation.
Content type | Platform | Target language | |||||
Amazon | Temu | TikTok | Shopify | Wildberries | Tmall | ||
title (Title) | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | Covers popular languages: Chinese (zh), English (en), Russian (ru), German (de), French (fr), Korean (ko), Italian (it), Thai (th), Arabic (ar), Turkish (tr), Hebrew (he), Ukrainian (uk), Polish (pl), Japanese (ja), Dutch (nl), Portuguese (pt), Spanish (es), Malay (ms), Bulgarian (bg), Indonesian (id), and Vietnamese (vi). |
highlight (Highlights) | ✓ | ✓ | |||||
bulletPoint (Bullet Points) | ✓ | ✓ | |||||
keywords (Keywords) | ✓ | ||||||
description (Product Description) | ✓ | ✓ | ✓ | ✓ | ✓ | ||
Based on the provided input, the service supports two generation modes:
Mode | Description | Use case |
Generate ( | Organizes and writes new copy based on product information. | Use this mode to create new copy, such as titles, keywords, or product descriptions, from product information like parameters, attributes, or selling points. |
Rewrite ( | Optimizes phrasing while preserving the original information and structure. | Use this mode to refine, improve, or localize existing product copy through translation. |
4. Examples
The following examples are for the Amazon platform.
Content type | Source language | Source content | Target language | Generated result | Benefits |
bulletPoint | en | [VERSATILE RESIN FILTRATION SYSTEM] This silicone funnel and metal filter mesh combination is designed for all 3D printing enthusiasts. It is ideal for pouring used photosensitive resin back into standard bottles with a 15mm neck width ensuring a clean transfer every time. The durable metal filter effectively catches all solidified debris protecting your valuable resin and extending its usability. | de | [Vielseitiges Harz-Filtersystem] Silikontrichter und Metallfiltergitter für 3D-Druck; Einfüllen von gebrauchtem lichtempfindlichem Harz in Flaschen mit 15 mm Halsweite | Extracts core selling points and key information, such as bottle neck size, and formats them as scannable German bullet points. |
description | en | [VERSATILE RESIN FILTRATION SYSTEM] This silicone funnel and metal filter mesh combination is designed for all 3D printing enthusiasts. It is ideal for pouring used photosensitive resin back into standard bottles with a 15mm neck width ensuring a clean transfer every time. The durable metal filter effectively catches all solidified debris protecting your valuable resin and extending its usability. | de | [Vielseitiges Harz-Filtrationssystem] Diese Kombination aus Silikontrichter und Metallfilternetz richtet sich an alle, die mit 3D-Druck arbeiten. Der flexible Silikontrichter passt sicher auf Standardflaschen mit einer Halsweite von 15 mm und ermöglicht ein sauberes Zurückfüllen von gebrauchtem lichtempfindlichem Harz ohne Kleckern. Das feine Metallfilter fängt verfestigte Partikel zuverlässig ab, sodass Ihr Harz frei von Verunreinigungen bleibt und seine Nutzbarkeit erhalten wird. Die robuste Konstruktion des Filters unterstützt eine gleichmäßige Durchflussrate beim Umfüllen. | Organizes the product's purpose, usage, and filtering features into a clear and coherent German description. |
highlight | en | [VERSATILE RESIN FILTRATION SYSTEM] This silicone funnel and metal filter mesh combination is designed for all 3D printing enthusiasts. It is ideal for pouring used photosensitive resin back into standard bottles with a 15mm neck width ensuring a clean transfer every time. The durable metal filter effectively catches all solidified debris protecting your valuable resin and extending its usability. | de | [Vielseitiges Harz-Filtrationssystem] Silikontrichter, Metallfilternetz, für 3D-Druck-Harz | Condenses long-form content, emphasizing core components and purpose to quickly grab attention. |
keywords | en | [VERSATILE RESIN FILTRATION SYSTEM] This silicone funnel and metal filter mesh combination is designed for all 3D printing enthusiasts. It is ideal for pouring used photosensitive resin back into standard bottles with a 15mm neck width ensuring a clean transfer every time. The durable metal filter effectively catches all solidified debris protecting your valuable resin and extending its usability. | de | Silikontrichter Metallfilter Harz Filterungssystem 3D Drucker Harz umfüllen Metall Sieb für Photosensitive Harze | Extracts German search terms related to material, category, and use case, reducing manual organization and translation effort. |
title | en | [VERSATILE RESIN FILTRATION SYSTEM] This silicone funnel and metal filter mesh combination is designed for all 3D printing enthusiasts. It is ideal for pouring used photosensitive resin back into standard bottles with a 15mm neck width ensuring a clean transfer every time. The durable metal filter effectively catches all solidified debris protecting your valuable resin and extending its usability. | de | Silikontrichter mit Metallfilter für 3D-Druck-Harz | Extracts the product name, core components, and purpose to generate a concise and clear German title. |
5. Quick start
For complete instructions on request signatures, SDK call examples for multiple languages like Java, Python, and Go, and online debugging, see Product Copy Generation API (OpenAPI Portal) on the Alibaba Cloud OpenAPI Developer Portal.
6. Development
6.1 Request parameters
Parameter | Type | Required | Description |
sourceText | String | Yes | Product information or the copy to be rewritten. Length: 20–3,000 characters. Example: Stainless steel steamer with glass lid. Diameter: 27cm. Package: 1 steamer. |
contentType | String | Yes | The content type. Valid values: |
productCategory | String | No | The product category. Defaults to an empty string. Length: 0–100 characters. In generate mode, this helps the model understand the category. In rewrite mode, it resolves ambiguity. Example: Kitchen cookware. |
productAttributes | String | No | Product attribute information. Defaults to an empty string. Length: 0–500 characters. Example: Material: stainless steel; Diameter: 27cm; Package: 1 steamer. |
operation | String | Yes | The operation type. |
enableTranslation | Boolean | No | Specifies whether to enable translation. Default: |
sourceLanguage | String | Yes | The source language. Valid values: Supported source languages: Chinese (zh), English (en). |
targetLanguage | String | conditionally required | Required when Supported target languages: Chinese (zh), English (en), Russian (ru), German (de), French (fr), Korean (ko), Italian (it), Thai (th), Arabic (ar), Turkish (tr), Hebrew (he), Ukrainian (uk), Polish (pl), Japanese (ja), Dutch (nl), Portuguese (pt), Spanish (es), Malay (ms), Bulgarian (bg), Indonesian (id), and Vietnamese (vi). |
platform | String | No | The target platform. Valid values: |
minLength | Number (integer) | No | The minimum character count for the final output. Must be an integer ≥ 10. If a platform is specified but this parameter is omitted, the platform's configured minimum length for the content type is used. |
maxLength | Number (integer) | No | The maximum character count for the final output. Must be an integer ≥ 30. If a platform is specified but this parameter is omitted, the platform's configured maximum length for the content type is used. Example: 60. |
bulletPointCount | Number (integer) | No | This parameter applies only when |
prompt | String | No | A custom prompt. Maximum length: 10,000 characters. |
Parameter Combination Notes:
When both custom and platform limits are applied, the requested maximum length cannot exceed the platform's maximum length.
Product information can be provided in multiple lines. When generating or rewriting bullet points (
bulletPoint), each line is treated as a single bullet point. The number of input lines must be between 1 and 5.The language of the product information must match the
sourceLanguage. Input that contains only numbers, symbols, or other content where the language cannot be identified may fail validation.
6.2 Request examples
Example 1: Generate and translate a title
This example generates a title from English product information for the Amazon platform. The final Russian title must not exceed 60 characters.
{
"sourceText": "LENO Ultra Slim Laptop Windows11 16GB 2TB SSD Intel 4405U",
"contentType": "title",
"operation": "generate",
"sourceLanguage": "en",
"targetLanguage": "ru",
"enableTranslation": true,
"platform": "amazon",
"maxLength": 60,
"productAttributes": "Memory: 16GB; Storage: 2TB SSD"
}Example 2: Rewrite bullet points
This example rewrites two English bullet points, maintaining the number of points and the bracketed subheading style. The total output text must not exceed 300 characters.
{
"sourceText": "[MATERIAL] Stainless steel body.\n[DESIGN] Glass lid.",
"contentType": "bulletPoint",
"operation": "rewrite",
"sourceLanguage": "en",
"enableTranslation": false,
"platform": "amazon",
"bulletPointCount": 2,
"maxLength": 300
}The \n character in the JSON string is parsed as a newline. If you submit a literal \n through a single-line form for bullet points, the service interprets it as a single newline. Other backslash escape sequences are not decoded.
6.3 Response parameters
Parameter | Type | Description |
requestId | String | The request ID, used for troubleshooting. This may be empty in rare, exceptional cases. |
success | Boolean | Indicates whether the business logic was processed successfully. |
errorCode | String | An empty string on success. For handled business failures, this uniformly returns |
errorMessage | String | An empty string on success. On failure, returns a description of the error. |
data | Object | The processing result. On success, this contains the copy data. On handled business failures, a fixed response is returned. |
data.contentType | String | The content type that was actually processed. |
data.text | String | The final copy. Generated keywords are separated by a comma and a space. Rewritten keywords are separated by spaces. Bullet points are separated by newlines. |
data.length | Number | The total character count of |
data.outputLanguage | String | The language code of the actual output. |
data.points | Array<String> | Returned only on successful processing of bullet points. Contains an array of the bullet point text in output order. |
data.pointLengths | Array<Number> | Returned only on successful processing of bullet points. Contains the character count for each point, corresponding to the |
6.4 Response example
The following is a sample response structure. The returned text is not fixed.
{
"data": {
"points": [],
"pointLengths": [],
"contentType": "title",
"length": 54,
"outputLanguage": "ru",
"text": "Чашка Для Мороженого Из Нержавеющей Стали 14,5x10,8 см",
"UsageMap": {
"OutputCharacterCount": 53,
"InputCharacterCount": 8408
}
},
"requestId": "01A15CE6-B450-1F13-A450-252961E0310B",
"errorMessage": "Success",
"errorCode": "success",
"success": true
}7. Error codes
Reference: Error Codes
Error code | Description |
DownstreamUnavailable | Returned due to a downstream algorithm-side issue. |
InvalidParameter | Returned due to invalid request parameters. |
8. Billing
Billing is based on the number of input characters you provide and output characters the model generates per API call.
Input characters: CNY 1.2 per 1 million characters
Output characters: CNY 3.5 per 1 million characters
9. Usage limits
Input length: The
sourceTextmust be between 20 and 3,000 characters. TheproductCategorycannot exceed 100 characters, andproductAttributescannot exceed 500 characters.Source language: Must be Chinese (
zh) or English (en).Target language: Required when translation is enabled. Supported languages include: Chinese (zh), English (en), Russian (ru), German (de), French (fr), Korean (ko), Italian (it), Thai (th), Arabic (ar), Turkish (tr), Hebrew (he), Ukrainian (uk), Polish (pl), Japanese (ja), Dutch (nl), Portuguese (pt), Spanish (es), Malay (ms), Bulgarian (bg), Indonesian (id), and Vietnamese (vi).
Platform: The selected content type and specified length must comply with the platform's built-in limits. Targeting country-specific sites is not supported.