Skip to content

REFUZIION/neural-love-py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Neural Love API Python Wrapper

This is a Python API wrapper for the neural.love API.

Features

  • Generate AI art.
  • Check order status.
  • Estimate generation cost.

Installation

Soon to be available on PyPI:

pip install neural-love-api

Usage

Create an instance of the API wrapper.

api = NeuralLoveAPI(api_key="your-api-key")

Generate art.

api.generate_art(
    prompt="a cat", 
    style="painting", 
    layout="square", 
    amount=1,
    is_hd=False,
    is_public=True
)

Check order status.

api.get_order_status(order_id="order-id")

Estimate generation cost.

api.estimate_cost(
    prompt="a cat", 
    style="painting", 
    layout="square", 
    amount=1,
    is_hd=False,
    is_public=True
)

Contributing

Pull requests are welcome.

About

Python wrapper for the neural.love API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages