Skip to main content

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

# Get Converso AI All Models
models = client.get_models()
print(models)

For Get tokens

# Get Remaining Tokens
tokens = client.get_tokens()
print(tokens)

For Generate image

# Generate Image
image_response = client.generate_image(prompt="A futuristic cityscape", model="model-id")
print(image_response)

For Get all generated images

# Get All Generated Images
images = client.get_generated_images()
print(images)

⚙ Project Structure

converso_ai/
├── converso_ai/
│   └── __init__.py        # Library code
├── pyproject.toml         # 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-1.0.1.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

converso_ai-1.0.1-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file converso_ai-1.0.1.tar.gz.

File metadata

  • Download URL: converso_ai-1.0.1.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.23

File hashes

Hashes for converso_ai-1.0.1.tar.gz
Algorithm Hash digest
SHA256 c4c321c32bdb868b62a89208f2722876d4f67e5dea7b0dd7e254a915bfb4d92b
MD5 018ad0ada9ef2cf2b630aab9e5d18adb
BLAKE2b-256 bf578df94fbfcd76bca3281403a297a92d2f2ebf885e258cf79bfe00556449af

See more details on using hashes here.

File details

Details for the file converso_ai-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: converso_ai-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.23

File hashes

Hashes for converso_ai-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7b5bb0bdd598c2d2a6a53e1888a0e616badf93af4a33ca75087abc72dd3c2ecf
MD5 99d28f928af1cbec5e17150851efe2d8
BLAKE2b-256 2aac7009dc09586cd24414265a57f623db5a1bc02e9dfb9f6877e19d0cde826c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page