Skip to main content

Shared Response Models

Describes the shared response schemas used in the Aether API.

JobIdResponse​

Returned by all POST endpoints that create asynchronous jobs, except the sound endpoints (see AudioIdResponse).

Schema​

FieldTypeDescription
job_idstring (UUID)Unique identifier for the created job

Example​

{
"job_id": "550e8400-e29b-41d4-a716-446655440000"
}

Used By Endpoints​

  • POST /public/v1/generate/image
  • POST /public/v1/generate/effect/v1
  • POST /public/v1/generate/effect/v2
  • POST /public/v1/image-tune/upscale
  • POST /public/v1/image-tune/inpaint/v1
  • POST /public/v1/image-tune/inpaint/v2
  • POST /public/v1/image-tune/remove-background
  • POST /public/v1/image-tune/equip-variation
  • POST /public/v1/sprite/lite
  • POST /public/v1/sprite/plus
  • POST /public/v1/sprite/zenith
  • POST /public/v1/sprite/pulsar
  • POST /public/v1/sprite/pulsar-v2
  • POST /public/v1/sprite/nova

GetJobStatusResponse​

Returned by the job status retrieval endpoint.

Schema​

FieldTypeRequiredDescription
job_idstring (UUID)YesUnique identifier for the job
statusstringYesJob status (Pending, Succeed, Failed)
image_urlsarray[string]NoList 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}

AudioIdResponse​

Returned by the sound generation endpoints. Look up the result with GET /public/v1/audio/{audio_id}, not /job/{job_id}.

Schema​

FieldTypeDescription
audio_idstring (UUID)Unique identifier for the created sound

Example​

{
"audio_id": "7c9e6679-7425-40de-944b-e07fc1f90ae7"
}

Used By Endpoints​

  • POST /public/v1/generate/sound/sfx
  • POST /public/v1/generate/sound/bgm

GetAudioStatusResponse​

Returned by the audio status retrieval endpoint.

Schema​

FieldTypeRequiredDescription
audio_idstring (UUID)YesUnique identifier for the sound
statusstringYesStatus (Pending, Succeed, Failed)
audio_urlsarray[string]NoAudio file URLs (only provided in Succeed status)

Example (Succeed)​

{
"audio_id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
"status": "Succeed",
"audio_urls": ["https://cdn.aetherforgeai.com/audio/1f0e6a52-0c1d-4c55-9a8e-3c1b1d2a7f10.mp3"]
}

Used By Endpoints​

  • GET /public/v1/audio/{audio_id}