Skip to content

Latest commit

 

History

History
42 lines (27 loc) · 932 Bytes

File metadata and controls

42 lines (27 loc) · 932 Bytes

Python Kandinsky API

Async Multi-Key AI Image Generator Kandinsky API

  • ⚡ Asynchronous requests
  • 🔑 Supports multiple API keys
  • 📊 Progress tracking
  • 🖼️ Automatic image saving with unique names
  • ⚙️ Configurable image size and count

Quick Start

  1. Install requirements

    pip install aiohttp tqdm
  2. Create keys.txt with your API keys (format: token:key)

    echo "YOUR_TOKEN:YOUR_KEY" > keys.txt
  3. Run the generator

    python main.py

Configuration

Edit these variables in main.py:

  • prompt - Your generation prompt
  • total_images_per_key - Images to generate per API key
  • output_dir - Output directory (default: "output")

Keywords

AI, image-generation, fusionbrain, kandinsky, python, async, api, bulk-processing, content-creation, dataset-generator, neural-networks, automation