Shared Response Models
Describes the shared response schemas used in the Aether API.
JobIdResponse
Returned by all POST endpoints that create asynchronous jobs.
Schema
| Field | Type | Description |
|---|---|---|
job_id | string (UUID) | Unique identifier for the created job |
Example
{
"job_id": "550e8400-e29b-41d4-a716-446655440000"
}
Used By Endpoints
POST /public/v1/generate/imagePOST /public/v1/generate/effect/v1POST /public/v1/generate/effect/v2POST /public/v1/image-tune/upscale
GetJobStatusResponse
Returned by the job status retrieval endpoint.
Schema
| Field | Type | Required | Description |
|---|---|---|---|
job_id | string (UUID) | Yes | Unique identifier for the job |
status | string | Yes | Job status (Pending, Succeed, Failed) |
image_urls | array[string] | No | List of completed image URLs (only provided in Succeed status) |
Response Examples by Status
Pending
{
"job_id": "550e8400-e29b-41d4-a716-446655440000",
"status": "Pending",
"image_urls": []
}
Succeed
{
"job_id": "550e8400-e29b-41d4-a716-446655440000",
"status": "Succeed",
"image_urls": ["https://cdn.aetherforgeai.com/images/abc123.png"]
}
Failed
{
"job_id": "550e8400-e29b-41d4-a716-446655440000",
"status": "Failed",
"image_urls": []
}
Used By Endpoints
GET /public/v1/job/{job_id}
Related Documentation
- Asynchronous Job Lifecycle - How to poll for jobs
- Authentication - API authentication methods