# AI: generate a listing description

> Eto API reference for `POST /api/v1/ai/generate-description`. Base URL `https://eto.tools/api/v1/`. Authenticate with the `X-Eto-API-Key` header.

Part of the [Eto API reference](https://eto.tools/dev/docs/). The full reference in one file is at [llms-full.txt](https://eto.tools/dev/docs/llms-full.txt); the machine-readable schema is at [openapi.json](https://eto.tools/dev/docs/openapi.json).

## POST /api/v1/ai/generate-description

AI: generate a listing description

- Operation ID: `ai_generate_description`
- Slug: `ai-generate-description`
- Category: AI Studio
- Authentication: API key only. Reads or writes data Eto holds for your own account.
- HTML: https://eto.tools/dev/docs/#ep-ai-generate-description
- Markdown: https://eto.tools/dev/docs/ai-studio/ai-generate-description.md

Generate an Etsy listing description. Provide at least one of "keyword" or "title".

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `keyword` | body | `string` | no | Target keyword (keyword or title required) |
| `title` | body | `string` | no | Listing title (keyword or title required) |
| `features` | body | `array` | no | Array of product feature strings |
| `tone` | body | `string` | no | Tone (default "professional") |

### Request

```bash
curl -X POST "https://eto.tools/api/v1/ai/generate-description" \
  -H "X-Eto-API-Key: eto_your_key"
```

```python
import requests

url = "https://eto.tools/api/v1/ai/generate-description"
headers = {"X-Eto-API-Key": "eto_your_key"}

response = requests.post(url, headers=headers, timeout=120)
response.raise_for_status()
print(response.json())
```

```javascript
const url = "https://eto.tools/api/v1/ai/generate-description";

const response = await fetch(url, {
  method: "POST",
  headers: {
    "X-Eto-API-Key": "eto_your_key",
  },
});
if (!response.ok) throw new Error(`Eto API ${response.status}`);
const data = await response.json();
```

### Response

`application/json`. This endpoint has no worked response example in the registry yet; the [HTML reference](https://eto.tools/dev/docs/#ep-ai-generate-description) shows the fields it returns.

### Errors

Failures answer with the shared error body described in the Errors section: `{"error": {"code", "status", "message", "hint", "docs"}}`. Branch on `code`, not on the message.
