FanRenderRequestData is the JSON structure encoded in the {hash} path segment of both the GET /render/fan and GET /render/album endpoints. It wraps an array of CardRenderRequestData objects and an optional composite-level cache key.
Fields
The cards to include in the render. Each element is a full
CardRenderRequestData object.Cards are rendered in parallel. For the fan layout they are rotated and fanned; for the album layout they are arranged in a grid. The order of elements determines the visual position of each card.If provided, the composite output image is saved to
../asset/public/render/{save_name}. On subsequent requests with the same save_name, the composite is served directly from disk without re-rendering.Individual cards within
cards may also carry their own save_name. Those cache the individual card renders separately and are applied before the composite is assembled. The top-level save_name on FanRenderRequestData is the cache key for the final composite image.Example
Shared struct
FanRenderRequestData is the same Rust struct for both the fan and album endpoints. The rendering layout (radial fan vs. grid) is determined by which endpoint you call, not by the payload.
Related
CardRenderRequestData— field reference for each element of thecardsarrayGET /render/fan— fan layout endpointGET /render/album— album grid endpoint