Initial commit: Freepik REST API

FastAPI async wrapper for Freepik cloud AI API supporting image generation
(Mystic, Flux Dev/Pro, SeedReam), video generation (Kling, MiniMax, Seedance),
image editing (upscale, relight, style transfer, expand, inpaint), and
utilities (background removal, classifier, audio isolation). Includes async
task tracking with polling, Docker containerization, and Gitea CI/CD workflow.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-16 14:07:36 +01:00
commit 99c24adfe8
32 changed files with 1814 additions and 0 deletions

9
.env.example Normal file
View File

@@ -0,0 +1,9 @@
FP_FREEPIK_API_KEY=your-freepik-api-key-here
FP_FREEPIK_BASE_URL=https://api.freepik.com
FP_OUTPUT_DIR=/data/outputs
FP_TEMP_DIR=/data/temp
FP_MAX_UPLOAD_SIZE_MB=50
FP_TASK_POLL_INTERVAL_SECONDS=5
FP_TASK_POLL_TIMEOUT_SECONDS=600
FP_AUTO_CLEANUP_HOURS=24
FP_WEBHOOK_SECRET=