Communitygithub.com

heyimjames/realistic-profile-pictures

Genera fotos de perfil y avatares realistas que no parezcan generados por IA, para maquetas de aplicaciones, páginas de equipo/testimonios, marketing, demos y vídeos.

¿Qué es realistic-profile-pictures?

Esta habilidad utiliza el motor de prompts RealPFP y el modelo nano-banana-2 de fal.ai para crear rostros humanos naturales y creíbles, sin aspecto de IA. Evita las señales típicas de generación por IA (aspecto ceroso, retoque perfecto) empleando descripciones positivas (poros visibles, fuente de luz única, anatomía correcta) en lugar de palabras prohibidas. Ofrece tres estilos: aspirational (pulido pero real), profile (natural y publicable) y candid (estilo documental), con diversidad y coherencia de escenas integrada. El usuario debe proporcionar su propia clave API de fal.ai y puede generar entre 1 y 50 imágenes mediante línea de comandos. Ideal para maquetas de aplicaciones, páginas de testimonios, marketing, demos y vídeos, como alternativa a las fotos de stock anticuadas o los rostros generados por IA poco naturales. No está permitido su uso para suplantación de identidad.

Compatible conClaude Code~Codex CLICursorGemini CLI
npx skills add heyimjames/realistic-profile-pictures

Preguntar en tu IA favorita

Abre un nuevo chat con esta habilidad de agente ya precargada.

Documentación

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.

Skills relacionados