agentleFS
thiagoxikotathiagoxikota/ai-collective-content-lab/.claude/skills/gerar-imagem/SKILL.md

gerar-imagem

Skill1 starsChanged 28 days agoMITView on GitHub

Gera uma imagem a partir de texto usando fal.ai (Flux) e salva em assets/generated/. Use quando a pessoa disser "gera uma imagem de...", "cria uma imagem", "faz uma arte de...", "quero uma foto de...", "generate an image", "create an image of...", "make a picture of...".

  • Reads credentials

3 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions3 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 3

    1. Felpborges/pipeline-de-sites★ 17same name
    2. eumateusalex/Template-OS★ 0same name
    3. Guiair21/gerar-imagem-e-segunda-opiniao★ 0same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository4 other files it gives its agents.

The file

Files
SKILL.md

Gerar imagem (texto para imagem)

Transforma um prompt de texto numa imagem PNG/JPG salva em assets/generated/.

Quando usar

A pessoa quer uma imagem a partir de uma descricao. Exemplos de gatilho: "gera uma imagem de um por do sol em Floripa", "cria um logo minimalista", "faz um banner", "generate an image of a robot mascot".

Passo a passo

  1. Pegue a descricao da pessoa. Se estiver vaga, melhore com a skill prompt-de-imagem antes.
  2. Escolha o formato: vertical (padrao, bom para reel), horizontal ou square.
  3. Rode o comando abaixo com o prompt.
  4. Leia o caminho impresso e mostre para a pessoa. Diga que da para usar num video depois.

Comando exato

node scripts/generate-image.mjs "PROMPT AQUI" --aspect vertical

Formatos: --aspect vertical (1080x1920) | --aspect horizontal (1920x1080) | --aspect square (1080x1080). Modelo melhor (mais lento e mais caro): adicione --model fal-ai/flux/dev.

Exemplo real

Pessoa: "gera uma imagem de um por do sol em Floripa, estilo fotografico"

node scripts/generate-image.mjs "por do sol sobre o mar em Florianopolis, morros ao fundo, luz dourada, fotografico, alta qualidade" --aspect vertical

Saida: assets/generated/image-por-do-sol-sobre-o-mar-em-florianop-1782600000000.png

Observacoes

  • Precisa da FAL_KEY no arquivo .env. Sem chave, o script avisa o que fazer.
  • Modelo padrao: fal-ai/flux/schnell (rapido e barato, ~US$ 0,003 por imagem). Verificado em 2026-06-27.
  • A imagem fica em assets/generated/ e ja serve de entrada para a skill criar-video.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.