Python client for Converso AI API
Project description
Converso AI Python Library
Converso AI - Python Library is a Python client for interacting with the Converso AI API.
🚀 Features
- Fetch available models
- Retrieve API tokens (requires API key)
- Generate images from text prompts (requires API key)
- Fetch previously generated images (requires API key)
📦 Installation
pip install converso-ai
💻 Example Usage
from converso_ai import ConversoAI
# Initialize client
client = ConversoAI(api_key="YOUR_API_KEY")
For Get Models
models = client.get_models()
print(models)
For Get tokens
tokens = client.get_tokens()
print(tokens)
For Generate image
image_response = client.generate_image(prompt="A futuristic cityscape", model="model-id")
print(image_response)
For Get all generated images
images = client.get_generated_images()
print(images)
⚙ Project Structure
converso_ai/
├── converso_ai/
│ └── __init__.py # Library code
├── setup.py # Package config
├── requirements.txt # Dependencies
├── README.md # This file
└── LICENSE # License file (optional)
📖 API Docs
Official API documentation: https://conversoai.stylefort.store
📝 License
MIT License. See LICENSE file for details.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
converso_ai-0.1.0.tar.gz
(3.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file converso_ai-0.1.0.tar.gz.
File metadata
- Download URL: converso_ai-0.1.0.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.23
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
caef1b728564d89f0ab894b877eaa51ce79c4c4878d98a5dc3fd2e4d34a37646
|
|
| MD5 |
f9bc69c459878a26de8d574c6a9b34be
|
|
| BLAKE2b-256 |
de29e38bb08e894cfc3d21c6eff9bb4a664717b0553343ea13c5b71dc2db7d07
|
File details
Details for the file converso_ai-0.1.0-py3-none-any.whl.
File metadata
- Download URL: converso_ai-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.23
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7b74dce05760bc507250b790f8b9c572b1df5d79a3c868c891b1ba74060c827d
|
|
| MD5 |
13c989b3ccb25f27b9becf62c3584700
|
|
| BLAKE2b-256 |
2624d588a7df69b62e7522f2f515b109ea942baff310885fc7237d5bd8028d2d
|