Skip to main content

lfx-empiriolabs

EmpirioLabs as a standalone Langflow Extension Bundle.

Ships two components for EmpirioLabs:

  • EmpirioLabs — generates text using EmpirioLabs language models. EmpirioLabs exposes an OpenAI-compatible API (https://api.empiriolabs.ai/v1), so the component reuses langchain_openai.ChatOpenAI and can output either a Model Response (Message) or a Language Model (LanguageModel) for downstream components such as Agents.
  • EmpirioLabs Image Generation — generates an image from a text prompt via the EmpirioLabs OpenAI-compatible Images endpoint (POST /v1/images/generations).

Both components fetch the live model list from the EmpirioLabs /v1/models endpoint over requests, falling back to a bundled model list. This mirrors the existing OpenAI-compatible provider bundles (novita, cometapi).

Install

pip install lfx-empiriolabs

The bundle is registered automatically via the langflow.extensions entry-point. After install, restart your Langflow server; the components will appear in the palette under the EmpirioLabs group.

You will need an EmpirioLabs API key (https://empiriolabs.ai) to run the components. By default the components read it from the EMPIRIOLABS_API_KEY environment variable.

Develop

cd src/bundles/empiriolabs
pip install -e .
lfx extension validate src/lfx_empiriolabs

Migration

Saved flows referencing the legacy class names or the old import paths under lfx.components.empiriolabs.* are rewritten to the new namespaced IDs ext:empiriolabs:EmpirioLabsModelComponent@official and ext:empiriolabs:EmpirioLabsImageGenerationComponent@official by the migration table in src/lfx/src/lfx/extension/migration/migration_table.json.

Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

lfx_empiriolabs-0.1.1-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file lfx_empiriolabs-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: lfx_empiriolabs-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 8.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.31 {"installer":{"name":"uv","version":"0.11.31","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for lfx_empiriolabs-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a6a0856d3156f9c835d4bca78b6eb7328aecebace6eb6d8fde8d3d7ac3354285
MD5 01b59c8e397f3344dc30c623faa93af8
BLAKE2b-256 2ee08b7d8e014c8c7dd56b1bc76126709004210785b60f436968f50cb9d56e23

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 Sentry Error logging StatusPage Status page