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.1.0rc1.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.1.0rc1-py3-none-any.whl (2.4 kB view details)

Uploaded Python 3

File details

Details for the file flashyapi-1.1.0rc1.tar.gz.

File metadata

  • Download URL: flashyapi-1.1.0rc1.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.1.0rc1.tar.gz
Algorithm Hash digest
SHA256 b6b3537fd25617863f7f21bee2a4ea5121b3fc70f9b40d027e4523fbd35e98c0
MD5 1d6bf56b835328033f089cb712739217
BLAKE2b-256 065cfefbd29456577bec4a214fde3c03a155f0a8f6a65d13052a0a8790fd7e6b

See more details on using hashes here.

File details

Details for the file flashyapi-1.1.0rc1-py3-none-any.whl.

File metadata

  • Download URL: flashyapi-1.1.0rc1-py3-none-any.whl
  • Upload date:
  • Size: 2.4 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.1.0rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 cc06a24071ef8501705f87ac7d32bd6d5d3d994da74ec5aee1cb89bc3680473e
MD5 e55e2646358511aa2bd12e3cf37ea265
BLAKE2b-256 3df0f87b027e28311df7c7bc1af5413eed5e9ad84449a51979a114a1308f241d

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