{"repo":"rohitaryal/imageFX-api","free":true,"listed":false,"github":"https://github.com/rohitaryal/imageFX-api","clone":"git clone https://github.com/rohitaryal/imageFX-api.git","description":"Unofficial reverse engineered free api for imageFX from labs.google","language":"TypeScript","stars":129,"topics":["ai","api","image","image-generation-ai","imagen","imagefx"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"imageFX-api (imagen) Unofficial free reverse engineered api for imageFX(imagen) service provided by labs.google Try live demo here. (Can be down) Installation Features 1. Text to image using IMAGEN 4 2. Image to text 3. Command line support Usage imagefx can be invoked through both command line and as a module. Command Line Make sure you have: 1. Installed imagefx globally (How to install?) 2. Obtained your google account cookies (How to get cookies?) 3. Set env variable GOOGLE COOKIE containing your cookie Bash: Command Prompt: Powershell: Basic Usages NOTE: If you are using environment variables, keep the quotes around cookie to avoid word-splitting and authentication errors. - Linux/macOS: \"$GOOGLE COOKIE\" - PowerShell: \"$env:GOOGLE COOKIE\" - Command Prompt: \"%GOOGLE COOKIE%\" - Generating image with prompt - Selecting a specific model - Selecting a specific aspect ratio - Saving to specific destination - You can also save image using its media id. - Generating prompt/caption using an image as reference. Full generation help: Full caption generation help: Full fetching help: Importing as module - Basic image generation - More descriptive prompt More examples are at: /examples Help How to extract cookies? Easy way 1. Install Cookie Editor extension in your browser. 2. Open labs.google, make sure you are logged in 3. Click on Cookie Editor icon from Extensions section. 4. Click on Export - Header String Manual way 1. Open labs.google, make sure you are logged in 2. Press CTRL","default_branch":null,"files":null,"tree":[],"storefront":"/r/rohitaryal","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/rohitaryal/imageFX-api/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}