🤔 What is this?
This is a lightweight script that automates the tedious task of setting model parameters in Google AI Studio. If you're tired of manually adjusting Temperature, Top-P, and other settings every time you open a prompt, this script is for you.
It applies your preferred settings automatically on page load, ensuring a consistent and efficient workflow.
✨ Key Features
- Fully Automatic: Sets your favorite
Temperature, Top-P, and Media Resolution the moment the page is ready.
- Easy to Configure: All settings are in a simple
CONFIG block at the top of the script. No coding knowledge needed to change them!
- Minimalist UI: A clean, modern status icon appears in the bottom-left corner to show the script's status (⏳ Loading, ✓ Success, ✗ Error) without getting in your way.
- Smart Focus Restore: After applying settings, the script automatically returns the cursor to the prompt input box so you can start typing immediately.
- Reliable: It's built to be robust, with multiple retry attempts to handle slow-loading pages.
🚀 How to Install
- Make sure you have a userscript manager like Tampermonkey installed.
- Click the big green "Install this script" button at the top of this page.
- Tampermonkey will open a new tab. Click "Install" again in that tab.
🔧 How to Configure
You can easily change the default settings to match your preferences.
- Open the Tampermonkey Dashboard from your browser's extensions menu.
- Click on the script name,
Google AI Studio - Auto Settings, to open the editor.
- Find the
CONFIGURATION section near the top of the file.
- Edit the values as you see fit.
Here is the part of the code you'll need to edit:
// ==================== CONFIGURATION ====================
const CONFIG = {
settings: {
temperature: 0.7, // Your desired Temperature
topP: 0.00, // Your desired Top-P
mediaResolution: 'Low' // 'Low' or 'High'
},
// ... other settings
};