25 lines
590 B
JavaScript
25 lines
590 B
JavaScript
import {image} from "huoshan"
|
|
import u from "util"
|
|
|
|
function main() {
|
|
let a = image.image2image(u.base64(image.readImage("img_2.jpeg")), "在吃冰淇淋", {
|
|
style_reference_args: {
|
|
id_weight: 1.0
|
|
}
|
|
})
|
|
let b = image.image2image(image.readImage("img_2.jpeg"), "在吃冰淇淋", {
|
|
style_reference_args: {
|
|
id_weight: 1.0
|
|
}
|
|
})
|
|
let c = image.image2image([""], "在吃冰淇淋", {
|
|
style_reference_args: {
|
|
id_weight: 1.0
|
|
}
|
|
})
|
|
return {
|
|
a: a,
|
|
b: b,
|
|
c: c
|
|
}
|
|
} |