File | Date | Author | Commit |
---|---|---|---|
.gitignore | 2025-08-27 |
![]() |
[35fc70] Initial commit |
LICENSE | 2025-08-27 |
![]() |
[35fc70] Initial commit |
README.md | 2025-08-28 |
![]() |
[1f34aa] Update README.md |
Roy.gif | 2025-08-27 |
![]() |
[edf608] Add files via upload |
launt.gif | 2025-08-27 |
![]() |
[5817cf] Add files via upload |
pix.png | 2025-08-28 |
![]() |
[387218] Add files via upload |
pix_gambar.png | 2025-08-28 |
![]() |
[387218] Add files via upload |
pixi.png | 2025-08-28 |
![]() |
[387218] Add files via upload |
pixx.png | 2025-08-28 |
![]() |
[387218] Add files via upload |
pip install pixai
pixai
PixAI adalah paket Python + CLI/GUI untuk membuat, mengelola lisensi, dan menyiapkan aset pixel art yang dihasilkan oleh AI serta lisensi karya AI bernama PixAI License.
kalian bisa melihat tata cara install dan langsung di gunakan yang sudah launching secara gratis dan kalian bisa kunjungi pada keterangan docs Royhtml
PixAI menghadirkan pipeline lengkap untuk:
Nama lisensi dan tool: PixAI.
graph TD
A[Prompt / Gambar Acuan] --> B[Generative Core]
B --> C[Guided Sampler]
C --> D[Pixel Refinement]
D --> E[Palette Quantization]
E --> F[Tileability & Outline]
F --> G[Export & Metadata]
G --> H[License Engine]
Pixel Refinement:
Downscale β nearest-neighbor ke target grid.
Palette Quantization:
KMeans/MedianCut β palet terbatas (8/16/32 warna) sesuai preset (NES/GB/SNES/Custom).
Tileability & Outline:
Seam-fix (wrap padding + Poisson-like blending pada grid) untuk tileset.
generator=PixAI
.function pixai_generate(prompt, size=64, palette="NES", colors=16, tileable=false, seed=None):
base = generative_model.sample(prompt=prompt, seed=seed, hi_res=True)
low = resample_nearest(base, target=(size,size))
clean = pixel_cleanup(low)
pal = choose_palette(preset=palette, n=colors)
quant = quantize_image(clean, palette=pal, dithering="floyd_steinberg")
if tileable:
quant = make_tileable(quant)
outlined = adaptive_outline(quant)
write_png_indexed(outlined, metadata={"generator":"PixAI","ai":true})
return outlined
Komponen | Minimal | Catatan |
---|---|---|
OS | Windows Xp / macOS / Linux (x64) | ARM64 didukung via Rosetta/Miniforge |
Python | 3.9+ | Disarankan 3.10/3.11 |
GPU | Opsional | CUDA/Metal/ROCm mempercepat generasi |
RAM | 2 GB+ | 16 GB disarankan untuk batch |
Disk | 2β10 GB | Model & cache |
Tanpa Node/Cordova/Android SDK. Semua dependensi adalah Python-native.
python --version
pip --version
pip install pixai
pixai
Perintah ini untuk menjalankan aplikasi kalian bisa mencobanya
# generate satu sprite
pixai generate \
--prompt "knight with red cape, side view, chibi" \
--size 64 \
--palette snes --colors 24 \
--outline 1 \
--out knight_64.png
# batch 32x32 tileset, tileable
pixai generate --prompt "mossy stone floor, topdown" \
--size 32 --tileable true \
--palette gb --colors 8 \
--grid 8x8 --out tileset_stone.png
# reproduksi hasil dengan seed
pixai generate --prompt "desert cactus small" --size 48 --seed 1234 --out cactus.png
--size {16|24|32|48|64|...}
--palette {nes|gb|snes|genesis|pico8|custom}
--colors <n>
(jumlah warna maksimum)--tileable true|false
--outline 0|1
(ketebalan outline 1px)--seed <int>
--grid AxB
(susun ke spritesheet)--out <file.png>
pixai gui
.LICENSE.txt
.pixai license init --type commercial --owner "Studio Contoh" --project "RPG-Alpha" --author "PixAI"
# menghasilkan LICENSE.txt + metadata XMP pada setiap ekspor
.gpl
/.txt
daftar RGB.none
, floyd_steinberg
.flags/mipmaps=false
, filter=nearest
.Filter Mode=Point (no filter)
, Compression=None
, Max Size
sesuai kebutuhan.PixAI License mengikat aset pixel art yang dihasilkan melalui tool ini. Pilih salah satu mode saat ekspor: Personal, Commercial, atau Exclusive.
"Pixel art generated with PixAI"
di credit.ai-generated=true
.Salin, lalu sesuaikan variabel di pixai
.
PixAI License v1.0
Project: PixAi
Owner: Dwi Bakti N Dev
Author/Tooling: PixAI (AI-generated)
Date: 27-08-2025
Rights are granted to use the listed pixel art assets according to the License Type above.
Restrictions
No unlawful, hateful, or infringing usage.
Attribution
Commercial/Exclusive: Recommended; may be omitted per project policy.
AI Disclosure & Metadata
Do not remove embedded XMP/EXIF tags identifying AI generation.
Exclusivity (Exclusive Only)
Exclusive license applies to assets listed by hash and is unique to the Owner.
Liability & Warranty
Provided "as is" without warranties; Owner responsible for compliance.
Governing Law
creator=PixAI
, generator=PixAI
, ai-generated=true
, license=<type>
.pixai_manifest.json
berisi daftar file + SHA256 untuk audit.Masalah | Penyebab Umum | Solusi |
---|---|---|
Lambat saat generate | Backend CPU | Aktifkan GPU (CUDA/Metal), kurangi resolusi/steps |
Warna meleber | Interpolasi salah | Pastikan ekspor nearest-neighbor, nonaktifkan resampling |
Palet tidak konsisten | Quantize berbeda antar batch | Kunci preset + --colors sama |
Tileset ada garis | Seam tidak tileable | Gunakan --tileable true + periksa wrap padding |
Metadata hilang | Editor menghapus XMP | Ekspor ulang via pixai export |
--init <file>
untuk image-to-pixel.palettes/
+ dokumentasi.Ringkasan Perubahan Besar: Semua instruksi Cordova/Android/Gradle dihapus. Diganti dengan panduan instalasi PixAI, algoritma generatif, pipeline pixel-art, lisensi baru, dan template
LICENSE.txt
.