Skip to main content

prompt_personagem_ia

Projeto que gera uma ficha simples de composição de personagem

Made with Python license - MIT site - prazocerto.me linkedin - @marioluciofjr

Índice

Introdução

Este projeto é uma ferramenta em Python desenvolvida para gerar automaticamente prompts detalhados de personagens para inteligência artificial. Utilizando listas pré-definidas de atributos, o script cria descrições únicas combinando gênero, idade, tom de pele, penteado e poses variadas. Ideal para artistas e criadores que buscam inspiração rápida ou necessitam de referências visuais diversificadas para seus projetos, garantindo consistência e criatividade na geração de imagens com especificações técnicas definidas, tais como ângulo de câmera e proporção.

Estrutura do projeto

Para entender como tudo funciona, imagine que este projeto é um assistente criativo dividido em duas partes principais:

  • listas.py: Pense neste arquivo como um grande catálogo ou despensa. É aqui que guardamos todas as opções disponíveis para criar um personagem, como tipos de cabelo, tons de pele, roupas e poses. Ele não toma decisões, apenas armazena as informações que serão usadas.

  • prompt.py: Este é o "cérebro" da operação. Ele consulta o arquivo listas.py, sorteia aleatoriamente um item de cada categoria e organiza tudo em um texto coerente. É ele quem monta a "ficha" final do personagem que você receberá.

Como usar no Google Colab

Como o projeto está publicado no PyPI você só precisa seguir este passo a passo:

1 - Instale o projeto

!pip install -qU prompt-personagem-ia

2 - Importe o pacote necessário

from prompt import gerar_prompt

gerar_prompt()

[!IMPORTANT] Want to better understand this repository, but you don't speak Portuguese? Check out this complete tutorial: Codebase - prompt_personagem_ia

Tecnologias utilizadas

       

  • Python;
  • Antigravity.

Requisitos

Antes de começar, certifique-se de ter instalado:

Links úteis

Contribuições

Contribuições são bem-vindas! Se você tem ideias para melhorar este projeto, sinta-se à vontade para fazer um fork do repositório.

Licença

Este projeto está licenciado sob a licença MIT - veja o arquivo LICENSE para detalhes.

Contato

Mário Lúcio - Prazo Certo®

Metadata

Release files for prompt-personagem-ia 0.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for prompt-personagem-ia 0.1.5
File Size Uploaded Provenance
prompt_personagem_ia-0.1.5.tar.gz 6.6 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for prompt-personagem-ia 0.1.5
File Interpreter ABI Platform
prompt_personagem_ia-0.1.5-py3-none-any.whl Python 3 none any Details

Total release size: 13.8 kB

Release files / prompt_personagem_ia-0.1.5.tar.gz

Download URL prompt_personagem_ia-0.1.5.tar.gz
Size 6.6 kB
Tags Source
SHA-256 checksum
How to use checksums
381174d2fe228ea55f9cdf2a49df0c3ff6e1fbff530c492121fa75a86cbb81c3
BLAKE2b-256 checksum
How to use checksums
d93263dc7a75c1b91533d9be1b29513f453b1ea90efc5d1e7e057f87ea4af7ee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 11, 2026.

Transparency log

Release files / prompt_personagem_ia-0.1.5-py3-none-any.whl

Download URL prompt_personagem_ia-0.1.5-py3-none-any.whl
Size 7.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
faaae06e0ffdea7f5cbddc97a50ab0589cdfd3e2123bc2d17750248e50375afa
BLAKE2b-256 checksum
How to use checksums
6165af52e921af35f4f2ffa060a891786b486975c6b4e5ae63f38a41f205edf4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 11, 2026.

Transparency log

Security for prompt-personagem-ia 0.1.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for prompt_personagem_ia-0.1.5.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 11, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page