A pip package to use ai model from FloxyLabs.eu with simple code
Project description
Usage
import FlashyAPI
# Non-streaming
FlashyAPI.generate(
apiKey="your-api-key",
model="model-name",
prompt="Your question here",
streaming=False
)
# Streaming
FlashyAPI.generate(
apiKey="your-api-key",
model="model-name",
prompt="Your question here",
streaming=True
)
Questions?
How to get a api key?
Join our discord and open a ticket and ask for a api key! https://discord.gg/Y6aVDdyfm7 You will get 5k Credits for free.
What happens to my prompts?
Your prompts will be send to a model from FloxyLabs.eu! All your data is secured.
What data will be published?
Your Used Model, Token Usage and Credit Usage will be saved to https://flashapi.floxylabs.eu/v1/activity
What are Credits?
Credits is the currency system from FloxyLabs. Its TOTAL_TOKENS x MODEL_MULTIPLIER = TOTAL_CREDITS
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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 flashyapi-1.0.8.tar.gz.
File metadata
- Download URL: flashyapi-1.0.8.tar.gz
- Upload date:
- Size: 1.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6c736ada80af8958f3ba8fc515b74819d634a82259e2054de923761605ae9547
|
|
| MD5 |
6da3c6367749afcf798028d9b8cde877
|
|
| BLAKE2b-256 |
b607dc154261cfb13404516e5f0d9db3760e5c5fddc4b7a59368d01e73169e0f
|
File details
Details for the file flashyapi-1.0.8-py3-none-any.whl.
File metadata
- Download URL: flashyapi-1.0.8-py3-none-any.whl
- Upload date:
- Size: 2.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3068beeef36a0243a231ea5e2bc18834853253ea0c122664a23147bbfc07fe90
|
|
| MD5 |
c1adb485913658fa545e2aeff300c974
|
|
| BLAKE2b-256 |
2ca3701ecaff800b38092e6fc5d1cf18fddc5ee251c6eace509a89c4d62b3507
|