iArt.ai
AI motion graphics software — the After Effects alternative anyone can use. Create animations and explainer videos from a text prompt in minutes.
翻訳待ち
No updates detected yet. GitHub releases will appear here.
The maker's introduction consists of the line above. Read the repository README for more details. Repository README ↗
Loading the full README.
Read the full README ↗Plataforma de transcrição e ferramentas de IA (resumo, tradução, correção, etc.) — backend FastAPI + frontend estático.
imageio-ffmpeg no pip (não é obrigatório instalar manualmente)cd backend
py -m venv .venv
.\.venv\Scripts\Activate.ps1
pip install -r requirements.txt
copy .env.example .env
# Editar .env — ver variáveis obrigatórias abaixo
Ou gerar um .env de desenvolvimento:
.\.venv\Scripts\python.exe create_env.py
Variáveis obrigatórias em backend/.env:
| Variável | Descrição |
|---|---|
OPENAI_API_KEY | Chave da API OpenAI |
ADMIN_TOKEN | Token para backoffice e rotas admin |
API_TOKEN | Token para o frontend (transcrição / IA) |
BACKOFFICE_PASSWORD | Password do painel backoffice.html |
ALLOWED_ORIGINS | Origens CORS, ex.: http://127.0.0.1:5500,http://localhost:5500 |
Para desenvolvimento local, define também ENABLE_DEBUG_ENDPOINTS=true e APP_ENV=development.
cd backend
.\.venv\Scripts\Activate.ps1
uvicorn main:app --reload --host 127.0.0.1 --port 8000
Teste: http://127.0.0.1:8000/debug (só com ENABLE_DEBUG_ENDPOINTS=true)
Não uses file://. Serve os ficheiros com um servidor HTTP:
cd frontend
py -m http.server 5500
Abre: http://127.0.0.1:5500/index.html
O cliente js/ouviescrevi-api.js deteta localhost e liga automaticamente ao backend em http://127.0.0.1:8000.
backend/ API FastAPI (main.py, security.py)
frontend/ Site estático (index.html = página canónica)
frontend/archive/ Cópias legadas (index2, admin)
frontend/css/ Design system (ouviescrevi.css)
frontend/js/ Cliente API e utilitários UX
| Página | Função |
|---|---|
index.html | Transcrição e ferramentas integradas |
backoffice.html | Admin (manutenção, logs) |
resumo.html, corretor.html, … | Ferramentas de IA |
gerar-video.html | Vídeo com voz (gTTS — não precisa de OpenAI) |
index2.html, admin.html | Redirecionam para index.html |
PROJECT_AUDIT.md — auditoria técnicaNEXT_STEPS.md — plano de trabalhoBACKUP_NOTES.md — backups e rotação de segredosCHANGELOG.md — histórico de alterações# Health
curl http://127.0.0.1:8000/api/status
# Resumo (substituir TOKEN)
curl -X POST http://127.0.0.1:8000/summarize `
-H "Authorization: Bearer TOKEN" `
-H "Content-Type: application/json" `
-d "{\"text\":\"Olá mundo\",\"mode\":\"curto\"}"
Antes de expor publicamente:
ENABLE_DEBUG_ENDPOINTS=falseALLOWED_ORIGINS com os domínios reaisVer NEXT_STEPS.md e BACKUP_NOTES.md.