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