Mynth tasks represent asynchronous work. Every image generation request creates one task.Documentation Index
Fetch the complete documentation index at: https://docs.mynth.io/llms.txt
Use this file to discover all available pages before exploring further.
Status values
pendingcompletedfailed
Endpoints
GET /tasks/:id
Returns the full task object.
Authentication:
- requires your Mynth API key
- owner-only
- Public Access Tokens do not work here
GET /tasks/:id/status
Returns only:
- API key, or
- task-scoped Public Access Token
GET /tasks/:id/results
Returns:
- API key, or
- task-scoped Public Access Token
Full task shape
GET /tasks/:id returns the complete task object:
requestcontains the original generation parameters as submitted.resultcontains the resolved model, image results, and cost breakdown. This field is absent forpendingtasks andfailedtasks that did not reach generation.result.cost.magic_promptis optional metadata reserved for prompt-enhancement pricing details in alpha responses.result.prompt_enhanceis present when prompt enhancement was applied.result.size_autois present whensize: "auto"was used and Mynth selected a size.
Result image states
Each image result is either:succeededfailed
task.urls or task.getImages().