{"library":"runware","title":"Runware Python SDK","description":"The Python Runware SDK provides a high-level interface to the Runware API for image and video generation, upscaling, captioning, background removal, and audio generation. It supports models from Runware's gallery and CivitAI, with ControlNet, inpainting, and outpainting. Current version: 0.5.10, requires Python >=3.10. Active development with regular releases.","language":"python","status":"active","last_verified":"Sat May 09","install":{"commands":["pip install runware"],"cli":null},"imports":["from runware import Runware"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import asyncio\nfrom runware import Runware\n\nasync def main():\n    runware = Runware(api_key=os.environ.get('RUNWARE_API_KEY', ''))\n    await runware.connect()\n    result = await runware.image_generation(\n        model=\"runware:100@1\",\n        positive_prompt=\"a beautiful landscape\",\n        number_of_images=1,\n        height=512,\n        width=512,\n    )\n    print(result)\n    await runware.disconnect()\n\nif __name__ == \"__main__\":\n    asyncio.run(main())","lang":"python","description":"Connect to the Runware API, generate an image, and print the result.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}