get_generation
Retrieve a generation record by its UUID to get finished image URLs and processing details. Use it to poll results and verify whether the generation succeeded or failed by checking the processing state.
Instructions
Fetch a generation by UUID (GET /api/gens/{uuid}/).
Args:
uuid: The UUID returned by ``generate``.
Returns:
The full generation record. If terminal, ``image_urls[]`` holds the
finished outputs and ``processing_result.slots[]`` the per-slot detail.
NOTE: a generation that failed server-side is a SUCCESSFUL tool call
returning ``processing_state: "failed"`` — always check the state,
never infer success from the absence of a tool error.
Hosted: a key obtained mid-session may be passed as
``_meta["maginary/api_key"]``.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uuid | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||