# EAN code Product Description Generator - AI Product Content (`s-r/ean-code-product-description-generator---ai-product-content`) Actor

Generate SEO-optimized product descriptions from EAN barcodes in 22 languages. AI-powered content creation with customizable tone (professional, luxury, casual). Perfect for e-commerce catalogs, marketplace listings & product feeds. Includes title, descriptions, attributes & images.

- **URL**: https://apify.com/s-r/ean-code-product-description-generator---ai-product-content.md
- **Developed by:** [SR](https://apify.com/s-r) (community)
- **Categories:** AI, E-commerce, SEO tools
- **Stats:** 61 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $25.00 / 1,000 descriptions

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## EAN Product Content Generator

AI-powered product content generator that creates professional product descriptions from EAN codes in 22 languages.

### Input Configuration

The actor accepts the following input parameters:

```json
{
  "eanCodes": ["8710908919015", "3614272049529"],
  "targetLanguage": "en",
  "tone": "professional"
}
```

#### Parameters

- `eanCodes` (required): Array of EAN codes to process
  - Processes multiple EANs in a single run
  - Apify platform automatically handles usage limits based on your subscription
- `targetLanguage` (optional): Language for content generation (default: "en")
  - Supported: en, nl, de, fr, it, es, pt, sv, da, no, fi, pl, cs, hu, ro, bg, hr, sk, sl, et, lv, lt
- `tone` (optional): Tone of voice for generated content (default: "professional")
  - Options: professional, casual, luxury, technical, friendly, persuasive

### Output Format

The actor returns AI-generated content for each product:

```json
[
  {
    "ean": "8806094843439",
    "title": "Samsung Galaxy A14 128GB - Black",
    "brand": "Samsung",
    "category": "Electronics & Accessories > Cell Phones & Smartphones > Smartphones",
    "description": "The Samsung Galaxy A14 is a reliable smartphone that offers great value. With its ample 128GB storage, you'll have plenty of space for all your apps and photos. Consider this device for a seamless mobile experience without breaking the bank.",
    "longDescription": "Using the Samsung Galaxy A14 is a straightforward and satisfying experience. The large display makes it easy to browse, watch videos, and stay connected. Its user-friendly interface, coupled with dependable performance, ensures you can tackle daily tasks with ease.\n\nThis smartphone is perfect for students, young professionals, or anyone seeking a functional and affordable device. Its combination of practical features and solid performance makes it an excellent choice for staying connected on the go.",
    "productAttributes": "Operating System: Android\nStorage Capacity: 128GB\nColor: Black\nScreen Size: UNKNOWN\nProcessor: UNKNOWN\nRAM: UNKNOWN\nCamera Resolution: UNKNOWN\nBattery Capacity: UNKNOWN\nConnectivity: UNKNOWN\nModel: Galaxy A14",
    "images": [
      "https://example.com/product/image1.jpg",
      "https://example.com/product/image2.jpg",
      "https://example.com/product/image3.jpg",
      "https://example.com/product/image4.jpg",
      "https://example.com/product/image5.jpg"
    ]
  },
  {
    "ean": "0840080581354",
    "title": "Ring Video Doorbell Wired",
    "brand": "Ring",
    "category": "Electronics > Home Security > Video Doorbells",
    "description": "The Ring Video Doorbell Wired is a smart and effective way to enhance your home security. This video doorbell offers reliable motion detection and clear night vision for comprehensive monitoring. Its wired design ensures continuous power, eliminating battery concerns and providing constant peace of mind.",
    "longDescription": "Using the Ring Video Doorbell Wired is seamless and intuitive. The motion detection feature alerts you instantly to any activity at your doorstep, while the night vision ensures clarity even in low-light conditions. Installation is straightforward, and the wired connection guarantees uninterrupted operation, so you never miss a moment.\n\nThis doorbell is perfect for homeowners looking to upgrade their security without the hassle of battery changes. It's an excellent choice for those who want a reliable, always-on solution to monitor their property and stay connected to their home, no matter where they are.",
    "productAttributes": "Motion Detection: Yes\nNight Vision: Yes\nPower Source: Wired\nVideo Quality: HD\nField of View: 155° horizontal, 90° vertical\nConnectivity: Wi-Fi",
    "images": [
      "https://example.com/product/doorbell1.jpg",
      "https://example.com/product/doorbell2.jpg"
    ]
  }
]
```

#### Output Fields

- `ean`: The product's EAN code
- `title`: AI-generated product title
- `brand`: Product brand name
- `category`: Three-level category hierarchy
- `description`: Short 3-sentence product description
- `longDescription`: Detailed two-paragraph description
- `productAttributes`: Up to 10 key product attributes
- `images`: Array of product image URLs

### Features

- AI-powered content generation with customizable tone
- Multi-language support (22 European languages)
- Professional product descriptions optimized for e-commerce
- Automatic translation to target language
- Consistent output format across all products

# Actor input Schema

## `eanCodes` (type: `array`):

List of EAN codes to scrape product information for

## `targetLanguage` (type: `string`):

Language for content generation and labels

## `tone` (type: `string`):

Tone of voice for AI-generated content

## Actor input object example

```json
{
  "eanCodes": [
    "3614272049529",
    "8710908919015"
  ],
  "targetLanguage": "en",
  "tone": "professional"
}
```

# Actor output Schema

## `results` (type: `string`):

Dataset rows produced by this run.

## `output` (type: `string`):

OUTPUT record with the run's counts and status flags.

## `errors` (type: `string`):

Failures with a code and a redacted message. Absent when the run had none.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "eanCodes": [
        "3614272049529",
        "8710908919015"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("s-r/ean-code-product-description-generator---ai-product-content").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "eanCodes": [
        "3614272049529",
        "8710908919015",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("s-r/ean-code-product-description-generator---ai-product-content").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "eanCodes": [
    "3614272049529",
    "8710908919015"
  ]
}' |
apify call s-r/ean-code-product-description-generator---ai-product-content --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,s-r/ean-code-product-description-generator---ai-product-content"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/TBhwFmWEaH4enlgM2/builds/L2sUnltluQHwffGds/openapi.json
