Get a generation result
deepy_get_resultFetch completed generation results and save full-resolution media locally. Inline small files for chat; stream large media without size limits; keep API keys private.
Instructions
Fetch a COMPLETED generation's result media. The server fetches the bytes with its own API key, saves the full-resolution file locally on the user's device and returns its path, and inlines small images/audio (base64) so they render in-chat. Videos and large media are streamed straight to the saved local file (never inlined as base64), so there is no practical size limit. Never exposes the API key or a raw URL.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | No | Result index (0-based). Defaults to 0. | |
| publicId | Yes | The publicId of a COMPLETED generation. |