{"repo":"hirotomasato/leoapi","free":true,"listed":false,"github":"https://github.com/hirotomasato/leoapi","clone":"git clone https://github.com/hirotomasato/leoapi.git","description":"LeoAPI adalah backend FastAPI untuk image generation Leonardo AI dengan endpoint OpenAI-compatible, Admin Dashboard, Studio UI, Telegram bot, dan Cookie Pool berbasis full-cookie.","language":"Python","stars":10,"topics":[],"license":"MIT","category":"media-processing","readme_excerpt":"LeoAPI Status: Project ini masih dalam tahap pengembangan aktif (work in progress). Beberapa fitur, flow auth, dan endpoint dapat berubah sewaktu-waktu. LeoAPI adalah backend FastAPI untuk image generation Leonardo AI dengan endpoint OpenAI-compatible, Admin Dashboard, Studio UI, Telegram bot, dan Cookie Pool berbasis full-cookie. Fitur Utama Area Detail --- --- OpenAI-compatible endpoint POST /v1/images/generations Cookie Pool Multi-cookie rotasi + refresh profile/session Full-cookie auth Input utama wajib full cookie string, bukan JWT-only Auto refresh token JWT fallback di-refresh otomatis dari full cookie saat runtime Studio Dashboard Batch submit + polling job progress realtime Studio Prompt Builder Multiline draft, add/edit/delete, hidden preview item Studio UX Dark mode, sidebar rapi, compact lightbox preview Telegram Bot Enable/disable, token, allowlist chat IDs, test connection Auto save image Simpan hasil generation ke folder lokal (opsional) Persistensi SQLite di data/app.db Arsitektur Auth (Penting) 1. Request generation tetap menggunakan Bearer JWT. 2. Sumber utama auth adalah full cookie. 3. JWT fallback hanya dipakai jika valid, fresh, dan cocok token Leonardo. 4. Saat backend berhasil resolve JWT baru dari full cookie, fallback token disimpan ulang otomatis ke Cookie Pool. Tujuan alur ini: menghindari kondisi token cepat expired walau cookie login masih valid. Quick Start 1. Install uv 2. Install dependencies 3. Run server URL Penting Area Path --- --- Health ","default_branch":null,"files":null,"tree":[],"storefront":"/r/hirotomasato","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/hirotomasato/leoapi/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."}