---
title: Open Age Detection | Runware Docs
url: https://runware.ai/docs/models/open-age-detection
description: Facial age estimation model
---
# Open Age Detection

![Open Age Detection](https://assets.runware.ai/covers/open-age-detection.jpg)

Open Age Detection is a vision model that estimates the age of a person from a facial image. It uses a deep learning classifier trained on diverse face data to predict age categories or age ranges based on visual facial features.

- **Status**: live
- **ID**: `open-age-detection`
- Try in Playground
- **Release Date**: February 20, 2025
- **Zero Data Retention**: Yes
- **Capabilities**: Image to Text, Age Classification, Checkpoint

## Pricing

$0.0015 from, per run · ~4s per request

**Measured runs**

- 1024×1024 input: `$0.0015` (~2s)

**4 example generations**

- [caption](https://runware.ai/docs/models/open-age-detection/examples#example-alcohol-delivery-age-screening): `$0.0006` (~3s)
- [caption](https://runware.ai/docs/models/open-age-detection/examples#example-senior-esports-division-age-check): `$0.0006` (~4s)
- [caption](https://runware.ai/docs/models/open-age-detection/examples#example-newspaper-portrait-age-metadata): `$0.0006` (~4s)
- [caption](https://runware.ai/docs/models/open-age-detection/examples#example-luxury-campaign-casting-age-classification): `$0.0006` (~4s)

billed by compute time, so a request costs what it took · times vary, measured end to end · [How pricing works](https://runware.ai/docs/models-api/pricing)

## Request Parameters

**API Options**

Platform-level options for task execution and delivery.

### [taskType](https://runware.ai/docs/models/open-age-detection#request-tasktype)

- **Type**: `string`
- **Required**: true
- **Value**: `caption`

Identifier for the type of task being performed.

### [taskUUID](https://runware.ai/docs/models/open-age-detection#request-taskuuid)

- **Type**: `string`
- **Required**: true
- **Format**: `UUID v4`

UUID v4 identifier for tracking tasks and matching async responses. Must be unique per task.

### [webhookURL](https://runware.ai/docs/models/open-age-detection#request-webhookurl)

- **Type**: `string`
- **Format**: `uri`

Webhook URL that receives JSON responses via HTTP POST when generation tasks complete. For batch requests with multiple results, each completed item triggers a separate webhook call as it becomes available.

**Learn more** (1 resource):

- [Webhooks](https://runware.ai/docs/models-api/webhooks) (platform)

### [deliveryMethod](https://runware.ai/docs/models/open-age-detection#request-deliverymethod)

- **Type**: `string`
- **Default**: `sync`

Determines how the API delivers task results.

**Allowed values**:

- `sync` Returns results directly in the API response. Over HTTP, a task still running after 120 seconds continues as an async task and comes back with status 'processing'. Poll for its results using getResponse.
- `async` Returns an immediate acknowledgment with the task UUID. Poll for results using getResponse.

**Learn more** (1 resource):

- [Task Polling](https://runware.ai/docs/models-api/task-polling) (platform)

### [includeCost](https://runware.ai/docs/models/open-age-detection#request-includecost)

- **Type**: `boolean`

Include task cost in the response.

**Inputs**

Input resources for the task (images, audio, etc). These must be nested inside the \`inputs\` object.

### [image](https://runware.ai/docs/models/open-age-detection#request-inputs-image)

- **Path**: `inputs.image`
- **Type**: `string`
- **Required**: true

Image input (UUID, URL, Data URI, or Base64).

**Core Parameters**

Primary parameters that define the task output.

### [model](https://runware.ai/docs/models/open-age-detection#request-model)

- **Type**: `string`
- **Required**: true
- **Value**: `open-age-detection`

Send `auto` instead of an AIR identifier to have the model router choose the model for this task. The rest of the request is unchanged, every value you send is kept, and only the parameters you leave out are filled in. See [Model Router](https://runware.ai/docs/models-api/model-router).

**Learn more** (3 resources):

- [Text To Image: Model Selection](https://runware.ai/docs/learn/text-to-image#model-selection) (learn)
- [Image Inpainting: Model Specialized Inpainting Models](https://runware.ai/docs/learn/image-inpainting#model-specialized-inpainting-models) (learn)
- [Image Outpainting: Other Critical Parameters](https://runware.ai/docs/learn/image-outpainting#other-critical-parameters) (learn)

## Response Parameters

### [taskType](https://runware.ai/docs/models/open-age-detection#response-tasktype)

- **Type**: `string`
- **Required**: true
- **Value**: `caption`

Identifier for the type of task this response belongs to.

### [taskUUID](https://runware.ai/docs/models/open-age-detection#response-taskuuid)

- **Type**: `string`
- **Required**: true
- **Format**: `UUID v4`

UUID v4 identifier echoed from the original request, used to match async responses to their tasks.

### [cost](https://runware.ai/docs/models/open-age-detection#response-cost)

- **Type**: `float`

Task cost in USD. Present when `includeCost` is set to `true` in the request.

### [structuredData](https://runware.ai/docs/models/open-age-detection#response-structureddata)

- **Path**: `structuredData.ageGroup`
- **Type**: `object (2 properties)`
- **Required**: true

Machine-readable age classification data.

#### [ageGroup](https://runware.ai/docs/models/open-age-detection#response-structureddata-agegroup)

- **Path**: `structuredData.ageGroup`
- **Type**: `string`
- **Required**: true

Predicted age range of the subject (e.g. `13-20`).

#### [confidence](https://runware.ai/docs/models/open-age-detection#response-structureddata-confidence)

- **Path**: `structuredData.confidence`
- **Type**: `float`
- **Required**: true
- **Min**: `0`
- **Max**: `100`

Confidence score as a percentage.

## Examples

### caption (caption)

```
{
  "taskType": "imageCaption",
  "taskUUID": "6d471c6a-4e24-4b9c-ba0b-f6f980e6b821",
  "cost": 0.0006,
  "structuredData": {
    "ageGroup": "21-44",
    "confidence": 0.9927
  }
}
```

```json
{
  "taskType": "caption",
  "taskUUID": "6d471c6a-4e24-4b9c-ba0b-f6f980e6b821",
  "model": "runware:154@1",
  "inputs": {
    "image": "https://assets.runware.ai/assets/inputs/4a89e905-eeed-4832-b25f-170b4009ec3a.jpg"
  }
}
```

---

### caption (caption)

```
{
  "taskType": "imageCaption",
  "taskUUID": "e444f266-7379-4785-a70e-041bcaa0f2ad",
  "cost": 0.0006,
  "structuredData": {
    "ageGroup": "45-64",
    "confidence": 0.9409
  }
}
```

```json
{
  "taskType": "caption",
  "taskUUID": "e444f266-7379-4785-a70e-041bcaa0f2ad",
  "model": "runware:154@1",
  "inputs": {
    "image": "https://assets.runware.ai/assets/inputs/dc3aa6bf-74d9-4b44-b550-f599f8abbd4b.jpg"
  }
}
```

---

### caption (caption)

```
{
  "taskType": "imageCaption",
  "taskUUID": "fa829606-226b-4aa7-8583-cd9047ab1091",
  "cost": 0.0006,
  "structuredData": {
    "ageGroup": "65+",
    "confidence": 0.958
  }
}
```

```json
{
  "taskType": "caption",
  "taskUUID": "fa829606-226b-4aa7-8583-cd9047ab1091",
  "model": "runware:154@1",
  "inputs": {
    "image": "https://assets.runware.ai/assets/inputs/14b0cf77-e51d-4493-a370-9d777d39a97f.jpg"
  }
}
```

---

### caption (caption)

```
{
  "taskType": "imageCaption",
  "taskUUID": "670f9435-aedf-45ed-b124-099df7628aff",
  "cost": 0.0006,
  "structuredData": {
    "ageGroup": "65+",
    "confidence": 0.7163
  }
}
```

```json
{
  "taskType": "caption",
  "taskUUID": "670f9435-aedf-45ed-b124-099df7628aff",
  "model": "runware:154@1",
  "inputs": {
    "image": "https://assets.runware.ai/assets/inputs/15e35ed6-3bd0-491f-9886-a2a43253dd36.jpg"
  }
}
```