LlmKira / novelai-python

✨ NovelAI api python sdk, easy to use, modern and user-friendly.
Apache License 2.0
26 stars 0 forks source link

feat: Director Tools / imagetools #67

Closed sudoskys closed 3 months ago

sudoskys commented 3 months ago
 agent = AugmentImageInfer.build(
            req_type=request_type,
            image=image
        )
        # print(f"charge: {agent.calculate_cost(is_opus=True)} if you are vip3")
        # print(f"charge: {agent.calculate_cost(is_opus=False)} if you are not vip3")
        result = await agent.request(
            session=credential
        )

https://github.com/LlmKira/novelai-python/pull/67/files#diff-34af608a7b8adc93cb6d71a627a998fa9a4499bd99d183174a7249335d5b9109 sample