Skip to content
프로젝트

d60/picwish has 27 GitHub stars and 2 forks. GitHot measured 0 stars in 24 hours, 0 in 7 days, and 0 in 15 days. Last checked 2026-11-24 19:49 UTC. Last push 2025-07-06.

이 수치를 측정하는 방법

What you can do

  • ✅ AI Text-to-Image Generation: Create images from text prompts with customizable themes, sizes, and quality.
  • ✅ Image Enhancement: Improve image quality without watermark.
  • ✅ Background Removal: Remove background from images.
  • ✅ OCR (Optical Character Recognition): Extract text from images with support for multiple languages and various output formats.

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

소개

PicWish T2I, Photo Enhancer and Background Remover for Python

창작 및 미디어

README.md

Original

PicWish API for Python 🎨✨

Enhance, generate, and process images without tokens, accounts, and watermarks, and enjoy unlimited usage!

Features

  • ✅ AI Text-to-Image Generation: Create images from text prompts with customizable themes, sizes, and quality.
  • ✅ Image Enhancement: Improve image quality without watermark.
  • ✅ Background Removal: Remove background from images.
  • ✅ OCR (Optical Character Recognition): Extract text from images with support for multiple languages and various output formats.
  • ✅ Image Expansion: Expand images with AI.

Installation

To get started, install the picwish package using pip:

pip install picwish

Quick Examples 🚀

1. AI Text-to-Image Generation 🤖

Generate images based on a text prompt with customizable settings:

import asyncio
from picwish import PicWish, T2ITheme, T2IQuality, T2ISize

async def main():
    picwish = PicWish()

    # Generate images from text prompt
    results = await picwish.text_to_image(
        prompt='A girl',
        theme=T2ITheme.ANIME,
        size=T2ISize.FHD_1_1,
        batch_size=4,
        quality=T2IQuality.HIGH
    )

    for result in results:
        await result.download(f'{result.id}.png')

asyncio.run(main())

2. Image Enhancement

Enhance the quality of an image without a watermark:

import asyncio
from picwish import PicWish

async def main():
    picwish = PicWish()

    # Enhance an image
    enhanced_image = await picwish.enhance('/path/to/input.jpg')
    await enhanced_image.download('enhanced_output.jpg')

asyncio.run(main())

3. Background Removal

Remove the background from an image:

import asyncio
from picwish import PicWish

async def main():
    picwish = PicWish()

    # Remove background from an image
    background_removed_image = await picwish.remove_background('/path/to/input.jpg')
    await background_removed_image.download('background_removed_output.png')

asyncio.run(main())

4. OCR (Optical Character Recognition)

Extract text from images with support for multiple languages and output formats:

import asyncio
from picwish import PicWish, OCRFormat

async def main():
    picwish = PicWish()
    ocr_result = await picwish.ocr(
        'input.jpg',
        format=OCRFormat.TXT
    )
    print(await ocr_result.text())

    # -----------------
    # Download as PNG
    ocr_result = await picwish.ocr(
        'input.jpg',
        format=OCRFormat.PDF
    )
    print(await ocr_result.download('result.pdf'))

asyncio.run(main())

5. Image Expansion

import asyncio
from picwish import PicWish

async def main():
    picwish = PicWish()

    # Generate images from text prompt
    results = await picwish.expand(
        'input.jpg',
        horizontal_expansion_ratio=1.5,
        vertical_expansion_ratio=1.5
    )

    for i, result in enumerate(results):
        await result.download(f'{i}.png')

asyncio.run(main())

관련 프로젝트 살펴보기

불러오는 중…