Pre-release
This release is a pre-release and may not be stable for production use.
elizaos-plugin-elizacloud
Python implementation of the elizaOS Cloud plugin for multi-model AI generation.
Installation
pip install elizaos-plugin-elizacloud
Usage
import asyncio
from elizaos_plugin_elizacloud import (
ElizaCloudClient,
ElizaCloudConfig,
TextGenerationParams,
TextEmbeddingParams,
ImageGenerationParams,
)
async def main():
# Configure the client
config = ElizaCloudConfig(
api_key="eliza_xxxxx", # Get from https://www.elizacloud.ai/dashboard/api-keys
base_url="https://www.elizacloud.ai/api/v1",
)
async with ElizaCloudClient(config) as client:
# Text generation
text = await client.generate_text(
TextGenerationParams(prompt="What is the meaning of life?"),
model_size="large",
)
print(f"Generated text: {text}")
# Embeddings
embedding = await client.generate_embedding(
TextEmbeddingParams(text="Hello, world!")
)
print(f"Embedding dimension: {len(embedding)}")
# Batch embeddings
embeddings = await client.generate_embedding(
TextEmbeddingParams(texts=["Hello", "World", "!"])
)
print(f"Batch embeddings: {len(embeddings)}")
# Image generation
images = await client.generate_image(
ImageGenerationParams(
prompt="A beautiful sunset over the ocean",
count=1,
size="1024x1024",
)
)
print(f"Generated image URL: {images[0]}")
asyncio.run(main())
Features
- Text Generation: Small (fast) and large (powerful) model support
- Embeddings: Single and batch text embedding with rate limit handling
- Image Generation: DALL-E style image generation
- Image Description: Vision model for describing images
- Text-to-Speech: Multiple voice options
- Transcription: Whisper-based audio transcription
Configuration
| Setting | Description | Default |
|---|---|---|
api_key |
elizaOS Cloud API key (required) | - |
base_url |
Base URL for API requests | https://www.elizacloud.ai/api/v1 |
small_model |
Model for quick tasks | gpt-5-mini |
large_model |
Model for complex tasks | gpt-5 |
embedding_model |
Model for embeddings | text-embedding-3-small |
embedding_dimensions |
Embedding vector size | 1536 |
License
MIT
Metadata
Release files for elizaos-plugin-elizacloud 2.0.0a5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| elizaos_plugin_elizacloud-2.0.0a5.tar.gz | 36.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| elizaos_plugin_elizacloud-2.0.0a5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 74.3 kB
Release files / elizaos_plugin_elizacloud-2.0.0a5.tar.gz
| Download URL | elizaos_plugin_elizacloud-2.0.0a5.tar.gz |
|---|---|
| Size | 36.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3d1821ab1670eba0cd153e8211129bf42ccbf61d6556cf71e082ea2633095b08
|
|
BLAKE2b-256 checksum How to use checksums |
458ca9d79977adcae72701fdc1d16d5d2dc32c91f60a0a125eb6d9a96fca4dcc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.10
|
Release files / elizaos_plugin_elizacloud-2.0.0a5-py3-none-any.whl
| Download URL | elizaos_plugin_elizacloud-2.0.0a5-py3-none-any.whl |
|---|---|
| Size | 38.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
359f199bf2f9076a04fb01c135a5b4c712293505ebdd0da9a8caf3d35574aa6f
|
|
BLAKE2b-256 checksum How to use checksums |
138bedf91e2a27c4b584bba86e3f90256b823221b615ca10bec2e0a002520aac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.10
|