Files
wehub-resource-sync 690333661e
Deploy Documentation / deploy (push) Failing after 1s
chore: import upstream snapshot with attribution
2026-07-13 12:19:21 +08:00

746 B

API Usage

Pixelle-Video provides a complete Python API for easy integration into your projects.


Quick Start

from pixelle_video.service import PixelleVideoCore
import asyncio

async def main():
    # Initialize
    pixelle = PixelleVideoCore()
    await pixelle.initialize()
    
    # Generate video
    result = await pixelle.generate_video(
        text="Why develop a reading habit",
        mode="generate",
        n_scenes=5
    )
    
    print(f"Video generated: {result.video_path}")

# Run
asyncio.run(main())

API Reference

For detailed API documentation, see API Overview.


Examples

For more usage examples, check the examples/ directory in the project.