get_loras

Get list of all LORAs for StableDiffusion 1.x models

SDK Method

async def get_loras() -> list

Usage example

from VisionCraftAPI import VisionCraftClient

async def main():
    # Set your API key
    api_key = "YOUR_API_KEY"
    
    # Create a VisionCraftClient instance
    client = VisionCraftClient(api_key=api_key)
    
    # Get SD 1.X loras
    loras = await client.get_loras()
    print(loras)
    
if __name__ == '__main__':
    import asyncio
    asyncio.run(main())

For further information go to API Docs

Last updated