jan/web-client/graphql/mutations/imageGeneration.graphql
hiento09 86f0ffc7d1
Chore/disable submodule (#56)
* Chore disable git submodule for web-client and app-backend

* Chore add newest source code of app-backend and web-client

---------

Co-authored-by: Hien To <tominhhien97@gmail.com>
2023-09-05 16:29:07 +07:00

24 lines
388 B
GraphQL

mutation generateImage(
$model: String = ""
$neg_prompt: String = ""
$prompt: String = ""
$seed: Int = 10
$steps: Int = 10
$width: Int = 512
$height: Int = 512
) {
imageGeneration(
input: {
model: $model
neg_prompt: $neg_prompt
prompt: $prompt
seed: $seed
steps: $steps
width: $width
height: $height
}
) {
url
}
}