API Reference
Get Generation
Check the status and retrieve the result of an AI generation, including the output URL.
GET
Get the current status and result of a generation.Documentation Index
Fetch the complete documentation index at: https://docs.artificialstudio.ai/llms.txt
Use this file to discover all available pages before exploring further.
Headers
| Name | Type | Required | Description |
|---|---|---|---|
Authorization | string | Yes | Your API key |
Path Parameters
| Parameter | Type | Description |
|---|---|---|
id | string | The generation ID |
Response Fields
| Field | Type | Description |
|---|---|---|
id | string | Generation ID |
status | string | pending, processing, uploading, success, error |
tool | string | Tool used |
output | string | null | URL to generated media |
thumbnail | string | null | URL to thumbnail |
error | string | null | Error message if failed |
type | string | Media type: image, video, audio, text, object |
payload | object | Original request parameters |
createdAt | string | Creation timestamp |
Status Values
| Status | Description |
|---|---|
pending | Queued for processing |
processing | Generation in progress |
uploading | Uploading to storage |
success | Completed successfully |
error | Failed (see error field) |