Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flashyapi-1.0.9.tar.gz (2.0 kB view details)

Uploaded Source

Built Distribution

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

flashyapi-1.0.9-py3-none-any.whl (2.3 kB view details)

Uploaded Python 3

File details

Details for the file flashyapi-1.0.9.tar.gz.

File metadata

  • Download URL: flashyapi-1.0.9.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.2

File hashes

Hashes for flashyapi-1.0.9.tar.gz
Algorithm Hash digest
SHA256 539eed478b6c336acc030320e0416a9b21a29f7cf528d3591c1b86722f5d7f09
MD5 9d0e75ea528b941fb10393b8ee3b1566
BLAKE2b-256 2a1c9639d14f0adafa7f425095eac9f580c6ce8fc24ea625162c434f130d2573

See more details on using hashes here.

File details

Details for the file flashyapi-1.0.9-py3-none-any.whl.

File metadata

  • Download URL: flashyapi-1.0.9-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

Hashes for flashyapi-1.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 2709a1ead31593264d386f861ac2beb4c3deb735a5df0eec5a0ffa04e05b979f
MD5 81893558ff8b0bc7ac778af225fe8ebc
BLAKE2b-256 0e2c4770f907ff7380ddb65f50ba51e98153c5d639de53acfe6ffaaa3d6de216

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