Communitygithub.com

heyimjames/realistic-profile-pictures

Gera fotos de perfil e avatares realistas que não parecem gerados por IA, para maquetes de aplicativos, páginas de equipe/depoimentos, marketing, demonstrações e vídeos.

O que é realistic-profile-pictures?

Esta habilidade utiliza o mecanismo de prompts RealPFP e o modelo nano-banana-2 da fal.ai para produzir rostos humanos naturais e críveis, sem aspecto de IA. Ela evita os sinais típicos de geração por IA (aspecto ceroso, retoque perfeito) usando descrições positivas (poros visíveis, fonte de luz única, anatomia correta). Três estilos estão disponíveis: aspirational (polidos mas reais), profile (naturais para publicação), candid (estilo documental). A diversidade e a coerência das cenas (clima, luz, hora consistentes) estão incorporadas. O usuário deve fornecer sua própria chave de API fal.ai e pode gerar de 1 a 50 imagens pela linha de comando. Ideal para maquetes de aplicativos, páginas de depoimentos, marketing, demonstrações e vídeos, como alternativa a fotos de stock genéricas ou rostos gerados por IA pouco naturais. Não é permitido uso para suplantação de identidade.

Funciona comClaude Code~Codex CLICursorGemini CLI
npx skills add heyimjames/realistic-profile-pictures

Perguntar na sua IA favorita

Abre um novo chat com esta habilidade de agente já pré-carregada.

Documentação

Realistic Profile Pictures

Generate believable human faces that don't read as AI, for filling app mockups, website avatars/testimonials, marketing, demos, and video with real-looking people instead of uncanny AI output or the same three Unsplash faces.

Live product this is packaged from: realpfp.vercel.app · source: github.com/heyimjames/RealPFP

What makes it look real

The value isn't the API call, it's the prompt engine. Full detail in reference/prompt-principles.md; the short version:

  • Positive description beats negation. nano-banana-2 is a Gemini-family model with no negative-prompt field, so the engine describes what a real photo has (visible pores, one light source, a single catchlight, correct anatomy) rather than listing what to avoid, naming "plastic skin" to forbid it can summon it.
  • No "poison words" (flawless, perfect, radiant, stunning, 8k…), they trigger the beauty-filter look.
  • Anatomy clause with a "hide the hand rather than mangle it" fallback.
  • Three looks: aspirational (polished but real), profile (natural, postable), candid (gritty/documentary).
  • Diversity + coherent scenes (weather/light/time always agree) baked in.

Setup

Usage

Preview prompts first (no API calls, no cost):

node scripts/generate.mjs --count 3 --mode profile --dry-run

Generate images:

FAL_KEY=your_key node scripts/generate.mjs --count 6 --mode profile --out ./faces

Flags: --count N (1–50, default 4) · --mode aspirational|profile|candid (default profile) · --out DIR (default ./pfp-out) · --aspect 1:1 · --resolution 1K|2K · --dry-run.

Images save as pfp-01.png, pfp-02.png, … Generation runs 4-at-a-time to stay within fal.ai rate limits.

Notes

  • Curate the output. Even with the tuned prompts, image models slip occasionally (usually complex hand/arm poses), generate a few extra and pick the best, exactly how the hero images on realpfp.vercel.app were chosen.
  • Bring your own key. The key is only read from the environment for the API call; it's never stored.
  • This generates fictional people for design/marketing use, it is not for impersonation or headshots of a real person.

Habilidades Relacionadas