Lin / docs /architecture /7-external-api-integration.md
Zelyanoth's picture
feat: Add comprehensive architecture, product requirements, and sprint documentation, alongside initial frontend pages and components.
0f62534
# 7. External API Integration
### 7.1 FLUX.1-dev API
**Purpose:** High-quality image generation to replace current Qwen implementation
**Documentation:** Available through Hugging Face Spaces
**Base URL:** Hugging Face Space for FLUX.1-dev
**Authentication:** Using existing HUGGING_KEY environment variable
**Key Endpoints Used:**
- `POST /infer` - Image generation with parameters
**Error Handling:** Fallback to existing functionality if FLUX.1-dev fails