editai
EditAi (a play on "edita aí" and "Edit AI"). Renders retention-edited MP4s (9:16 1080x1920, or 16:9 at 1920x1080 or the source size; H.264, 30 fps) from footage, photos or screen recordings: picks a format template (text-only hook, POV with app screen, this-vs-that split screen, talking head with word captions), applies cataloged edit hooks (impact zoom, slow push, punch-in cut, hard cut, smooth take cut with J-cut and audio crossfade, pattern break, animated text, bold-word captions, fixed headline, speed ramp, B-roll, whoosh, hit, riser, music ducked under the voice, silence before the turn), adds automatic B-roll to a talking head (the client's own media matched to spoken words and animated cards from the local transcriber, placed off the face, the headline and the captions), cleans raw recorded speech by default with a measured cut (pauses, breaths, false starts and repeated takes out on waveform edges, emphasis kept, a "fit in N seconds" request, verified for words cut at the joins and retranscribed, optional denoise), plays a sermon, church service or any "no cuts" request whole and continuous (no pause removed, no punch-in, zoom or reframe, proved by a scene-cut check), burns captions one word at a time in white with a soft black shadow in a font the person supplies (kept in the project, never in the squad, with a declared fallback), reframes a 16:9 recording into 9:16 following the face, exports SRT and VTT, writes a JSON edit spec, renders it with ffmpeg and libass, and measures the result: platform safe zones on the real text bounding box, text size and dwell time, loudness at -14 LUFS, codec and frame rate. Ships a CC0 music (by mood) and sound-effect starter kit with per-item licenses and pulls the rest of the library on demand into a cache outside the squad, renders the same bytes from the same spec, batches text-on-screen hooks and talking heads, opens a local mini editor to change the headline and captions live, render a quick draft and finalize with QA, takes edit requests typed in plain words in that editor (quick commands applied by the engine, the rest served by the person's own Claude Code or Codex agent through a closed set of validated operations, no paid API) over a five-track timeline, runs a short guided briefing for any niche (0 to 5 clickable questions, a suggested plan, a saved profile per client), copies the editing style of a reference video into a style profile it applies, builds an optional Concat project to adjust by hand, and keeps the AI clip generation pipelines of nirvana-video-creator 6.0.0, each ending in the same retention edit pass.
EditAi
Português
Editar um vídeo curto que segura a atenção toma horas: cortar pausa e erro, legendar palavra por palavra, achar a música, encaixar B-roll, conferir se o texto não some atrás da interface do Reels. O EditAi faz esse trabalho no seu computador. Você manda o material e diz o que quer; ele devolve o MP4 editado, com o relatório do que mediu, e abre um mini editor para você pedir ajustes em português.
O nome vem de "edita aí" e de "Edit AI". É um squad do Nirvana-OS, versão 2.5.0.
Para quem
- Criador de conteúdo que grava falando para a câmera e quer publicar todo dia sem passar a noite na timeline.
- Social media e agência que editam para vários clientes, cada um com o seu estilo salvo.
- Negócio local (clínica, restaurante, loja, imobiliária) que grava no celular e quer um vídeo com cara de profissional.
Serve para qualquer nicho. Há perfis de partida para saúde e bem-estar, negócio local, infoproduto, e-commerce, imobiliário, marca pessoal e igreja.
O que faz
- Corte medido e limpeza: pausas, respirações, erros, falsos começos e repetições saem, com as bordas medidas na forma de onda. Uma frase repetida de propósito fica.
- Legenda palavra por palavra, sem os vícios de fala (ãh, hum) e escondida nas pausas.
- Headline fixa ou só nos primeiros segundos.
- 9:16 e 16:9, ou a proporção em que o vídeo foi gravado.
- Modo contínuo, para pregação, aula ou qualquer vídeo que precisa passar inteiro, sem corte.
- B-roll automático: a foto ou o vídeo do cliente entra quando a fala cita o assunto, e cards animados aparecem quando a fala diz um preço, um número, uma lista ou uma oferta.
- Música e efeitos CC0 escolhidos pelo clima, com a música abaixando sozinha sob a voz (ducking).
- Reframe que segue o rosto: uma gravação deitada vira vertical com a pessoa sempre no quadro.
- Mini editor com prévia, no navegador: em Você pede você escreve "tira essa pausa" ou "legenda maior", e em A IA edita aparece o que foi feito, com prévia e desfazer.
- Copiar estilo de um vídeo de referência: ritmo, zoom, posição do texto, legenda e volume da música viram um perfil que vale para os seus vídeos.
- Briefing guiado: ele pergunta só o que falta (de 0 a 5 perguntas), mostra o plano e pergunta "Posso editar?".
- QA medido: o texto é conferido contra as áreas seguras de cada plataforma e o áudio fecha em -14 LUFS.
- Sem chave de API para editar: quem atende os pedidos do mini editor é o agente que você já usa (Claude Code ou Codex).
Também vêm os pipelines de geração de vídeo com IA herdados do nirvana-video-creator, que terminam no mesmo passe de edição. Esses, sim, pedem as chaves dos serviços de geração.
Antes e depois
| Etapa | Editando na mão | Com o EditAi |
|---|---|---|
| Pausas e erros | ouvir o take inteiro e cortar um por um | corte medido na forma de onda, com a lista do que saiu e por quê |
| Legenda | transcrever, corrigir e sincronizar palavra por palavra | transcrição local, palavra por palavra, já sincronizada e sem vícios |
| Texto na tela | posicionar no olho e torcer para não cair atrás dos botões | posição medida contra as áreas seguras de Reels, TikTok e Shorts |
| B-roll | procurar a imagem e achar o segundo certo | a mídia do cliente entra na palavra citada; cards saem da própria fala |
| Música | escolher, baixar e ajustar o volume trecho a trecho | biblioteca CC0 por clima, abaixando sob a voz, mix em -14 LUFS |
| Outro formato | refazer a edição para 16:9 ou 9:16 | pedir o outro formato; na vertical, o reframe segue o rosto |
| Ajustes | voltar ao programa de edição | escrever o pedido no mini editor e ver a prévia |
| Conferência final | assistir de novo e confiar no olho | relatório de QA com o que passou e o que precisa de atenção |
Como funciona
material + o que você pediu
|
v
briefing guiado ........ pergunta só o que falta e mostra o plano
|
v
corte medido ........... limpa pausas, erros e repetições
|
v
edit spec (JSON) ....... template, legenda, headline, música, B-roll
|
v
render ................. ffmpeg + libass, no seu computador
|
v
QA medido .............. áreas seguras, tamanho do texto, -14 LUFS
|
v
mini editor ............ Você pede / A IA edita, prévia, aprovar
|
v
MP4 final na pasta DownloadsInstalar
Requisitos: Bun, ffmpeg com libass e Python para a legenda automática. O setup também usa o uv e o git para instalar o transcritor local; se algum faltar, ele diz como instalar e para.
cd ~ && squads add editai -y
cd ~/squads/editai && bun lib/edit-engine/cli.ts setup
nrv validate squad editai --fix
nrv activate editaiO squads add instala em
~/squads/editai
setup faz três coisas:
- Confere cada fonte, música e efeito do pacote. A CLI
squadsgrava todo arquivo como texto, o que estraga fonte e áudio. O setup baixa de novo, de uma fonte pública fixada e conferida pelo SHA-256, só o que chegou estragado. Rodar de novo não baixa nada. - Prepara o transcritor local, que faz a legenda automática, o medidor de estilo, os cards de B-roll e o corte medido. Na primeira vez ele baixa o modelo de fala (cerca de 1,6 GB); depois tudo roda sem internet. O setup nunca muda configuração do sistema: no Windows ele confere o Modo de Desenvolvedor e explica como ligar.
- Roda o
doctore mostra um resumo do que está pronto.
O nrv validate squad editai --fix recria um arquivo do Nirvana que a CLI squads não copia.
Primeiro uso em 3 passos
- Peça no chat, com o arquivo: "edita esse vídeo pro Reels" (o caminho do vídeo junto).
- Responda ao briefing. São no máximo 5 perguntas, clicáveis no Claude Code. Ele mostra o plano e pergunta "Posso editar?".
- Ajuste e finalize no mini editor. Peça o que quiser mudar em Você pede, aprove a prévia e clique em Finalizar: o MP4 vai para Downloads depois do QA.
O perfil do cliente e o estilo ficam salvos na pasta do seu projeto, então o próximo vídeo desse cliente já sai no mesmo estilo.
Compatibilidade
- Testado no Windows 10 e no macOS, em edições reais.
- Linux: o código é multiplataforma, mas ainda não foi testado lá.
- Runtime: testado no Claude Code. No Codex, os comandos do motor funcionam iguais, e o briefing vem como lista numerada em vez de perguntas clicáveis.
Créditos e licenças
- Música e efeitos: CC0, com autor e fonte de cada item em e
assets/music/CREDITS.md
.assets/sfx/CREDITS.md
- Fontes Anton e Inter: SIL OFL 1.1 ().
assets/fonts/
- O mini editor adapta código aberto sob licença MIT; os avisos de copyright estão nos arquivos de .
lib/edit-engine/preview/
- Deriva do
nirvana-video-creator6.0.0, de Luiz Gustavo Vieira Rodrigues (gutomec), por white label.
O que ele não faz
Transmissão ao vivo, avatar em tempo real, escrever os ganchos do roteiro e buscar música fora da biblioteca CC0 dele.
Documentação técnica
- : todos os comandos, o B-roll, o corte medido, o modo contínuo, a legenda, o mini editor, o editor com IA, o estilo de referência, o Concat, a biblioteca completa e o uso no Codex.
references/guia-tecnico.md
- : o que o setup confere no Windows.
references/windows-transcritor.md
CHANGELOG.md: o que mudou em cada versão.
English
Editing a short video that holds attention takes hours: cutting pauses and mistakes, captioning word by word, finding the music, fitting B-roll, checking that the text does not hide behind the Reels interface. EditAi does that work on your computer. You send the footage and say what you want; it returns the edited MP4 with a report of what it measured, and opens a mini editor where you ask for changes in plain words.
The name comes from the Portuguese "edita aí" ("go ahead, edit it") and from "Edit AI". It is a Nirvana-OS squad, version 2.5.0.
Who it is for
- Creators who talk to the camera and want to post every day without a night on the timeline.
- Social media managers and agencies editing for several clients, each with a saved style.
- Local businesses (clinic, restaurant, shop, real estate) that record on a phone and want a professional-looking video.
It fits any niche. Starting profiles cover health and wellness, local business, online courses, e-commerce, real estate, personal brand and church.
What it does
- Measured cut and cleanup: pauses, breaths, mistakes, false starts and repetitions go, with edges measured on the waveform. A sentence repeated on purpose stays.
- Word-by-word captions, without filler words (uh, um), hidden during pauses.
- Headline, fixed or only in the first seconds.
- 9:16 and 16:9, or the aspect the video was recorded in.
- Continuous mode, for a sermon, a lesson or any video that must play whole, with no cuts.
- Automatic B-roll: the client's photo or video comes in when the speech names it, and animated cards appear when the speech says a price, a number, a list or an offer.
- CC0 music and sound effects picked by mood, with the music ducking under the voice.
- Reframe that follows the face: a landscape recording becomes vertical with the person always in frame.
- Mini editor with preview, in the browser: in Você pede ("you ask") you type "remove this pause" or "bigger captions", and A IA edita ("the AI edits") shows what was done, with a preview and undo.
- Copy the style of a reference video: pace, zoom, text position, captions and music level become a profile applied to your videos.
- Guided briefing: it asks only what is missing (0 to 5 questions), shows the plan and asks before editing.
- Measured QA: text is checked against each platform's safe zones and the audio ends at -14 LUFS.
- No API key to edit: the mini editor's requests are served by the agent you already use (Claude Code or Codex).
It also keeps the AI video generation pipelines inherited from nirvana-video-creator, which end in the same edit pass. Those do need the generation services' keys.
Before and after
| Step | Editing by hand | With EditAi |
|---|---|---|
| Pauses and mistakes | listen to the whole take and cut one by one | cut measured on the waveform, with a list of what came out and why |
| Captions | transcribe, fix and sync word by word | local transcription, word by word, already in sync and without fillers |
| On-screen text | place it by eye and hope it misses the buttons | position measured against the Reels, TikTok and Shorts safe zones |
| B-roll | search for the image and find the right second | client media comes in on the word that names it; cards come from the speech |
| Music | pick, download and set the level stretch by stretch | CC0 library by mood, ducked under the voice, mixed at -14 LUFS |
| Another format | redo the edit for 16:9 or 9:16 | ask for the other format; in vertical, the reframe follows the face |
| Changes | go back to the editing program | type the request in the mini editor and watch the preview |
| Final check | watch again and trust your eye | QA report with what passed and what needs attention |
How it works
footage + what you asked for
|
v
guided briefing ........ asks only what is missing, shows the plan
|
v
measured cut ........... removes pauses, mistakes and repetitions
|
v
edit spec (JSON) ....... template, captions, headline, music, B-roll
|
v
render ................. ffmpeg + libass, on your computer
|
v
measured QA ............ safe zones, text size, -14 LUFS
|
v
mini editor ............ you ask / the AI edits, preview, approve
|
v
final MP4 in DownloadsInstall
Requirements: Bun, ffmpeg with libass, and Python for automatic captions. setup also uses uv and git to install the local transcriber; if one is missing it says how to install it and stops.
cd ~ && squads add editai -y
cd ~/squads/editai && bun lib/edit-engine/cli.ts setup
nrv validate squad editai --fix
nrv activate editaisquads add installs into
~/squads/editai
setup does three things:
- Checks every font, music track and effect in the package. The
squadsCLI writes every file as text, which damages fonts and audio. Setup downloads again, from a pinned public source checked by SHA-256, only what arrived damaged. Running it again downloads nothing. - Prepares the local transcriber, which handles automatic captions, the style meter, the B-roll cards and the measured cut. The first time it downloads the speech model (about 1.6 GB); after that everything works offline. Setup never changes system settings: on Windows it checks Developer Mode and explains how to turn it on.
- Runs
doctorand prints a summary of what is ready.
nrv validate squad editai --fix rebuilds a Nirvana file that the squads CLI does not copy.
First use in 3 steps
- Ask in the chat, with the file: "edit this video for Reels" (with the video's path).
- Answer the briefing. At most 5 questions, clickable in Claude Code. It shows the plan and asks before editing.
- Adjust and finish in the mini editor. Ask for any change in Você pede, approve the preview and click Finalizar: the MP4 goes to Downloads after the QA.
The client profile and the style are saved in your project folder, so the next video for that client comes out in the same style.
Compatibility
- Tested on Windows 10 and macOS, on real edits.
- Linux: the code is cross-platform but has not been tested there yet.
- Runtime: tested on Claude Code. On Codex the engine commands work the same, and the briefing comes as a numbered list instead of clickable questions.
Credits and licenses
- Music and sound effects: CC0, with the author and source of each item in and
assets/music/CREDITS.md
.assets/sfx/CREDITS.md
- Fonts Anton and Inter: SIL OFL 1.1 ().
assets/fonts/
- The mini editor adapts open-source code under the MIT license; the copyright notices are in the files of .
lib/edit-engine/preview/
- Derived from
nirvana-video-creator6.0.0 by Luiz Gustavo Vieira Rodrigues (gutomec), as a white label.
What it does not do
Live streaming, real-time avatars, writing the script hooks, and fetching music from outside its CC0 library.
Technical documentation
- : every command, B-roll, the measured cut, continuous mode, captions, the mini editor, the AI editor, reference style, Concat, the full library and use on Codex.
references/guia-tecnico.md
- : what setup checks on Windows.
references/windows-transcritor.md
CHANGELOG.md: what changed in each version.
Avaliações
0 avaliaçõesNenhuma avaliação ainda. Seja o primeiro a avaliar este squad!