generateImage with phaseo.imageModel(...).
Notes
- Available
sizevalues depend on the selected model. - URL-backed gateway image responses are normalized into the AI SDK file output shape, so
uint8ArrayandmediaTypeare the stable fields to read first. - For deterministic workflows, persist prompt + model + params together.
- Prefer storing returned image metadata with asset references.