API overview

Image and video tasks

Implemented OneAster APIs and their authentication contracts.

Task workflow

Read current task models, kind and specifications from GET /core/v1/task-models/public and check your Key permissions. Images and videos use POST /v1/tasks.

Creation returns202 and the original task id. Query GET /v1/tasks/{id} with the same valid Key. Download a settled successful PNG through GET /v1/tasks/{id}/content. Settled video details expose a temporary result link; video files are not archived.

Video input includes prompt, aspect_ratio, resolution and duration; valid combinations come from current specifications, not model-name guesses. Reference-image support must also be advertised in specifications.