This is a Python API wrapper for the neural.love API.
- Generate AI art.
- Check order status.
- Estimate generation cost.
Soon to be available on PyPI:
pip install neural-love-api
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
)
Pull requests are welcome.