Init branch, WIP
Needs new library to merge images
This commit is contained in:
@@ -134,13 +134,13 @@ exports.submitTextPromptTransaction = async (prompt, temperature, max_tokens, di
|
||||
pricePerImage = 800;
|
||||
break;
|
||||
default:
|
||||
log.DEBUG("256px defaulted");
|
||||
log.DEBUG("256px defaulted");
|
||||
pricePerImage = 800;
|
||||
break;
|
||||
}
|
||||
|
||||
if (!images_to_generate) images_to_generate = 1;
|
||||
if (!image_size) images_to_generate = "256x256";
|
||||
if (!image_size) image_size = "256x256";
|
||||
|
||||
totalTokensToBeUsed = pricePerImage * images_to_generate;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user