This Firefox extension import of JSON requests into the Google AI Studio interface. It handles both text parts and base64-encoded files by simulating native UI interactions.

- Import text and files like your API do inside AI Studio.
- Firefox (not tested in chrome or chromium)
- Clone or download this repository.
- Open Firefox and navigate to
about:debugging. - Click "This Firefox".
- Click "Load Temporary Add-on...".
- Select the
manifest.jsonfile from the project directory.
The extension expects the standard generative API structure:
{
"contents": [
{
"parts": [
{"text": "Text prompt here"},
{"inline_data": {"mime_type": "image/png", "data": "BASE64_DATA"}}
]
}
]
}