Skip to main content
Use generateImage with phaseo.imageModel(...).

Notes

  • Available size values depend on the selected model.
  • URL-backed gateway image responses are normalized into the AI SDK file output shape, so uint8Array and mediaType are the stable fields to read first.
  • For deterministic workflows, persist prompt + model + params together.
  • Prefer storing returned image metadata with asset references.
Last modified on July 26, 2026