---
title: "Run a AI Aging Generator task."
method: POST
path: "/s2s/v2.0/task/aging"
tags: ["V1.0"]
---

# Run a AI Aging Generator task.

`POST /s2s/v2.0/task/aging`

This endpoint initiates the aging generation process. You must provide a source file (via URL or File ID). The task will be processed asynchronously, and you can check its status using the task_id returned in this response.

## Request body

- union
  - object
    - `src_file_url` string, required — Url of the file to run task. The url should be publicly accessible.
  - object
    - `src_file_id` string, required — ID of file to run task. File ID from upload file API.

## Response `200`

Successful execution of the AI Aging Simulation task

- BasicRunTaskResponseV2
  - `status` integer — Response status
  - `data` object
    - `task_id` string — ID of this task. Task result is valid to query by this ID for 24 hours.

## Other responses

- `400` — Failed execution of task
- `401` — Invalid or missing API key
- `429` — Too many requests

---

[API](https://skmtc.dev/perfectcorp/apis/ai-aging-simulation.md) · [All operations](https://skmtc.dev/perfectcorp/apis/ai-aging-simulation/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/perfectcorp/ai-aging-simulation/revisions/f3b74f406079/schema)
