Appearance
Imagery
Imagery is a TypeScript library for image generation, image editing, and inpainting across OpenAI GPT Image and Google Gemini image models.
The library keeps provider differences visible. OpenAI supports pixel-mask inpainting. Google Gemini support targets the Gemini API and uses semantic inpainting in v1.
Streaming is out of scope for v1.
Install
Install the published npm package:
sh
pnpm add @rishabhbothra/imagery