24 lines
594 B
JavaScript
24 lines
594 B
JavaScript
import {image} from 'apigo.cc/ai/huoshan'
|
|
|
|
function main() {
|
|
let a = image.image2image(image.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(["一个url"], "在吃冰淇淋", {
|
|
style_reference_args: {
|
|
id_weight: 1.0
|
|
}
|
|
})
|
|
return {
|
|
a: a,
|
|
b: b,
|
|
c: c
|
|
}
|
|
} |