copyright (c) 2025 e-dream, inc
the project and application has generally been renamed from e-dream to infinidream. this module, however, has not yet been renamed, but it works fine with the current servers.
If you need to setup locally to test or run code, follow BUILD.md documentation.
Get an API key from your profile on the server, and store it in a .env file. Then connect as follows:
import os
from dotenv import load_dotenv
from edream_sdk.client import create_edream_client
load_dotenv()
edream_client = create_edream_client(
backend_url=os.getenv("BACKEND_URL", "https://api-alpha.infinidream.ai/api/v1"),
api_key=os.getenv("API_KEY")
)
user = edream_client.get_logged_user()
print(user)There's a file to test api client:
python tests/run.pythis file has an example of every API call.
Use the Quick Start.
Set DREAM_UUID (a processed video dream) and STILL_UUID (a processed image dream) in your .env. See .env.example.
python tests/gen.py --algo ltx-i2v # single algorithm
python tests/gen.py --all # smoke test every endpoint
python tests/gen.py --all --timeout 7200Available algorithms: animatediff, deforum, wan-t2v, wan-i2v, wan-i2v-lora, ltx-i2v, qwen-image, z-image-turbo, uprez, nvidia-uprez
For batch/playlist workflows see engines.
This Python SDK just wraps the servers' REST API. Its documentation is served by swagger on staging.